|
|
Line 1: |
Line 1: |
| <!-- This vardefine thing is what allows the box to alternate between colors correctly. -->
| | {| class="infobox" cellpadding=2 cellspacing=2 align=right width=265px s |
| {{#vardefine:num|0}} | | | align="center" colspan="2" {{!}} '''''{{PAGENAME}}''''' |
| {| class="infobox" cellpadding=2 cellspacing=2 align=right width=265px style="font-family: arial, sans-serif; padding: 4px; margin: 0 0 1em 1em; font-size: 11px; border:1px solid #3b587e; background-color:#1e1528"
| |
| | align="center" colspan="2" bgcolor="#3b587e" style="font-family:arial; font-size:13px" {{!}} '''''{{PAGENAME}}''''' | |
| |- | | |- |
| {{#if:{{{image|}}}| | | {{#if:{{{image|}}}| |
| {{!-}} | | {{!-}} |
| ! colspan="2" {{!}} {{{image|}}}}} | | ! colspan="2" {{!}} {{{image|}}}}} |
| |- bgcolor="#3b587e" valign="top"
| |
| {{#if:{{{developer|}}}| | | {{#if:{{{developer|}}}| |
| {{!-}} {{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} | | {{!-}} valign="top" |
| ! Developer(s) | | ! Developer(s) |
| {{!}} {{{developer|}}}{{#vardefine:num|{{#expr:{{#var:num}}+1}}}}}} | | {{!}} {{{developer|}}} |
| |- {{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} valign="top"
| | }} |
| {{#if:{{{publisher|}}}| | | {{#if:{{{publisher|}}}| |
| {{!-}} {{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} | | {{!-}} valign="top" |
| ! Publisher | | ! Publisher |
| {{!}} {{{publisher|}}}{{#vardefine:num|{{#expr:{{#var:num}}+1}}}}}} | | {{!}} {{{publisher|}}} |
| |- {{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} valign="top"
| | }} |
| {{#if:{{{platforms|}}}| | | {{#if:{{{platforms|}}}| |
| {{!-}} {{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} | | {{!-}} valign="top" |
| ! Platform(s) | | ! Platform(s) |
| {{!}} {{{platforms|}}}{{#vardefine:num|{{#expr:{{#var:num}}+1}}}}}} | | {{!}} {{{platforms|}}} |
| |- {{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} valign="top"
| | }} |
| {{#if:{{{genre|}}}| | | {{#if:{{{released|}}}| |
| {{!-}} {{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} | | {{!-}} valign="top" |
| ! Released | | ! Released |
| {{!}} {{{released|}}}{{#vardefine:num|{{#expr:{{#var:num}}+1}}}}}} | | {{!}} {{{released|}}} |
| |- {{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} valign="top"
| | }} |
| {{#if:{{{genre|}}}| | | {{#if:{{{genre|}}}| |
| {{!-}} {{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} | | {{!-}} valign="top" |
| ! Genre | | ! Genre |
| {{!}} {{{genre|}}}{{#vardefine:num|{{#expr:{{#var:num}}+1}}}}}} | | {{!}} {{{genre|}}} |
| |- {{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} valign="top"
| | }} |
| {{#if:{{{ratings|}}}| | | {{#if:{{{ratings|}}}| |
| {{!-}} {{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} | | {{!-}} valign="top" |
| ! Ratings | | ! Ratings |
| {{!}} {{{ratings|}}}{{#vardefine:num|{{#expr:{{#var:num}}+1}}}}}} | | {{!}} {{{ratings|}}} |
| |- {{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} valign="top"
| | }} |
| {{#if:{{{modes|}}}| | | {{#if:{{{modes|}}}| |
| {{!-}} {{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} | | {{!-}} valign="top" |
| ! Modes | | ! Modes |
| {{!}} {{{modes|}}}{{#vardefine:num|{{#expr:{{#var:num}}+1}}}}}} | | {{!}} {{{modes|}}} |
| |- {{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} valign="top"
| | }} |
| {{#if:{{{media|}}}| | | {{#if:{{{media|}}}| |
| {{!-}} {{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} | | {{!-}} valign="top" |
| ! Media | | ! Media |
| {{!}} {{{media|}}}{{#vardefine:num|{{#expr:{{#var:num}}+1}}}}}} | | {{!}} {{{media|}}} |
| |- {{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} valign="top"
| | }} |
| {{#if:{{{input|}}}| | | {{#if:{{{input|}}}| |
| {{!-}} {{#ifexpr:{{#var:num}} mod 2=0|bgcolor="#3b587e"|bgcolor="#1e1528"}} | | {{!-}} valign="top" |
| ! Input | | ! Input |
| {{!}} {{{input|}}}{{#vardefine:num|{{#expr:{{#var:num}}+1}}}}}} | | {{!}} {{{input|}}} |
| | }} |
| |}<noinclude>{{clear}} | | |}<noinclude>{{clear}} |
| ==Usage== | | ==Usage== |