Template:Infobox Game: Difference between revisions

From Medapedia
Jump to navigationJump to search
m (tweaks)
m (Changed the style to match the Medarot infobox more, and added auto-categorization. Yay!)
Line 1: Line 1:
{| class="infobox wikitable" 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;"  
|-
|-
| 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; color:#000;" | '''{{{name|}}}''' <br> {{#if: {{{name-j|}}} | {{#if: {{{name-r|}}} | {{r|{{{name-j|}}}|{{{name-r|}}}}} | {{name-j|}}}}}}
Line 20: Line 20:
| style="background:#EEEEEE; color:#000;" | {{{date|}}}
| style="background:#EEEEEE; color:#000;" | {{{date|}}}
|-
|-
|}<noinclude>
|}<includeonly>{{#ifeq: {{{cat|}}} | false || [[Category:Video games]]}}</includeonly>
<noinclude>
==Description==
==Description==
This is the template for the infobox on video game pages.
This is the template for the infobox on video game pages.
Line 42: Line 43:
For date, if the game has multiple release dates, include them on separate lines separated by a <nowiki> <br> </nowiki>.
For date, if the game has multiple release dates, include them on separate lines separated by a <nowiki> <br> </nowiki>.
[[Category:Infobox templates]]
[[Category:Infobox templates]]
== Advanced ==
If you don't want the template to categorize the page it's on under [[:Category:Video games]], add ''|cat=false''.
</noinclude>
</noinclude>

Revision as of 12:30, 25 August 2012

'
Genre
Platform
Developer
Publisher
Release Date

Description

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

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