Difference between revisions of "Scanbox"

From Sega Retro

Line 9: Line 9:
 
| align="center" style="text-align:center;" | <div style="max-width:320px" class="scanbox">{{ScanboxItem|{{{spinecard|no}}}|Spinecard|back={{{spinecardback|}}}}}{{ScanboxItem|{{{cart|no}}}|Cart|top={{{carttop|}}}|back={{{cartback|}}}}}{{ScanboxItem|{{{card|no}}}|Card|back={{{cardback|}}}}}{{ScanboxItem|{{{cassette|no}}}|Cassette|back={{{cassetteback|}}}}}{{ScanboxItem|{{{disc|no}}}|Disc|back={{{discback|}}}}}{{ScanboxItem|{{{disc1|no}}}|Disc 1|back={{{disc1back|}}}}}{{ScanboxItem|{{{disc2|no}}}|Disc 2|back={{{disc2back|}}}}}{{ScanboxItem|{{{disc3|no}}}|Disc 3|back={{{disc3back|}}}}}{{ScanboxItem|{{{disc4|no}}}|Disc 4|back={{{disc4back|}}}}}{{ScanboxItem|{{{disk|no}}}|Disk|top={{{disktop|}}}|back={{{diskback|}}}}}{{ScanboxItem|{{{disk1|no}}}|Disk 1|back={{{disk1back|}}}}}{{ScanboxItem|{{{disk2|no}}}|Disk 2|back={{{disk2back|}}}}}{{ScanboxItem|{{{disk3|no}}}|Disk 3|back={{{disk3back|}}}}}{{ScanboxItem|{{{disk4|no}}}|Disk 4|back={{{disk4back|}}}}}{{ScanboxItem|{{{manual|no}}}|Manual}}{{ScanboxItem|{{{booklet|no}}}|Booklet}}{{#if:{{{jewelcasefront|}}}{{{jewelcaseback|}}}|{{ScanboxItem|{{{jewelcasefront|no}}}|Jewel Case|back={{{jewelcaseback|}}}|width=200}}|}}{{ScanboxItem|{{{inlay|no}}}|Inlay|back={{{inlayfront|}}}|width=200}}{{ScanboxItem|{{{regcard|no}}}|Reg Card}}{{ScanboxItem|{{{poster|no}}}|Poster|back={{{posterback|}}}}}{{ScanboxItem|{{{item1|no}}}|{{{item1name|?}}}}}{{ScanboxItem|{{{item2|no}}}|{{{item2name|?}}}}}{{ScanboxItem|{{{item3|no}}}|{{{item3name|?}}}}}{{ScanboxItem|{{{item4|no}}}|{{{item4name|?}}}}}{{ScanboxItem|{{{item5|no}}}|{{{item5name|?}}}}}{{ScanboxItem|{{{item6|no}}}|{{{item6name|?}}}}}{{ScanboxItem|{{{item7|no}}}|{{{item7name|?}}}}}{{ScanboxItem|{{{item8|no}}}|{{{item8name|?}}}}}{{ScanboxItem|{{{item9|no}}}|{{{item9name|?}}}}}</div>
 
| align="center" style="text-align:center;" | <div style="max-width:320px" class="scanbox">{{ScanboxItem|{{{spinecard|no}}}|Spinecard|back={{{spinecardback|}}}}}{{ScanboxItem|{{{cart|no}}}|Cart|top={{{carttop|}}}|back={{{cartback|}}}}}{{ScanboxItem|{{{card|no}}}|Card|back={{{cardback|}}}}}{{ScanboxItem|{{{cassette|no}}}|Cassette|back={{{cassetteback|}}}}}{{ScanboxItem|{{{disc|no}}}|Disc|back={{{discback|}}}}}{{ScanboxItem|{{{disc1|no}}}|Disc 1|back={{{disc1back|}}}}}{{ScanboxItem|{{{disc2|no}}}|Disc 2|back={{{disc2back|}}}}}{{ScanboxItem|{{{disc3|no}}}|Disc 3|back={{{disc3back|}}}}}{{ScanboxItem|{{{disc4|no}}}|Disc 4|back={{{disc4back|}}}}}{{ScanboxItem|{{{disk|no}}}|Disk|top={{{disktop|}}}|back={{{diskback|}}}}}{{ScanboxItem|{{{disk1|no}}}|Disk 1|back={{{disk1back|}}}}}{{ScanboxItem|{{{disk2|no}}}|Disk 2|back={{{disk2back|}}}}}{{ScanboxItem|{{{disk3|no}}}|Disk 3|back={{{disk3back|}}}}}{{ScanboxItem|{{{disk4|no}}}|Disk 4|back={{{disk4back|}}}}}{{ScanboxItem|{{{manual|no}}}|Manual}}{{ScanboxItem|{{{booklet|no}}}|Booklet}}{{#if:{{{jewelcasefront|}}}{{{jewelcaseback|}}}|{{ScanboxItem|{{{jewelcasefront|no}}}|Jewel Case|back={{{jewelcaseback|}}}|width=200}}|}}{{ScanboxItem|{{{inlay|no}}}|Inlay|back={{{inlayfront|}}}|width=200}}{{ScanboxItem|{{{regcard|no}}}|Reg Card}}{{ScanboxItem|{{{poster|no}}}|Poster|back={{{posterback|}}}}}{{ScanboxItem|{{{item1|no}}}|{{{item1name|?}}}}}{{ScanboxItem|{{{item2|no}}}|{{{item2name|?}}}}}{{ScanboxItem|{{{item3|no}}}|{{{item3name|?}}}}}{{ScanboxItem|{{{item4|no}}}|{{{item4name|?}}}}}{{ScanboxItem|{{{item5|no}}}|{{{item5name|?}}}}}{{ScanboxItem|{{{item6|no}}}|{{{item6name|?}}}}}{{ScanboxItem|{{{item7|no}}}|{{{item7name|?}}}}}{{ScanboxItem|{{{item8|no}}}|{{{item8name|?}}}}}{{ScanboxItem|{{{item9|no}}}|{{{item9name|?}}}}}</div>
 
|}{{#if: {{{item1|}}}{{{item2|}}} | [[Category:Games with extra scans]] | }}
 
|}{{#if: {{{item1|}}}{{{item2|}}} | [[Category:Games with extra scans]] | }}
</div></includeonly><noinclude>
+
</div>{{#if:{{{front|}}}||{{#if:{{{cover|}}}||{{#cargo_store:
 +
_table = missingscans_table
 +
|name = {{#titleparts:{{PAGENAME}}}}
 +
|console={{{console}}}
 +
|region={{{region}}}
 +
|type=box
 +
}}}}}}</includeonly><noinclude>
 +
{{#cargo_declare:
 +
_table = missingscans_table
 +
|name=Page
 +
|console=Text
 +
|region=Text
 +
|type=Text
 +
}}
 
:'''Attention''': This template is now automatically feeding data into the MySQL database via [http://www.kwi.dk/projects/mediawiki/KwikiData/ 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.
 
:'''Attention''': This template is now automatically feeding data into the MySQL database via [http://www.kwi.dk/projects/mediawiki/KwikiData/ 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.
  

Revision as of 12:57, 10 January 2018

This template defines the table "missingscans_table". View table.

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=
| inlay=
| 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