Difference between revisions of "Gitem"

From Sega Retro

 
(2 intermediate revisions by the same user not shown)
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|mov|mkv|avi|flv|mpg|wmv|mpeg={{#ifexist:File:{{{1|}}}|[[File:Video Placeholder.svg|120x120px|link={{#if:{{{link|}}}|{{{link|}}}|File:{{{1|}}}}}]]<!--to get it out of unusedfiles--><div style="display:none;">[[File:{{{1|}}}]]</div>|[[File:Video Placeholder.svg|120x120px|link=cdn:File:{{{1|}}}]]}}
+
|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|}}}}}
 
|{{#if:{{#var:galleryscreens}}{{{screen|}}}|{{Bobscreen|{{{1|}}}|width={{#if:{{{width|}}}|{{{width|}}}|{{#if:{{#var:gallerywidths}}|{{#var:gallerywidths}}|120}}}}|height={{{height|120}}}|forcewidescreen={{{forcewidescreen|}}}}}
Line 21: Line 21:
 
}}
 
}}
 
}}</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>
+
{{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}}

Latest revision as of 16:49, 20 July 2023

Sonic1 title.png
this is the title screen for sonic the hedgehog on mega drive
Sonic1 title.png

Expression error: Unexpected < operator. File:Mega UK 01.pdfFile:Mega UK 01.pdf

PDF
<div style="width:Expression error: Unexpected < operator.px; padding-left:2px; padding-top:5px; padding-right:2px;">Two pages from a UK magazine
<div style="width:Expression error: Unexpected < operator.px; padding-left:2px; padding-top:5px; padding-right:2px;">Five pages from a UK magazine
Rush titlescreen.png
sonic rush title screen
Rush titlescreen.png
File not defined.
[[File:]]

SMB3DS -SELLSHEET - ENGLISH.pdf

PDF
Sell sheet press release
SMB3DS -SELLSHEET - ENGLISH.pdf
Video Placeholder.svg

TaleSpin GG, Stage 1.png

The Jungle
TaleSpin GG, Stage 1.png