Difference between revisions of "Template:Download"

From ICPWiki
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly>{{#mediafullurl:fileicon-{{{3|{{#mediamimesub:{{{1}}}}}}}}.png }}[[Media:{{{1}}}|{{{2|{{{1}}}}}}]] ({{#mediasize:{{{1}}}}})<span class="plainlinks">[{{#mediafullurl:{{{1}}}}} {{#mediafullurl:info_circle.png}}]</span></includeonly><noinclude>
 
<includeonly>{{#mediafullurl:fileicon-{{{3|{{#mediamimesub:{{{1}}}}}}}}.png }}[[Media:{{{1}}}|{{{2|{{{1}}}}}}]] ({{#mediasize:{{{1}}}}})<span class="plainlinks">[{{#mediafullurl:{{{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.  
 
+
 
==Examples==
 
==Examples==
 
* <tt><nowiki>{{Download|T1w.pdf}}</nowiki></tt> {{Download|T1w.pdf}}
 
* <tt><nowiki>{{Download|T1w.pdf}}</nowiki></tt> {{Download|T1w.pdf}}
 
* <tt><nowiki>{{Download|T1c.tgz|An archive|tar}}</nowiki></tt> {{Download|T1c.tgz|An archive|tar}}
 
* <tt><nowiki>{{Download|T1c.tgz|An archive|tar}}</nowiki></tt> {{Download|T1c.tgz|An archive|tar}}
 
</noinclude>
 
</noinclude>

Revision as of 14:17, 30 April 2008

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

Examples

  • {{Download|T1w.pdf}} application_pdf.pngT1w.pdf (108 KB)Info circle.png
  • {{Download|T1c.tgz|An archive|tar}} tar.pngAn archive (1 KB)Info circle.png