Difference between revisions of "Scanbox"

From Sega Retro

Line 1: Line 1:
 
<includeonly><div style="display:inline-block; padding-right:8px; padding-bottom:8px; vertical-align:top;  ">
 
<includeonly><div style="display:inline-block; padding-right:8px; padding-bottom:8px; vertical-align:top;  ">
 
{| class="breakout" style="text-align:center; max-width:200px; height:240px;">
 
{| class="breakout" style="text-align:center; max-width:200px; height:240px;">
! {{#if: {{{console|}}} | '''{{{console}}}, ''' | }} {{#if: {{{region|}}} | '''{{{region}}}''' | }}
+
!style="border: 0px;"| {{#if: {{{console|}}} | '''{{{console}}}, ''' | }} {{#if: {{{region|}}} | '''{{{region}}}''' | }}
 
|-
 
|-
 
|align="center" style="border: 0px;"|{{#if: {{{cover|}}} | [[File:{{{cover}}}{{!}}{{#ifeq: {{{square}}} | yes | x80px | x120px }}]] | {{#if: {{{top|}}} | <span style="margin-left:{{{topmarginleft}}}px; line-height:0px;">[[File:{{{top}}}{{!}}{{{topbottomwidth}}}px]]</span><br/> | }}{{#if: {{{back|}}} | [[File:{{{back}}}{{!}}{{#ifeq: {{{square}}} | yes | x80px | x120px }}]] | }}{{#if: {{{spine|}}} | [[File:{{{spine}}}{{!}}{{#ifeq: {{{square}}} | yes | x80px | x120px }}]] | }}{{#ifeq: {{{spinemissing}}} | yes | {{#ifeq: {{{square}}} | yes | [[File:Nospine-small.png]] | [[File:Nospine.png]] }} | }}{{#if: {{{front|}}} | [[File:{{{front}}}{{!}}{{#ifeq: {{{square}}} | yes | x80px | x120px }}]] | }}{{#if: {{{spine2|}}} | [[File:{{{spine2}}}{{!}}{{#ifeq: {{{square}}} | yes | x80px | x120px }}]] | }}{{#if: {{{bottom|}}} | <br/><span style="margin-left:{{{bottommarginleft}}}px; line-height:0px;">[[File:{{{bottom}}}{{!}}{{{topbottomwidth}}}px]]</span><br/>  | }} | }}
 
|align="center" style="border: 0px;"|{{#if: {{{cover|}}} | [[File:{{{cover}}}{{!}}{{#ifeq: {{{square}}} | yes | x80px | x120px }}]] | {{#if: {{{top|}}} | <span style="margin-left:{{{topmarginleft}}}px; line-height:0px;">[[File:{{{top}}}{{!}}{{{topbottomwidth}}}px]]</span><br/> | }}{{#if: {{{back|}}} | [[File:{{{back}}}{{!}}{{#ifeq: {{{square}}} | yes | x80px | x120px }}]] | }}{{#if: {{{spine|}}} | [[File:{{{spine}}}{{!}}{{#ifeq: {{{square}}} | yes | x80px | x120px }}]] | }}{{#ifeq: {{{spinemissing}}} | yes | {{#ifeq: {{{square}}} | yes | [[File:Nospine-small.png]] | [[File:Nospine.png]] }} | }}{{#if: {{{front|}}} | [[File:{{{front}}}{{!}}{{#ifeq: {{{square}}} | yes | x80px | x120px }}]] | }}{{#if: {{{spine2|}}} | [[File:{{{spine2}}}{{!}}{{#ifeq: {{{square}}} | yes | x80px | x120px }}]] | }}{{#if: {{{bottom|}}} | <br/><span style="margin-left:{{{bottommarginleft}}}px; line-height:0px;">[[File:{{{bottom}}}{{!}}{{{topbottomwidth}}}px]]</span><br/>  | }} | }}
 
{{#if: {{{cover|}}} | <span align="center">Cover</span> | {{#if: {{{front|}}} | <span align="center">Cover</span> | {{#if: {{{back|}}} | <br><span align="center">Cover</span> | }} | }} | }}
 
{{#if: {{{cover|}}} | <span align="center">Cover</span> | {{#if: {{{front|}}} | <span align="center">Cover</span> | {{#if: {{{back|}}} | <br><span align="center">Cover</span> | }} | }} | }}
 
|-
 
|-
|align="center"| {{#if: {{{spinecard|}}} | <div style="display:inline-block; vertical-align:top; text-align:center; padding:4px">[[File:{{{spinecard}}}{{!}}50x50px]]<br>Spinecard</div> | }}{{
+
|align="center" style="border: 0px;"| {{#if: {{{spinecard|}}} | <div style="display:inline-block; vertical-align:top; text-align:center; padding:4px">[[File:{{{spinecard}}}{{!}}50x50px]]<br>Spinecard</div> | }}{{
 
#if: {{{cart|}}} | <div style="display:inline-block; vertical-align:top; text-align:center; padding:4px">[[File:{{{cart}}}{{!}}50x50px]]<br>Cart</div> | }}{{
 
#if: {{{cart|}}} | <div style="display:inline-block; vertical-align:top; text-align:center; padding:4px">[[File:{{{cart}}}{{!}}50x50px]]<br>Cart</div> | }}{{
 
#if: {{{disc|}}} | <div style="display:inline-block; vertical-align:top; text-align:center; padding:4px">[[File:{{{disc}}}{{!}}50x50px]]<br>Disc</div> | }}{{
 
#if: {{{disc|}}} | <div style="display:inline-block; vertical-align:top; text-align:center; padding:4px">[[File:{{{disc}}}{{!}}50x50px]]<br>Disc</div> | }}{{

Revision as of 09:10, 13 September 2013

Attention: This template is now automatically feeding data into the MySQL database via KwikiData. Please contact an administrator if you need to add/remove/rename/change any parameters. Changes to the appearance or documentation of the template should still be fine.

Usage

{{Scanbox
| console=
| region=
| cover= (if the cover is one piece, like DVD and Mega Drive cases)
| front= (otherwise)
| back=
| spine=
| spinemissing=
| square=
| spinecard=
| cart=
| disc=
| manual=
}}

Use square=yes for games with square-shaped boxes, such as Dreamcast, Game Boy Advance or Nintendo DS games.

For additional items, use:

| item1=
| item1name=
| item2=
| item2name=
| item3=
| item3name=
| item4=
| item4name=

Example

Mega Drive, US
Columns md us cover.jpg

Cover

Columns md us cart.jpg
Cart
Game Gear, US
TLDC GG US Box Back.jpgNospine.pngTLDC GG US Box Front.jpg

Cover

TLDC GG EU Cart.jpg
Cart
TLDC GG EU Cart.jpg
Cart
Xbox, US
PanzerDragoonOrta Xbox US Box.jpg

Cover

PanzerDragoonOrta Xbox US Disc.jpg
Disc
Dreamcast, US
EtDDotF DC US Box Back.jpgEtDDotF DC US Box Front.jpg

Cover

EtDDotF DC US disc.jpg
Disc