Difference between revisions of "Template:Download"

From ICPWiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>{{#mediafullurl:fileicon-{{{3|{{#mediamimesub:{{{1}}}}}}}}.png }}[[Media:{{{1}}}|{{{2|{{{1}}}}}}]] ({{#mediasize:{{{1}}}}})<span class="plainlinks">[Media:{{{1}}} {{#mediafullurl:info_circle.png}}]</span></includeonly><noinclude>
+
<includeonly>{{#mediafullurl:fileicon-{{{3|{{#mediamimesub:{{{1}}}}}}}}.png }}[[Media:{{{1}}}|{{{2|{{{1}}}}}}]] ({{#mediasize:{{{1}}}}})<span class="plainlinks">[{{#fullurl:Media:{{{1}}}}} {{#mediafullurl:info_circle.png}}]</span></includeonly><noinclude>
 
This template can be used to include links to downloadable files.  
 
This template can be used to include links to downloadable files.  
 
   
 
   

Revision as of 18:23, 21 October 2010

This template can be used to include links to downloadable files.

Examples

  • {{Download|T1w.pdf}} {{#mediafullurl:fileicon-{{#mediamimesub:T1w.pdf}}.png }}T1w.pdf (108 KB)[{{#fullurl:Media:T1w.pdf}} {{#mediafullurl:info_circle.png}}]
  • {{Download|T1c.tgz|An archive|tar}} {{#mediafullurl:fileicon-tar.png }}An archive (1 KB)[{{#fullurl:Media:T1c.tgz}} {{#mediafullurl:info_circle.png}}]