Template:Download link

From TSG Doc
Revision as of 17:19, 5 August 2026 by E.vandenberge (talk | contribs) (Created page with "⬇️{{#if:{{{media|}}}|[[Media:{{{media|}}}|{{{1|{{{media}}}}}}]]{{#if:{{{2|}}}|({{{2}}})}}|[{{{1}}} {{{description|{{{2}}}}}}]}}{{#if:{{{3|}}}|({{{3}}})}} }}<noinclude>{{do...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

⬇️[{{{1}}} {{{2}}}] }}

Template documentation[view] [edit] [history] [purge]

To be used with links that point directly to a downloadable file. This template will place an icon in front to differentiate download links from regular links, so users don't accidentally download anything.

Can be used with both internal and external files.

Usage

Wiki files

{{Download link|media=<file>|<description>|<extension>}}

file The file name of the uploaded file (what comes after Media: or File:).
description description to display instead of the filename.
extension file extension; will be displayed in brackets behind the link.

Examples

⬇️Placeholder.png }}

{{Download link|media=Placeholder.png}}

⬇️Placeholder image }}

{{Download link|media=Placeholder.png|Placeholder image}}

⬇️Placeholder image(png) }}

{{Download link|media=Placeholder.png|Placeholder image|png}}

External files

{{Download link|<url>|<description>|<extension>}}

url The full URL.
description description to display instead of the filename.
extension file extension; will be displayed in brackets behind the link.

Examples

⬇️{{{2}}} }}

{{Download link|https://tsgdoc.socsci.ru.nl/images/4/47/Placeholder.png}}

⬇️Placeholder image }}

{{Download link|https://tsgdoc.socsci.ru.nl/images/4/47/Placeholder.pngg|Placeholder image}}

⬇️Placeholder image(png) }}

{{Download link|https://tsgdoc.socsci.ru.nl/images/4/47/Placeholder.png|Placeholder image|png}}