Difference between revisions of "Gitem"

From Sega Retro

(because I can't see videos being fixed any time soon)
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|mov|mkv|avi|flv|mpg|wmv|mpeg={{#ifexist:File:{{{1|}}}|[[File:{{{1|}}}|120x120px{{#if:{{{link|}}}|{{!}}link={{{link|}}}}}]]|[[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|}}}}}]]|[[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|}}}}}

Revision as of 17:38, 26 October 2022

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

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
File not defined.

SMB3DS -SELLSHEET - ENGLISH.pdf

PDF
Sell sheet press release
Video Placeholder.svg
Video Placeholder.svg

TaleSpin GG, Stage 1.png

The Jungle