Template:Infobox game: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{| class=standard-table | style="width:{{{size|100}}}%;float:{{{side|center}}}"
<div id="Game_Infobox" class="infobox hidable">
!{{Game link|{{{name|{{PAGENAME}}}}}
{| class="infoboxtable hidable-content" cellspacing="0" cellpadding="4"
|-
|-
|align="center"|{{#If:{{{image|}}}|[[{{{image}}}|{{{imagesize|650px}}}]]|}}
| class="infoboximage" colspan="2" style="{{#if:{{{imageBG|}}}|background: #{{{imageBG}}}|{{#if:#999999|background: #FFFFFF|background: #999999}}}}" | {{{image|}}}
{{#If:{{{engine|}}}|
|-
'''Engine:''' {{{engine}}}|}}
| class="infoboximage" colspan="2" style="{{#if:{{{imageBG|}}}|background: #{{{imageBG}}}|{{#if:999999|background: #FFFFFF|background: #999999}}}}" | {{{image2|}}}
{{#If:{{{id|}}}|
|-
'''Id:''' {{{id}}}|}}
! class="infoboxheading" colspan="2" style="{{#if:224FA9|background: #224FA9|background: #999999}}; {{{css|}}}" | {{{{{{2|name}}}}}}
{{#If:{{{releasedate|}}}|
{{#if:{{{hidei|}}}|{{!}}-|{{!}}-
'''Release date:''' {{{releasedate}}}|}}
|}}{{#if:{{{developer|}}}|
{{#If:{{{status|}}}|
{{!}}-
'''Status:''' {{{status}}}|}}
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Developer(s)
{{#If:{{{website|}}}|
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
''Web Site:''' {{{website}}}|}}
{{{developer|}}}
{{!}}-
|}}{{#if:{{{date|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Release date(s)
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{date|}}}
{{!}}-
|}}{{#if:{{{genre|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Genre(s)
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{genre|}}}
{{!}}-
|}}{{#if:{{{mode|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Mode(s)
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{mode|}}}
{{!}}-
|}}{{#if:{{{platform|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Platform(s)
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{platform|}}}
{{!}}-
|}}{{#if:{{{rating|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Rating(s)
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{rating|}}}
{{!}}-
|}}{{#if:{{{distribution|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Distribution
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{distribution|}}}
{{!}}-
|}}{{#if:{{{system|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} System req
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{system|}}}
{{!}}-
|}}{{#if:{{{input|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Input
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{input|}}}
{{!}}-
|}}{{#if:{{{engine|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Engine
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{engine|}}}
{{!}}-
|}}{{#if:{{{series|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Series
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{series|}}}
{{!}}-
|}}{{#if:{{{designer|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Designer(s)
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{designer|}}}
{{!}}-
|}}{{#if:{{{writer|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Writer(s)
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{writer|}}}
{{!}}-
|}}{{#if:{{{composer|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Composer(s)
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{composer|}}}
{{!}}-
|}}{{#if:{{{previous|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Previous game
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{previous|}}}
{{!}}-
|}}{{#if:{{{next|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Next game
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{next|}}}
{{!}}-
|}}
|}
|}
<div class="infoboxfooter plainlinks" style="text-align: center; {{#if:{{{1|}}}|background: #{{{1}}}|background: #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
===Credits===
The original version of the infobox was created on [https://combineoverwiki.net/wiki/Main_Page Combine Overwiki], and copied from there for adapted use.
[[Category:Templates]]
[[Category:Infobox templates]]
</noinclude>

Revision as of 13:01, 19 June 2024

{{{name}}}

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.

{{Game_Infobox
|image=
|image2=
|name=
|hidei=
|developer=
|date=
|genre=
|mode=
|platform=
|hidep=
|hideu=
|rating=
|distribution=
|system=
|input=
|engine=
|series=
|designer=
|writer=
|composer=
|previous=
|next=
}}

Display parameters

  • hidei
  • hidep
  • hideu

Credits

The original version of the infobox was created on Combine Overwiki, and copied from there for adapted use.