Template:DownloadExt

From ICPWiki
Revision as of 11:38, 14 June 2013 by Dschwoerer (talk | contribs) (1 revision: Bib2SMW)
Jump to navigation Jump to search

This template can be used to include links to downloadable files that have not been uploaded to mediawiki but reside somewhere else.

Usage

{{DownloadExt|filename|linktext|type}}

filename
The name of the file that can be downloaded, in a folder specified in the LocalSettings.php
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

  • {{DownloadExt|slides01.pdf}}
  • {{DownloadExt|harting07a.pdf}}
  • {{DownloadExt|bla|test}}
  • {{DownloadExt|bla}}