Difference between revisions of "ScanboxItem"

From Sega Retro

 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{#ifeq: {{{1}}} | no | | <div style="display:inline-block; vertical-align:top; text-align:center; padding:4px">{{#ifeq: {{{top}}} | no | | <div style="text-align:right">[[File:{{{top}}}{{!}}50px]]</div>}}[[File:{{{1}}}{{!}}50x50px]]<div>{{{2|?}}}</div></div>}}</includeonly><noinclude>
+
<includeonly>{{#ifeq: {{#if: {{{1|}}} | {{{1}}} | no }} | no | | <div style="display:inline-block; vertical-align:top; text-align:center; padding:4px; max-width:{{#if:{{#var:scansizeoverride}}|{{#expr:{{#var:scansizeoverride}}*3}}|150}}px;">{{#if: {{{top|}}} | <div style="text-align:right; line-height:0px">[[File:{{{top}}}{{!}}{{d2w|{{{1}}}|{{{width|{{#if:{{#var:scansizeoverride}}|{{#var:scansizeoverride}}|50}}}}}|{{{height|{{#if:{{#var:scansizeoverride}}|{{#var:scansizeoverride}}|50}}}}}}}px]]</div> | }}{{#if: {{{back|}}} | [[File:{{{back}}}{{!}}{{{width|{{#if:{{#var:scansizeoverride}}|{{#var:scansizeoverride}}|50}}}}}x{{{height|{{#if:{{#var:scansizeoverride}}|{{#var:scansizeoverride}}|50}}}}}px]] | }}[[File:{{{1}}}{{!}}{{{width|{{#if:{{#var:scansizeoverride}}|{{#var:scansizeoverride}}|50}}}}}x{{{height|{{#if:{{#var:scansizeoverride}}|{{#var:scansizeoverride}}|50}}}}}px]]<div>{{{2|?}}}</div></div>}}</includeonly><noinclude>
 
See [[Template:Scanbox]] for usage.
 
See [[Template:Scanbox]] for usage.
[[Category:Sega Retro templates]]</noinclude>
+
[[Category:Templates]]</noinclude>

Latest revision as of 17:04, 1 January 2022

See Template:Scanbox for usage.