Template:DownloadExt

From ICPWiki
Revision as of 10:38, 14 June 2013 by Dschwoerer (talk | contribs) (1 revision: Bib2SMW)
Jump to: navigation, 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}} slides01.pdf (unknown file)
  • {{DownloadExt|harting07a.pdf}} harting07a.pdf (unknown file)
  • {{DownloadExt|bla|test}}test (unknown file)
  • {{DownloadExt|bla}}bla (unknown file)