Difference between revisions of "Gitem"
From Sega Retro
(cdn video support) |
|||
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <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}} | + | <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; display:table-cell; height:152px; vertical-align:middle;">{{#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 15: | Line 15: | ||
{{#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>}} | ||
<!-- Video thumbnail --> | <!-- Video thumbnail --> | ||
− | |mp4|mkv|avi={{#ifexist:File:{{{1|}}}|[[File: | + | |mp4|mov|mkv|avi|flv|mpg|wmv|mpeg={{#ifexist:File:{{{1|}}}|[[File:Video Placeholder.svg|120x120px|link={{#if:{{{link|}}}|{{{link|}}}|File:{{{1|}}}}}]]{{UseFile|{{{1|}}}}}|[[File:Video Placeholder.svg|120x120px|link=cdn:File:{{{1|}}}]]}} |
<!-- Any other thumbnail --> | <!-- Any other thumbnail --> | ||
+ | |{{#if:{{#var:galleryscreens}}{{{screen|}}}|{{Bobscreen|{{{1|}}}|width={{#if:{{{width|}}}|{{{width|}}}|{{#if:{{#var:gallerywidths}}|{{#var:gallerywidths}}|120}}}}|height={{{height|120}}}|forcewidescreen={{{forcewidescreen|}}}}} | ||
|[[File:{{{1|}}}|120x120px{{#if:{{{link|}}}|{{!}}link={{{link|}}}}}]] | |[[File:{{{1|}}}|120x120px{{#if:{{{link|}}}|{{!}}link={{{link|}}}}}]] | ||
− | }}</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> | + | }}</div>}}</div>{{#if: {{{2|}}} | <div style="width:{{#if:{{{width|}}}|{{{width|}}}px|{{#var:gwidth}}px}}; padding-left:2px; padding-top:5px; padding-right:2px;">{{{2}}}<!--{{#var:fileerror}}--></div> }}</div> |
+ | {{UseFile|{{{1|}}}}}</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}} | ||
{{gitem|Mega UK 01.pdf|page=10-11|Two pages from a UK magazine}} | {{gitem|Mega UK 01.pdf|page=10-11|Two pages from a UK magazine}} | ||
Line 29: | Line 31: | ||
{{gitem|The Zone (AU) s01e03 14-May-1994.mp4}} | {{gitem|The Zone (AU) s01e03 14-May-1994.mp4}} | ||
{{gitem|10Six PC US Trailer (1998).mp4}} | {{gitem|10Six PC US Trailer (1998).mp4}} | ||
+ | {{gitem|TaleSpin GG, Stage 1.png|The Jungle|screen=yes}} | ||
+ | {{clear}} | ||
+ | {{gitem|TaleSpin GG, Stage 1.png|width=320|height=240|screen=yes|'''SONIC IN EMERALD COAST'''<br>There's Amy and Knuckles behind Sonic. Will they be able to catch up?<br>'''Price:''' xx Rings}} | ||
+ | {{gitem|TaleSpin GG, Stage 1.png|screen=yes|'''SONIC IN EMERALD COAST'''<br>There's Amy and Knuckles behind Sonic. Will they be able to catch up?<br>'''Price:''' xx Rings}} | ||
<gallery> | <gallery> | ||
Sonic1 title.png|this is the title screen for sonic the hedgehog on mega drive | Sonic1 title.png|this is the title screen for sonic the hedgehog on mega drive | ||
</gallery> | </gallery> | ||
− | [[Category: | + | [[Category:Templates]] |
</noinclude> | </noinclude> |
Latest revision as of 13:43, 13 August 2024
Expression error: Unexpected < operator. File:Mega UK 01.pdfFile:Mega UK 01.pdf
PDF
Expression error: Unexpected < operator. File:Mega UK 01.pdfFile:Mega UK 01.pdfFile:Mega UK 01.pdfFile:Mega UK 01.pdfFile:Mega UK 01.pdf
PDF
File not defined.
The Jungle
SONIC IN EMERALD COAST
There's Amy and Knuckles behind Sonic. Will they be able to catch up?
Price: xx Rings
There's Amy and Knuckles behind Sonic. Will they be able to catch up?
Price: xx Rings
SONIC IN EMERALD COAST
There's Amy and Knuckles behind Sonic. Will they be able to catch up?
Price: xx Rings
There's Amy and Knuckles behind Sonic. Will they be able to catch up?
Price: xx Rings