Template:File link: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
(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> == Info == 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}} <c...")
 
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
Use this template to link to files while also marking them as used, keeping them off of [[Special:UnusedFiles]].
Use this template to link to files while also marking them as used, keeping them off of [[Special:UnusedFiles]].


== Usage ==
== Examples ==
<code><nowiki>{{file link|Wiki.png}}</nowiki></code>
<code><nowiki>{{file link|Wiki.png}}</nowiki></code>
:{{file link|Wiki.png}}
:{{file link|Wiki.png}}


<code><nowiki>{{file link|Wiki.png|Pikipedia logo}}</nowiki></code>
<code><nowiki>{{file link|Wiki.png|Wiki logo}}</nowiki></code>
:{{file link|Wiki.png|Pikipedia logo}}
:{{file link|Wiki.png|Wiki logo}}


[[Category:Inline templates]]</noinclude>
[[Category:Inline templates]]</noinclude>

Latest revision as of 16:55, June 14, 2024


Info

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

Examples

{{file link|Wiki.png}}

File:Wiki.pngMedia:Wiki.png

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

Wiki logoMedia:Wiki.png