Difference between revisions of "Template:FileLink"
Jump to navigation
Jump to search
(Use this for better portability) |
(Use canonicalurl) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>'''Makes a link to a page in the {{NS|File}}.'''<br/> | <noinclude>'''Makes a link to a page in the {{NS|File}}.'''<br/> | ||
− | Usage:<br/> | + | Usage example:<br/> |
− | {{t|<nowiki>{{FileLink| | + | {{t|<nowiki>{{FileLink|File:Example.pdf|Example Anchortext}}</nowiki>}}[[Category:Convenience Templates]] |
− | </noinclude><includeonly>[{{ | + | </noinclude><includeonly><span class="plainlinks">[{{canonicalurl:{{{1|}}}}} {{{2}}}]</span></includeonly> |
Latest revision as of 07:42, 2 January 2016
Makes a link to a page in the File: namespace.
Usage example:
{{FileLink|File:Example.pdf|Example Anchortext}}