Template:Game infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}" to "{{{name|{{PAGENAME}}}}}")
m (Text replacement - "{{pagetitle\|{{{pagename\|{{#if:{{{name\|}}}\|{{{name}}}\|{{PAGETITLE}}}}}}} - {{{pagelabel\|([^ ]+) {{#ifeq:{{SUBPAGENAME}}\|Silver\|\(Silver Timeline\)}}}}}}}" to "{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|$1}}}}}")
(42 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" cellspacing="0" style="width:300px; background:{{{BG|#F2F3F4}}}; color:{{{color1|#000}}}; border:1px solid #B5B7CF;"
{{Infobox|start}}
|-
{{Infobox|title|name={{{name|''{{PAGETITLE}}''}}}}}
! class="infoboxheading" colspan=2 style="background:{{{BG|transparent}}}; text-align:center; font-size:120%;" | {{{name|{{PAGENAME}}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}
|-
 
{{#if:{{{image|}}}|
{{Infobox|entry|title=Developer(s)|content={{{developer|}}}}}
! colspan=2 style="background:{{{imageBG|transparent}}}; text-align:center;" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div style="clear:both">{{{caption}}}</div>}}
{{Infobox|entry|title=Primary developer|content={{{primary-dev|}}}}}
}}
{{Infobox|entry|title=Support developer(s)|content={{{support-dev|}}}}}
|-
{{Infobox|entry|title=Publisher(s)|content={{{publisher|}}}}}
{{#if:{{{developer|}}}|
{{Infobox|entry|title=Writer(s)|content={{{writer|}}}}}
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1.5px solid {{{lineBG|#999999}}}; font-size:90%;" {{!}} '''Developer(s):'''
{{Infobox|entry|title=Composer(s)|content={{{composer|}}}}}
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1.5px solid {{{lineBG|#999999}}}; font-size:80%;" {{!}}
{{Infobox|entry|title=Engine|content={{{engine|}}}}}
{{{developer|}}}
{{Infobox|entry|title=Platform(s)|content={{{platform|}}}}}
{{!}}-|}}
{{Infobox|entry|title=Release date(s)|content={{{releasedate|}}}}}
{{#if:{{{primary-dev|}}}|
{{Infobox|entry|title=Cancellation date|content={{{canceldate|}}}}}
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1.5px solid {{{lineBG|#999999}}}; font-size:90%;" {{!}} '''Primary developer:'''
{{Infobox|entry|title=Genre(s)|content={{{genre|}}}}}
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1.5px solid {{{lineBG|#999999}}}; font-size:80%;" {{!}}
{{Infobox|entry|title=Mode(s)|content={{{modes|}}}}}
{{{primary-dev|}}}
{{Infobox|entry|title=Rating(s)|content={{{rating|}}}}}
{{!}}-|}}
 
{{#if:{{{support-dev|}}}|
{{Infobox|end}}<includeonly>{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|Game}}}}}</includeonly><noinclude>{{clear}}
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1.5px solid {{{lineBG|#999999}}}; font-size:90%;" {{!}} '''Support developer(s):'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1.5px solid {{{lineBG|#999999}}}; font-size:80%;" {{!}}
{{{support-dev|}}}
{{!}}-|}}
{{#if:{{{publisher|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1.5px solid {{{lineBG|#999999}}}; font-size:90%;" {{!}} '''Publisher(s):'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1.5px solid {{{lineBG|#999999}}}; font-size:80%;" {{!}}
{{{publisher|}}}
{{!}}-|}}
{{#if:{{{writer|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1.5px solid {{{lineBG|#999999}}}; font-size:90%;" {{!}} '''Writer(s):'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1.5px solid {{{lineBG|#999999}}}; font-size:80%;" {{!}}
{{{writer|}}}
{{!}}-|}}
{{#if:{{{composer|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1.5px solid {{{lineBG|#999999}}}; font-size:90%;" {{!}} '''Composer(s):'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1.5px solid {{{lineBG|#999999}}}; font-size:80%;" {{!}}
{{{composer|}}}
{{!}}-|}}
{{!}}-|}}
{{#if:{{{engine|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1.5px solid {{{lineBG|#999999}}}; font-size:90%;" {{!}} '''Engine:'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1.5px solid {{{lineBG|#999999}}}; font-size:80%;" {{!}}
{{{engine|}}}
{{!}}-|}}
{{#if:{{{platform|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1.5px solid {{{lineBG|#999999}}}; font-size:90%;" {{!}} '''Platform(s):'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1.5px solid {{{lineBG|#999999}}}; font-size:80%;" {{!}}
{{{platform|}}}
{{!}}-|}}
{{#if:{{{releasedate|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1.5px solid {{{lineBG|#999999}}}; font-size:90%;" {{!}} '''Release date(s):'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1.5px solid {{{lineBG|#999999}}}; font-size:80%;" {{!}}
{{{releasedate|}}}
{{!}}-|}}
{{#if:{{{canceldate|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1.5px solid {{{lineBG|#999999}}}; font-size:90%;" {{!}} '''Cancellation date:'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1.5px solid {{{lineBG|#999999}}}; font-size:80%;" {{!}}
{{{canceldate|}}}
{{!}}-|}}
{{#if:{{{genre|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1.5px solid {{{lineBG|#999999}}}; font-size:90%;" {{!}} '''Genre(s):'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1.5px solid {{{lineBG|#999999}}}; font-size:80%;" {{!}}
{{{genre|}}}
{{!}}-|}}
{{#if:{{{modes|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1.5px solid {{{lineBG|#999999}}}; font-size:90%;" {{!}} '''Mode(s):'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1.5px solid {{{lineBG|#999999}}}; font-size:80%;" {{!}}
{{{modes|}}}
{{!}}-|}}
{{#if:{{{rating|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1.5px solid {{{lineBG|#999999}}}; font-size:90%;" {{!}} '''Rating(s):'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{sectionBG|#F2F3F4}}}; border-top:1.5px solid {{{lineBG|#999999}}}; font-size:80%;" {{!}}
{{{rating|}}}
{{!}}-|}}
|- style="background:transparent!important"
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0; font-size:10px; line-height:10px;" |&nbsp;
|}<includeonly>{{pagetitle|{{{pagename|{{{name|{{PAGENAME}}}}}}}} - {{{pagelabel|Game {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</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:


<pre>{{Game infobox
<pre>
{{Game infobox
|name=
|name=
|image=
|image=
Line 86: Line 28:
|primary-dev=
|primary-dev=
|support-dev=
|support-dev=
|publisher=
|writer=
|writer=
|composer=
|composer=
|publisher=
|engine=
|engine=
|platform=
|platform=
Line 96: Line 38:
|modes=
|modes=
|rating=
|rating=
}}</pre>
}}
</pre>


[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Revision as of 12:16, March 22, 2024

Game infobox
 

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=
}}