Template:Infobox Game: Difference between revisions

From Medapedia
Jump to navigationJump to search
m (Changed the style to match the Medarot infobox more, and added auto-categorization. Yay!)
m (moved Template:Infobox game to Template:Infobox Game: Caps was bugging me.)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{| class="infobox" border="1" cellpadding="5" cellspacing="0" width="330" style="width: 22em; font-size: 100%; text-align: center; margin-bottom: 3px; margin-left: 5px;"  
{| class="infobox" border="1" cellpadding="5" cellspacing="0" width="330" style="width:22em; font-size:100%; text-align:center; margin-bottom:3px; margin-left:5px; color:#000;"  
|-
|-
| colspan=2 style="background:#CCCCCC; color:#000;" | '''{{{name|}}}''' <br> {{#if: {{{name-j|}}} | {{#if: {{{name-r|}}} | {{r|{{{name-j|}}}|{{{name-r|}}}}} | {{name-j|}}}}}}
| colspan=2 style="background:#CCCCCC;" | '''{{{name|}}}''' <br> {{#if: {{{name-j|}}} | {{#if: {{{name-r|}}} | {{r|{{{name-j|}}}|{{{name-r|}}}}} | {{name-j|}}}}}}
{{#if: {{{image|}}} | {{!}}-  
{{#if: {{{image|}}} | {{!}}-  
{{!}} colspan=2 {{!}} [[Image:{{{image}}}|270px|]] }}
{{!}} colspan=2 {{!}} [[Image:{{{image}}}|250px|]] }}
|-
|-
! width =100 style="background:#CCCCCC; color:#000;" | Genre
! width =100 style="background:#CCCCCC;" | Genre
| style="background:#EEEEEE; color:#000;" | {{{genre|}}}
| style="background:#EEEEEE;" | {{{genre|}}}
|-
|-
! style="background:#CCCCCC; color:#000;" | Platform
! style="background:#CCCCCC;" | Platform
| style="background:#EEEEEE; color:#000;" | {{{platform|}}}
| style="background:#EEEEEE;" | {{{platform|}}}
|-
|-
! style="background:#CCCCCC; color:#000;" | Developer
! style="background:#CCCCCC;" | Developer
| style="background:#EEEEEE; color:#000;" | {{{developer|}}}
| style="background:#EEEEEE;" | {{{developer|}}}
|-
|-
! style="background:#CCCCCC; color:#000;" | Publisher
! style="background:#CCCCCC;" | Publisher
| style="background:#EEEEEE; color:#000;" | {{{publisher|}}}
| style="background:#EEEEEE;" | {{{publisher|}}}
|-
|-
! style="background:#CCCCCC; color:#000;" | Release Date
! style="background:#CCCCCC;" | Release Date
| style="background:#EEEEEE; color:#000;" | {{{date|}}}
| style="background:#EEEEEE;" | {{{date|}}}
|-
|-
|}<includeonly>{{#ifeq: {{{cat|}}} | false || [[Category:Video games]]}}</includeonly>
|}<includeonly>{{#ifeq: {{{cat|}}} | false || [[Category:Video games]]}}</includeonly>

Latest revision as of 12:52, 8 May 2015

'
Genre
Platform
Developer
Publisher
Release Date

Description[edit]

This is the template for the infobox on video game pages.

To use the template, put the following text at the top of the article and fill in each section.

{{Infobox game
| name        = 
| name-j      = 
| name-r      = 
| image       = 
| genre       = 
| platform    = 
| developer   = 
| publisher   = 
| date        = 
}}

For date, if the game has multiple release dates, include them on separate lines separated by a <br> .

Advanced[edit]

If you don't want the template to categorize the page it's on under Category:Video games, add |cat=false.