Difference between revisions of "Filetag"

From Sega Retro

 
Line 14: Line 14:
 
}}
 
}}
 
}}
 
}}
{{#if:{{#var:fileused}}|<span style="display:none;">[[Media:{{#var:file}}]]</span>}}
+
{{#if:{{#var:fileused}}|<span style="display:none;">{{#switch:{{lc:{{fileext|{{#var:file}}}}}}|jpg|jpeg|png|gif=[[File:{{#var:file}}|120x120px]]|[[Media:{{#var:file}}]]}}</span>}}
 
|}
 
|}
 
</includeonly><noinclude>{{Filetag|image=SmokingPipe.png|text=Ceci n'est pas un modèle.}}
 
</includeonly><noinclude>{{Filetag|image=SmokingPipe.png|text=Ceci n'est pas un modèle.}}

Latest revision as of 17:56, 8 February 2020

SmokingPipe.png Ceci n'est pas un modèle.
File usage:

No results

This template is used as a base for file templates which are used on file pages. It contains code for generating file usage lists based upon the fileref cargo table.

Usage

{{Filetag
| image=
| text=
| imagesize=
| imagelink=
}}