Difference between revisions of "ScanboxTest"

From Sega Retro

Line 1: Line 1:
<includeonly><div align="center" style="display:inline-block; padding-right:8px; padding-bottom:8px; vertical-align:top; text-align:center; ">{{#ifeq: {{{square}}} | yes | {{#vardefine:coverheight|80}} | {{#vardefine:coverheight|120}} }}{{#vardefine:coverwidth|{{#if:{{{cover|}}}|{{h2w|{{{cover}}}|{{#var:coverheight}}}}|0}}}}{{#vardefine:frontwidth|{{#if:{{{front|}}}|{{h2w|{{{front}}}|{{#var:coverheight}}}}|0}}}}{{#vardefine:backwidth|{{#if:{{{back|}}}|{{h2w|{{{back}}}|{{#var:coverheight}}}}|0}}}}{{#vardefine:spinewidth|{{#if:{{{spine|}}}|{{h2w|{{{spine}}}|{{#var:coverheight}}}}|0}}}}{{#vardefine:spine2width|{{#if:{{{spine2|}}}|{{h2w|{{{spine2}}}|{{#var:coverheight}}}}|0}}}}{{#vardefine:nospinewidth|{{#if:{{{spinemissing|}}}|{{#if:{{{square|}}}|{{#mediawidth:Nospine-small.png}}|{{#mediawidth:Nospine.png}}}}|0}}}}{{#vardefine:topwidth|{{#var:frontwidth}}}}{{#vardefine:bottomwidth|{{#var:frontwidth}}}}{{#vardefine:topalign|{{#var:spine2width}}}}{{#vardefine:bottomalign|{{#var:spine2width}}}}
+
<includeonly><div align="center" style="display:inline-block; padding-right:8px; padding-bottom:8px; vertical-align:top; text-align:center; ">{{#ifeq: {{{square}}} | yes | {{#vardefine:coverheight|80}} | {{#vardefine:coverheight|120}} }}{{#vardefine:coverwidth|{{#if:{{{cover|}}}|{{h2w|{{{cover}}}|{{#var:coverheight}}}}|0}}}}{{#vardefine:frontwidth|{{#if:{{{front|}}}|{{h2w|{{{front}}}|{{#var:coverheight}}}}|0}}}}{{#vardefine:backwidth|{{#if:{{{back|}}}|{{h2w|{{{back}}}|{{#var:coverheight}}}}|0}}}}{{#vardefine:spinewidth|{{#if:{{{spine|}}}|{{h2w|{{{spine}}}|{{#var:coverheight}}}}|0}}}}{{#vardefine:spine2width|{{#if:{{{spine2|}}}|{{h2w|{{{spine2}}}|{{#var:coverheight}}}}|0}}}}{{#vardefine:nospinewidth|{{#if:{{{spinemissing|}}}|{{#if:{{{square|}}}|{{#mediawidth:Nospine-small.png}}|{{#mediawidth:Nospine.png}}}}|0}}}}{{#vardefine:topwidth|{{#var:frontwidth}}}}{{#vardefine:bottomwidth|{{#var:frontwidth}}}}{{#vardefine:topalign|{{#var:spine2width}}}}{{#vardefine:bottomalign|{{#var:spine2width}}}}{{#if:{{{topright|}}}|{{#vardefine:topalign|0}}{{addvar|topwidth|{{#var:spine2width}}}}|}}{{#if:{{{bottomright|}}}|{{#vardefine:bottomalign|0}}{{addvar|bottomwidth|{{#var:spine2width}}}}|}}{{#if:{{{topleft|}}}|{{addvar|topwidth|{{#var:spinewidth}}}}|}}{{#if:{{{bottomleft|}}}|{{addvar|bottomwidth|{{#var:spinewidth}}}}|}}
 
{| class="breakout" style="text-align:center;"
 
{| class="breakout" style="text-align:center;"
 
! style="border: 0px;" | {{#if: {{{title|}}} | '''{{{title}}}''' | {{#if: {{{console|}}} | '''{{{console}}}, ''' | }} {{#if: {{{region|}}} | '''{{{region}}}''' | }}}}
 
! style="border: 0px;" | {{#if: {{{title|}}} | '''{{{title}}}''' | {{#if: {{{console|}}} | '''{{{console}}}, ''' | }} {{#if: {{{region|}}} | '''{{{region}}}''' | }}}}

Revision as of 21:14, 18 May 2015