Difference between revisions of "Scanbox"
From Sega Retro
Line 3: | Line 3: | ||
!style="border: 0px;"| {{#if: {{{console|}}} | '''{{{console}}}, ''' | }} {{#if: {{{region|}}} | '''{{{region}}}''' | }} | !style="border: 0px;"| {{#if: {{{console|}}} | '''{{{console}}}, ''' | }} {{#if: {{{region|}}} | '''{{{region}}}''' | }} | ||
|- | |- | ||
− | |align="center" style="border: 0px;"|{{#if: {{{cover|}}} | [[File:{{{cover}}}{{!}}x{{#var:coverheight}}px]] | {{#if: {{{top|}}} | <span style="margin-left:{{{topmarginleft}}}px; line-height:0px;">[[File:{{{top}}}{{!}}{{{topbottomwidth}}}px]]</span><br/> | }}{{#if: {{{back|}}} | [[File:{{{back}}}{{!}}x{{#var:coverheight}}px]] | }}{{#if: {{{spine|}}} | [[File:{{{spine}}}{{!}}x{{#var:coverheight}}px]] | }}{{#ifeq: {{{spinemissing}}} | yes | {{#ifeq: {{{square}}} | yes | [[File:Nospine-small.png]] | [[File:Nospine.png]] }} | }}{{#if: {{{front|}}} | [[File:{{{front}}}{{!}}x{{#var:coverheight}}px]] | }}{{#if: {{{spine2|}}} | [[File:{{{spine2}}}{{!}}x{{#var:coverheight}}px]] | }}{{#if: {{{bottom|}}} | <br/><span style="margin-left:{{{bottommarginleft}}}px; line-height:0px;">[[File:{{{bottom}}}{{!}}{{{topbottomwidth}}}px]]</span><br/> | }} | }} | + | |align="center" style="border: 0px; {{#ifeq: {{{covershared}}} | yes | opacity:0.5; | }}"|{{#if: {{{cover|}}} | [[File:{{{cover}}}{{!}}x{{#var:coverheight}}px]] | {{#if: {{{top|}}} | <span style="margin-left:{{{topmarginleft}}}px; line-height:0px;">[[File:{{{top}}}{{!}}{{{topbottomwidth}}}px]]</span><br/> | }}{{#if: {{{back|}}} | [[File:{{{back}}}{{!}}x{{#var:coverheight}}px]] | }}{{#if: {{{spine|}}} | [[File:{{{spine}}}{{!}}x{{#var:coverheight}}px]] | }}{{#ifeq: {{{spinemissing}}} | yes | {{#ifeq: {{{square}}} | yes | [[File:Nospine-small.png]] | [[File:Nospine.png]] }} | }}{{#if: {{{front|}}} | [[File:{{{front}}}{{!}}x{{#var:coverheight}}px]] | }}{{#if: {{{spine2|}}} | [[File:{{{spine2}}}{{!}}x{{#var:coverheight}}px]] | }}{{#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> | }} | }} | }} | ||
|- | |- |
Revision as of 19:17, 2 June 2014
- 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=