Difference between revisions of "Gitem"
From Sega Retro
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{clearvar|fileerror}}{{#ifeq:{{#mediawidth:{{{1|}}}}}|0|{{#vardefine:fileerror|1}}}}{{#iferror:{{#mediawidth:{{{1|}}}}}|{{#vardefine:fileerror|2}}|}}{{#if:{{{1|}}}||{{#vardefine:fileerror|3}}}}<div style="display:inline-block; vertical-align:top; margin-left:9px; margin-bottom:9px;"><div style="min-width:152px; min-height:152px; border:solid #C8CCD1 1px; display:block; text-align:center; padding:15px;">{{#vardefine:gwidth|152}}{{#switch:{{#var:fileerror}} | + | <includeonly>{{clearvar|fileerror}}{{#ifeq:{{#mediawidth:{{{1|}}}}}|0|{{#vardefine:fileerror|1}}}}{{#ifeq:{{#mediawidth:{{{1|}}}}}||{{#vardefine:fileerror|1}}}}{{#iferror:{{#mediawidth:{{{1|}}}}}|{{#vardefine:fileerror|2}}|}}{{#if:{{{1|}}}||{{#vardefine:fileerror|3}}}}<div style="display:inline-block; vertical-align:top; margin-left:9px; margin-bottom:9px;"><div style="min-width:152px; min-height:152px; border:solid #C8CCD1 1px; display:block; text-align:center; padding:15px;">{{#vardefine:gwidth|152}}{{#switch:{{#var:fileerror}} |
|1=[[:File:{{{1|}}}|Thumbnail error.]] | |1=[[:File:{{{1|}}}|Thumbnail error.]] | ||
|2=[[:File:{{{1|}}}|File missing.]][[Category:Gitem missing file]] | |2=[[:File:{{{1|}}}|File missing.]][[Category:Gitem missing file]] | ||
Line 12: | Line 12: | ||
}} | }} | ||
{{#ifeq:{{fileext|{{{1|}}}}}|pdf|<div style="color:#FFF; position:absolute; font-size:14px; background:red; width:32px; height:23px; bottom:0; right:0; pointer-events:none;">'''PDF'''</div>}} | {{#ifeq:{{fileext|{{{1|}}}}}|pdf|<div style="color:#FFF; position:absolute; font-size:14px; background:red; width:32px; height:23px; bottom:0; right:0; pointer-events:none;">'''PDF'''</div>}} | ||
− | </div>}}</div>{{#if: {{{2|}}} | <div style="width:{{#var:gwidth}}px; padding-left:2px; padding-top:5px; padding-right:2px;">{{{2}}}{{#var:fileerror}}</div> }}</div> | + | </div>}}</div>{{#if: {{{2|}}} | <div style="width:{{#var:gwidth}}px; padding-left:2px; padding-top:5px; padding-right:2px;">{{{2}}}<!--{{#var:fileerror}}--></div> }}</div> |
</includeonly><noinclude> | </includeonly><noinclude> | ||
{{gitem|Sonic1 title.png|this is the title screen for sonic the hedgehog on mega drive}} | {{gitem|Sonic1 title.png|this is the title screen for sonic the hedgehog on mega drive}} |
Revision as of 06:50, 8 May 2020
Two pages from a UK magazine
Five pages from a UK magazine
File not defined.