Template:Download

From ICPWiki
Revision as of 10:07, 8 February 2013 by Olenz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

Usage

{{Download|filename|linktext|type}}

filename
The name of the file that can be downloaded.
linktext
The text of the link to the download.
type
Often, mediawiki cannot deduce the type of the file to be downloaded. In that case, pass the mimetype here.

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
  • {{Download|Bla}} Bla (file does not exist!)