Template:Game infobox: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
{| class="infobox" style="width:300px" cellspacing="0"
{{Infobox|start|name={{{name|}}}|media={{{image|}}}|caption={{{caption|}}}}}
! class="infoboxheading" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
 
|-
{{Infobox|entry|title=Developer(s)|content={{{developer|}}}}}
{{#if:{{{image|}}}|
{{Infobox|entry|title=Primary developer|content={{{primary-dev|}}}}}
{{!}} class="infoboxmedia" colspan="2" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{Infobox|entry|title=Support developer(s)|content={{{support-dev|}}}}}
}}
{{Infobox|entry|title=Publisher(s)|content={{{publisher|}}}}}
|-
{{Infobox|entry|title=Writer(s)|content={{{writer|}}}}}
{{#if:{{{developer|}}}|
{{Infobox|entry|title=Composer(s)|content={{{composer|}}}}}
{{!}} class="infoboxlabel" {{!}}
{{Infobox|entry|title=Engine|content={{{engine|}}}}}
Developer(s):
{{Infobox|entry|title=Platform(s)|content={{{platform|}}}}}
{{!}} class="infoboxcell" {{!}}
{{Infobox|entry|title=Release date(s)|content={{{releasedate|}}}}}
{{{developer}}}
{{Infobox|entry|title=Cancellation date|content={{{canceldate|}}}}}
}}
{{Infobox|entry|title=Genre(s)|content={{{genre|}}}}}
|-
{{Infobox|entry|title=Mode(s)|content={{{modes|}}}}}
{{#if:{{{primary-dev|}}}|
{{Infobox|entry|title=Rating(s)|content={{{rating|}}}}}
{{!}} class="infoboxlabel" {{!}}
 
Primary developer:
{{Infobox|end}}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Game}}}}}</includeonly><noinclude>{{clear}}
{{!}} class="infoboxcell" {{!}}
{{{primary-dev}}}
}}
|-
{{#if:{{{support-dev|}}}|
{{!}} class="infoboxlabel" {{!}}
Support developer(s):
{{!}} class="infoboxcell" {{!}}
{{{support-dev}}}
}}
|-
{{#if:{{{publisher|}}}|
{{!}} class="infoboxlabel" {{!}}
Publisher(s):
{{!}} class="infoboxcell" {{!}}
{{{publisher}}}
}}
|-
{{#if:{{{writer|}}}|
{{!}} class="infoboxlabel" {{!}}
Writer(s):
{{!}} class="infoboxcell" {{!}}
{{{writer}}}
}}
|-
{{#if:{{{composer|}}}|
{{!}} class="infoboxlabel" {{!}}
Composer(s):
{{!}} class="infoboxcell" {{!}}
{{{composer}}}
}}
|-
{{#if:{{{engine|}}}|
{{!}} class="infoboxlabel" {{!}}
Engine:
{{!}} class="infoboxcell" {{!}}
{{{engine}}}
}}
|-
{{#if:{{{platform|}}}|
{{!}} class="infoboxlabel" {{!}}
Platform(s):
{{!}} class="infoboxcell" {{!}}
{{{platform}}}
}}
|-
{{#if:{{{releasedate|}}}|
{{!}} class="infoboxlabel" {{!}}
Release date(s):
{{!}} class="infoboxcell" {{!}}
{{{releasedate}}}
}}
|-
{{#if:{{{canceldate|}}}|
{{!}} class="infoboxlabel" {{!}}
Cancellation date:
{{!}} class="infoboxcell" {{!}}
{{{canceldate}}}
}}
|-
{{#if:{{{genre|}}}|
{{!}} class="infoboxlabel" {{!}}
Genre(s):
{{!}} class="infoboxcell" {{!}}
{{{genre}}}
}}
|-
{{#if:{{{modes|}}}|
{{!}} class="infoboxlabel" {{!}}
Mode(s):
{{!}} class="infoboxcell" {{!}}
{{{modes}}}
}}
|-
{{#if:{{{rating|}}}|
{{!}} class="infoboxlabel" {{!}}
Rating(s):
{{!}} class="infoboxcell" {{!}}
{{{rating}}}
}}
|-
| class="infoboxfooter" colspan="2" | &nbsp;
|}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Game}}}}}</includeonly><noinclude>
{{Clear}}__NOTOC__
==Usage instructions==
==Usage instructions==
Paste the following code into the top of an article, filling all known fields:
Paste the following code into the top of an article, filling all known fields:

Revision as of 15:41, August 21, 2023

 

Usage instructions

Paste the following code into the top of an article, filling all known fields:

{{Game infobox
|name=
|image=
|developer=
|primary-dev=
|support-dev=
|writer=
|composer=
|publisher=
|engine=
|platform=
|releasedate=
|canceldate=
|genre=
|modes=
|rating=
}}