Template:Infobox game: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "<div id="Game_Infobox" class="infobox hidable" style="font-size:smaller; padding: 0px; width:250px"> {| class="infoboxtable hidable-content" cellspacing="0" cellpadding="4" style...")
 
(Blanked the page)
Line 1: Line 1:
<div id="Game_Infobox" class="infobox hidable" style="font-size:smaller; padding: 0px; width:250px">
{| class="infoboxtable hidable-content" cellspacing="0" cellpadding="4" style="border-width: 0px"
|-
| class="infoboximage" colspan="2" style="{{#if:{{{imageBG|}}}|background-color: #{{{imageBG}}}|{{#if:#999999|background-color: #FFFFFF|background-color: #999999}}}}" | {{{image|}}}
|-
| class="infoboximage" colspan="2" style="{{#if:{{{imageBG|}}}|background-color: #{{{imageBG}}}|{{#if:999999|background-color: #FFFFFF|background-color: #999999}}}}" | {{{image2|}}}
|-
! class="infoboxheading" colspan="2" style="{{#if:224FA9|background-color: #224FA9|background-color: #999999}}; {{{css|}}}" | ''{{{{{{2|name}}}}}}''
{{#if:{{{hidei|}}}|{{!}}-|{{!}}-
|}}{{#if:{{{developer|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background-color: #{{{3}}}|}}" {{!}} Developer(s)
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background-color: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{developer|}}}
{{!}}-
|}}{{#if:{{{date|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background-color: #{{{3}}}|}}" {{!}} Release date(s)
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background-color: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{date|}}}
{{!}}-
|}}{{#if:{{{genre|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background-color: #{{{3}}}|}}" {{!}} Genre(s)
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background-color: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{genre|}}}
{{!}}-
|}}{{#if:{{{mode|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background-color: #{{{3}}}|}}" {{!}} Mode(s)
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background-color: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{mode|}}}
{{!}}-
|}}{{#if:{{{platform|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background-color: #{{{3}}}|}}" {{!}} Platform(s)
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background-color: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{platform|}}}
{{!}}-
|}}{{#if:{{{rating|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background-color: #{{{3}}}|}}" {{!}} Rating(s)
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background-color: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{rating|}}}
{{!}}-
|}}{{#if:{{{distribution|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background-color: #{{{3}}}|}}" {{!}} Distribution
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background-color: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{distribution|}}}
{{!}}-
|}}{{#if:{{{system|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background-color: #{{{3}}}|}}" {{!}} System req
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background-color: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{system|}}}
{{!}}-
|}}{{#if:{{{input|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background-color: #{{{3}}}|}}" {{!}} Input
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background-color: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{input|}}}
{{!}}-
|}}{{#if:{{{engine|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background-color: #{{{3}}}|}}" {{!}} Engine
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background-color: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{engine|}}}
{{!}}-
|}}{{#if:{{{series|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background-color: #{{{3}}}|}}" {{!}} Series
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background-color: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{series|}}}
{{!}}-
|}}{{#if:{{{designer|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background-color: #{{{3}}}|}}" {{!}} Designer(s)
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background-color: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{designer|}}}
{{!}}-
|}}{{#if:{{{writer|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background-color: #{{{3}}}|}}" {{!}} Writer(s)
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background-color: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{writer|}}}
{{!}}-
|}}{{#if:{{{composer|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background-color: #{{{3}}}|}}" {{!}} Composer(s)
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background-color: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{composer|}}}
{{!}}-
|}}{{#if:{{{previous|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background-color: #{{{3}}}|}}" {{!}} Previous game
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background-color: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{previous|}}}
{{!}}-
|}}{{#if:{{{next|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background-color: #{{{3}}}|}}" {{!}} Next game
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background-color: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{next|}}}
{{!}}-
|}}
|}
<div class="infoboxfooter plainlinks" style="text-align: center; {{#if:{{{1|}}}|background-color: #{{{1}}}|background-color: #224FA9}}"><span id="infoboxend"></span>&nbsp;</div>
{{#if:{{{1|}}}|{{rb|#{{{1}}}}}|{{rb|#224FA9}}}}</div><!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. --><noinclude>


==Usage instructions==
Copy and paste the following code into the top of the article, filling the appropriate fields. Omitted or blank fields will not be shown on the article page.
<pre><nowiki>
{{Game_Infobox
|image=
|image2=
|name=
|hidei=
|developer=
|date=
|genre=
|mode=
|platform=
|hidep=
|hideu=
|rating=
|distribution=
|system=
|input=
|engine=
|series=
|designer=
|writer=
|composer=
|previous=
|next=
}}</nowiki></pre>
===Display parameters===
*hidei
*hidep
*hideu
[[Category:Infoboxes|{{PAGENAME}}]]
[[Category:Games|{{PAGENAME}}]]
</noinclude>

Revision as of 16:39, 20 August 2013