Template:Download link/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
To be used with links that | 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. | Can be used with both internal and external files. | ||
| Line 19: | Line 19: | ||
{{Download link|media=Placeholder.png|Placeholder image|png}} | {{Download link|media=Placeholder.png|Placeholder image|png}} | ||
<pre>{{Download link|media=Placeholder.png|Placeholder image|png}}</pre> | <pre>{{Download link|media=Placeholder.png|Placeholder image|png}}</pre> | ||
====File: links==== | |||
For linking to the File: page of a file that's uploaded to this wiki, you can use a regular internal link. This template is meant for links that directly open or download a file. | |||
Linking to a file's File: page can be useful, for instance if you want to show the file's older versions, or to make sure the user sees the licensing conditions. | |||
[[:File:Placeholder.png]] | |||
<pre>[[:File:Placeholder.png]]</pre> | |||
[[:File:Placeholder.png|Placeholder Image]] | |||
<pre>[[:File:Placeholder.png|Placeholder Image]]</pre> | |||
===External files=== | ===External files=== | ||
| Line 27: | Line 37: | ||
====Examples==== | ====Examples==== | ||
{{Download link|https://tsgdoc.socsci.ru.nl/images/4/47/Placeholder. | {{Download link|https://tsgdoc.socsci.ru.nl/images/4/47/Placeholder.png}} | ||
<pre>{{Download link|https://tsgdoc.socsci.ru.nl/images/4/47/Placeholder.png}}</pre> | <pre>{{Download link|https://tsgdoc.socsci.ru.nl/images/4/47/Placeholder.png}}</pre> | ||