Template:Game infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "|- |-" to "|-")
No edit summary
Line 1: Line 1:
{| class="infobox" style="width:300px; color:{{{color1|#000}}}; background:{{{BG|#F2F3F4}}}; border:1px solid #B5B7CF" cellspacing="0"
{{Infobox|start|name={{{name|''{{PAGETITLE}}''}}}|media={{{image|}}}|caption={{{caption|}}}}}
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}" | {{#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" style="background:{{{imageBG|transparent}}}" {{!}} {{{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" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title=Engine|content={{{engine|}}}}}
Developer(s):
{{Infobox|entry|title=Platform(s)|content={{{platform|}}}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{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" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
 
Primary developer:
{{Infobox|end}}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Game {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</includeonly><noinclude>
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{primary-dev}}}
}}
|-
{{#if:{{{support-dev|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
Support developer(s):
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{support-dev}}}
}}
|-
{{#if:{{{publisher|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
Publisher(s):
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{publisher}}}
}}
|-
{{#if:{{{writer|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
Writer(s):
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{writer}}}
}}
|-
{{#if:{{{composer|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
Composer(s):
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{composer}}}
}}
|-
{{#if:{{{engine|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
Engine:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{engine}}}
}}
|-
{{#if:{{{platform|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
Platform(s):
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{platform}}}
}}
|-
{{#if:{{{releasedate|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
Release date(s):
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{releasedate}}}
}}
|-
{{#if:{{{canceldate|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
Cancellation date:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{canceldate}}}
}}
|-
{{#if:{{{genre|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
Genre(s):
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{genre}}}
}}
|-
{{#if:{{{modes|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
Mode(s):
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{modes}}}
}}
|-
{{#if:{{{rating|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
Rating(s):
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{rating}}}
}}
|-
| class="infoboxfooter" colspan="2" | &nbsp;
|}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Game {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</includeonly><noinclude>
{{Clear}}__NOTOC__
{{Clear}}__NOTOC__
==Usage instructions==
==Usage instructions==
Line 110: Line 27:
|primary-dev=
|primary-dev=
|support-dev=
|support-dev=
|publisher=
|writer=
|writer=
|composer=
|composer=
|publisher=
|engine=
|engine=
|platform=
|platform=

Revision as of 21:26, August 27, 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=
|publisher=
|writer=
|composer=
|engine=
|platform=
|releasedate=
|canceldate=
|genre=
|modes=
|rating=
}}