Template:File link

Revision as of 09:40, June 4, 2024 by Porplemontage (talk | contribs) (Created page with "<includeonly>{{#ifexist:File:{{{1}}}|[[:File:{{{1}}}{{#if:{{{2|}}}|{{!}}{{{2}}}}}]]<span style="display:none">}}[[Media:{{{1}}}{{#ifexist:File:{{{1}}}||{{!}}{{#if:{{{2|}}}|{{{2}}}|File:{{{1}}}}}}}]]{{#ifexist:File:{{{1}}}|</span>}}</includeonly><noinclude> Use this template to link to files while also marking them as used, keeping them off of Special:UnusedFiles. == Usage == <code><nowiki>{{file link|Wiki.png}}</nowiki></code> :{{file link|Wiki.png}} <code><nowiki>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Use this template to link to files while also marking them as used, keeping them off of Special:UnusedFiles.

Usage

{{file link|Wiki.png}}

File:Wiki.pngMedia:Wiki.png

{{file link|Wiki.png|Wiki logo}}

Wiki logoMedia:Wiki.png