Actions

Template

Difference between revisions of "Scanbox"

From Sonic Retro

Line 5: Line 5:
 
|align="center"| {{#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 }}]] | }}<br>Cover
 
|align="center"| {{#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 }}]] | }}<br>Cover
 
|-
 
|-
|align="center"| {{#if: {{{cart|}}} | <div style="display:inline-block; text-align:center; padding:4px">[[File:{{{cart}}}{{!}}50x50px]]<br>Cart</div> | }}{{
+
|align="center" style="border: 0px; text-align:center;"| {{#if: {{{spinecard|}}} | <div style="display:inline-block; vertical-align:top; text-align:center; padding:4px">[[File:{{{spinecard}}}{{!}}50x50px]]<br>Spinecard</div> | }}{{
#if: {{{disc|}}} | <div style="display:inline-block; text-align:center; padding:4px">[[File:{{{disc}}}{{!}}50x50px]]<br>Disc</div> | }}{{
+
#if: {{{cart|}}}{{{carttop|}}} | <div style="display:inline-block; vertical-align:top; text-align:center; padding:4px; {{#ifeq: {{{cartshared}}} | yes | opacity:0.5; | }}">{{#if: {{{carttop|}}} | [[File:{{{carttop}}}{{!}}50px]]<br> | }}[[File:{{{cart}}}{{!}}50x50px]]<br>Cart</div> | }}{{
#if: {{{manual|}}} | <div style="display:inline-block; text-align:center; padding:4px">[[File:{{{manual}}}{{!}}50x50px{{ #if: {{{manuallink|}}} | {{!}}link={{{manuallink}}} | }}]]<br>Manual</div> | }}{{
+
#if: {{{cartback|}}} | <div style="display:inline-block; vertical-align:top; text-align:center; padding:4px">[[File:{{{cartback}}}{{!}}50x50px]]<br>Cart</div> | }}{{
#if: {{{item1|}}} | <div style="display:inline-block; text-align:center; padding:4px">[[File:{{{item1}}}{{!}}50x50px]]<br>{{{item1name}}}</div> | }}{{
+
#if: {{{disc|}}} | <div style="display:inline-block; vertical-align:top; text-align:center; padding:4px; {{#ifeq: {{{discshared}}} | yes | opacity:0.5; | }}">[[File:{{{disc}}}{{!}}50x50px]]<br>Disc</div> | }}{{
#if: {{{item2|}}} | <div style="display:inline-block; text-align:center; padding:4px">[[File:{{{item2}}}{{!}}50x50px]]<br>{{{item2name}}}</div> | }}{{
+
#if: {{{disk|}}} | <div style="display:inline-block; vertical-align:top; text-align:center; padding:4px; {{#ifeq: {{{diskshared}}} | yes | opacity:0.5; | }}">[[File:{{{disk}}}{{!}}50x50px]]<br>Disk</div> | }}{{
#if: {{{item3|}}} | <div style="display:inline-block; text-align:center; padding:4px">[[File:{{{item3}}}{{!}}50x50px]]<br>{{{item3name}}}</div> | }}{{
+
#if: {{{manual|}}} | <div style="display:inline-block; vertical-align:top; text-align:center; padding:4px; {{#ifeq: {{{manualshared}}} | yes | opacity:0.5; | }}">[[File:{{{manual}}}{{!}}50x50px]]<br>Manual</div> | }}{{
#if: {{{item4|}}} | <div style="display:inline-block; text-align:center; padding:4px">[[File:{{{item4}}}{{!}}50x50px]]<br>{{{item4name}}}</div> | }}{{
+
#if: {{{item1|}}} | <div style="display:inline-block; vertical-align:top; text-align:center; padding:4px">[[File:{{{item1}}}{{!}}50x50px]]<br>{{{item1name}}}</div> | }}{{
#if: {{{item5|}}} | <div style="display:inline-block; text-align:center; padding:4px">[[File:{{{item5}}}{{!}}50x50px]]<br>{{{item5name}}}</div> | }}{{
+
#if: {{{item2|}}} | <div style="display:inline-block; vertical-align:top; text-align:center; padding:4px">[[File:{{{item2}}}{{!}}50x50px]]<br>{{{item2name}}}</div> | }}{{
#if: {{{item6|}}} | <div style="display:inline-block; text-align:center; padding:4px">[[File:{{{item6}}}{{!}}50x50px]]<br>{{{item6name}}}</div> | }}{{
+
#if: {{{item3|}}} | <div style="display:inline-block; vertical-align:top; text-align:center; padding:4px">[[File:{{{item3}}}{{!}}50x50px]]<br>{{{item3name}}}</div> | }}{{
#if: {{{item7|}}} | <div style="display:inline-block; text-align:center; padding:4px">[[File:{{{item7}}}{{!}}50x50px]]<br>{{{item7name}}}</div> | }}{{
+
#if: {{{item4|}}} | <div style="display:inline-block; vertical-align:top; text-align:center; padding:4px">[[File:{{{item4}}}{{!}}50x50px]]<br>{{{item4name}}}</div> | }}{{
#if: {{{item8|}}} | <div style="display:inline-block; text-align:center; padding:4px">[[File:{{{item8}}}{{!}}50x50px]]<br>{{{item8name}}}</div> | }}
+
#if: {{{item5|}}} | <div style="display:inline-block; vertical-align:top; text-align:center; padding:4px">[[File:{{{item5}}}{{!}}50x50px]]<br>{{{item5name}}}</div> | }}{{
 +
#if: {{{item6|}}} | <div style="display:inline-block; vertical-align:top; text-align:center; padding:4px">[[File:{{{item6}}}{{!}}50x50px]]<br>{{{item6name}}}</div> | }}{{
 +
#if: {{{item7|}}} | <div style="display:inline-block; vertical-align:top; text-align:center; padding:4px">[[File:{{{item7}}}{{!}}50x50px]]<br>{{{item7name}}}</div> | }}{{
 +
#if: {{{item8|}}} | <div style="display:inline-block; vertical-align:top; text-align:center; padding:4px">[[File:{{{item8}}}{{!}}50x50px]]<br>{{{item8name}}}</div> | }}{{
 +
#ifeq: {{{jewelcase}}} | yes | <div style="display:inline-block; vertical-align:top; text-align:center; padding:4px">{{#if: {{{jewelcaseback|}}} | [[File:{{{jewelcaseback}}}{{!}}x50px]] | }}{{#ifeq: {{{jewelcasespinemissing}}} | yes | [[File:Nospine-small.png{{!}}x50px]]}}{{#if: {{{jewelcasefront|}}} | [[File:{{{jewelcasefront}}}{{!}}x50px]] | }}
 +
<br>Jewel Case</div> | }}{{
 +
#if: {{{rom|}}} | <div style="font-size:8px">'''SHA-1:''' {{{rom}}}</div> | }}
 
|}
 
|}
 
</div></includeonly><noinclude>
 
</div></includeonly><noinclude>

Revision as of 08:21, 8 January 2015


Usage

{{Scanbox
| console=
| region=
| front=
| back=
| spine=
| spinemissing=
| square=
| cart=
| disc=
| manual=
| manuallink=
}}

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

For additional items (up to 8), use:

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

Example

Mega Drive, EU
Sonic1 box eu.jpg
Cover
S1-md-eu-cart.jpg
Cart
Game Gear, JP
Sandt jp back cover.jpgNospine.pngSchaosgg-box-jap.jpg
Cover
Snt gg jp cart.jpg
Cart
Dreamcast, US
Shuffle us back cover.jpgShuffle us boxart.jpg
Cover
Shuffle us cd.jpg
Disc
Shuffle us nfr cd.jpg
Not for Resale Disc