Difference between revisions of "Filetag"
From Sega Retro
(Created page with "<includeonly>{|class="prettytable" align="center" style="width:80%;" !style="width:80px; height:80px; padding:16px;"| File:{{#if:{{{image|}}}|{{{image|}}}|Logo-pdf.svg}}|{{#...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{|class="prettytable" align="center" style="width:80%;" | <includeonly>{|class="prettytable" align="center" style="width:80%;" | ||
− | !style="width:80px; height:80px; padding:16px;"| [[File:{{#if:{{{image|}}}|{{{image|}}}|Logo- | + | !style="width:80px; height:80px; padding:16px;"| [[File:{{#if:{{{image|}}}|{{{image|}}}|Logo-file.svg}}|{{#if:{{{imagesize|}}}|{{{imagesize|}}}|64x64px}}|{{#if:{{{imagelink|}}}|link={{{imagelink|}}}}}]] |
|style=""| {{{text|}}} | |style=""| {{{text|}}} | ||
|- | |- | ||
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.}} | ||
Line 29: | Line 29: | ||
</pre> | </pre> | ||
− | [[Category: | + | [[Category:File page templates]]</noinclude> |