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: | + | |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 16:38, 26 October 2022
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