Template:Infobox Game: Difference between revisions

From Medapedia
Jump to navigationJump to search
(Messing around with making images optional)
m (moved Template:Infobox game to Template:Infobox Game: Caps was bugging me.)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="infobox wikitable" cellpadding="5" cellspacing="0" width="330" style="width: 22em; font-size: 100%; text-align: center;"  
{| 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><small> {{#if: {{{name-j|}}} | {{#if: {{{name-r|}}} | {{r|{{{name-j|}}}|{{{name-r|}}}}} | {{name-j|}}}}}} </small> {{#if: {{{image|}}} |  
| colspan=2 style="background:#CCCCCC;" | '''{{{name|}}}''' <br> {{#if: {{{name-j|}}} | {{#if: {{{name-r|}}} | {{r|{{{name-j|}}}|{{{name-r|}}}}} | {{name-j|}}}}}}
{{!}}-  
{{#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>
<noinclude>
<noinclude>
==Description==
==Description==
Line 43: 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>

Latest revision as of 13: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.