Template:File link: Difference between revisions

(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|Marathon icon.svg}}</nowiki></code> :{{file link|Marathon icon.svg...")
 
m (Protected "Template:File link" ([Edit=Allow only CyberAcme staff] (indefinite) [Move=Allow only CyberAcme staff] (indefinite)))
 

Latest revision as of 09:42, June 4, 2024

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

Usage

{{file link|Marathon icon.svg}}

File:Marathon icon.svgMedia:Marathon icon.svg

{{file link|Marathon icon.svg|Marathon icon}}

Marathon iconMedia:Marathon icon.svg