Template:Game infobox: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(Created page with "<infobox> <title source="title1"> <default>{{PAGENAME}}</default> </title> <image source="image1"> <caption source="caption1"/> </image> <data source="platfo...")
 
m (RMV2003 moved page Template:Game to Template:Game infobox without leaving a redirect: +infobox in title)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" style="background:white"
<infobox>
! colspan="2" style="background-color:forestgreen;color:white;font-size:125%" | ''{{{title|{{PAGENAME}}}}}''
<title source="title1">
|-
<default>{{PAGENAME}}</default>
| colspan="2" style="text-align:center" | {{{image|}}}
</title>
|- style="vertical-align: top;"
<image source="image1">
{{#if:{{{developer|}}}|{{!}}-style="background:#93ff91"
<caption source="caption1"/>
{{!}} '''Developer(s)'''
</image>
{{!}} {{{developer}}}
<data source="platforms">
|}}
<label>Platforms</label>
|- style="vertical-align: top"
</data>
{{#if:{{{publisher|}}}|{{!}}-style="background:#93ff91"
<data source="release_dates">
{{!}} '''Publisher'''
<label>Release Dates</label>
{{!}} {{{publisher}}}
</data>
|}}
<data source="publisher">
|- style="vertical-align: top"
<label>Publisher</label>
{{#if:{{{released|}}}|{{!}}-style="background:#93ff91"
</data>
{{!}} '''Release date(s)'''
<data source="developer">
{{!}} {{{released}}}
<label>Developer</label>
|}}
</data>
|- style="vertical-align: top"
</infobox>
{{#if:{{{genre|}}}|{{!}}-style="background:#93ff91"
<noinclude>
{{!}} '''Genre(s)'''
Example usage:<pre>
{{!}} {{{genre}}}
|}}
|- style="vertical-align: top"
{{#if:{{{ratings|}}}|{{!}}-style="background:#93ff91"
{{!}} '''Rating(s)'''
{{!}} {{{ratings}}}
|}}
|- style="vertical-align: top"
{{#if:{{{console|}}}|{{!}}-style="background:#93ff91"
{{!}} '''Console(s)'''
{{!}} {{{console}}}
|}}
|- style="vertical-align: top"
{{#if:{{{modes|}}}|{{!}}-style="background:#93ff91"
{{!}} '''Mode(s)'''
{{!}} {{{modes}}}
|}}
|- style="vertical-align: top"
{{#if:{{{media|}}}|{{!}}-style="background:#93ff91"
{{!}} '''Media'''
{{!}} {{{media}}}
|}}
|- style="vertical-align: top"
{{#if:{{{input|}}}|{{!}}-style="background:#93ff91"
{{!}} '''Input'''
{{!}} {{{input}}}
|}}
|}<noinclude>
==Usage==
<pre>
{{Game
{{Game
|title =
|title1=Example
|image =
|image1=Example
|developer =
|caption1=Example
|publisher =
|platforms=Example
|released =
|release_dates=Example
|genre =
|publisher=Example
|ratings =
|developer=Example
|console =
|modes =
|media =
|input =
}}
}}
</pre>
</pre>
[[Category:Infobox templates]]</noinclude><includeonly>[[Category:Games]]</includeonly>
</noinclude>

Latest revision as of 01:35, January 19, 2022

Game infobox

Usage

{{Game
|title =
|image =
|developer =
|publisher =
|released =
|genre =
|ratings =
|console =
|modes =
|media = 
|input = 
}}