Template:Game infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "class="([^"\n]+)" class="[^"\n]+"" to "class="$1"")
m (Text replacement - "{{pagetitle\|{{{pagename\|{{#if:{{{name\|}}}\|{{{name}}}\|{{PAGETITLE}}}}}}} - {{{pagelabel\|([^ ]+) {{#ifeq:{{SUBPAGENAME}}\|Silver\|\(Silver Timeline\)}}}}}}}" to "{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|$1}}}}}")
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" style="width:300px; color:{{{color1|#000}}}; background:{{{BG|#F2F3F4}}}; border:1px solid #B5B7CF" cellspacing="0"
{{Infobox|start}}
! class="infoboxheading" colspan="2" style="background:{{{BG|transparent}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|title|name={{{name|''{{PAGETITLE}}''}}}}}
|-
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}
{{#if:{{{image|}}}|
 
! class="infoboxmedia" colspan="2" style="background:{{{imageBG|transparent}}}" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{Infobox|entry|title=Developer(s)|content={{{developer|}}}}}
}}
{{Infobox|entry|title=Primary developer|content={{{primary-dev|}}}}}
|-
{{Infobox|entry|title=Support developer(s)|content={{{support-dev|}}}}}
{{#if:{{{developer|}}}|
{{Infobox|entry|title=Publisher(s)|content={{{publisher|}}}}}
{{!}} class="infoboxlabel" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title=Writer(s)|content={{{writer|}}}}}
'''Developer(s)''':
{{Infobox|entry|title=Composer(s)|content={{{composer|}}}}}
{{!}} class="infoboxcell" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{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="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title=Genre(s)|content={{{genre|}}}}}
'''Primary developer''':
{{Infobox|entry|title=Mode(s)|content={{{modes|}}}}}
{{!}} class="infoboxcell" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title=Rating(s)|content={{{rating|}}}}}
{{{primary-dev|}}}
 
{{!}}-|}}
{{Infobox|end}}<includeonly>{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|Game}}}}}</includeonly><noinclude>{{clear}}
{{#if:{{{support-dev|}}}|
{{!}} class="infoboxlabel" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''Support developer(s)''':
{{!}} class="infoboxcell" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{support-dev|}}}
{{!}}-|}}
{{#if:{{{publisher|}}}|
{{!}} class="infoboxlabel" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''Publisher(s)''':
{{!}} class="infoboxcell" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{publisher|}}}
{{!}}-|}}
{{#if:{{{writer|}}}|
{{!}} class="infoboxlabel" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''Writer(s)''':
{{!}} class="infoboxcell" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{writer|}}}
{{!}}-|}}
{{#if:{{{composer|}}}|
{{!}} class="infoboxlabel" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''Composer(s)''':
{{!}} class="infoboxcell" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{composer|}}}
{{!}}-|}}
{{!}}-|}}
{{#if:{{{engine|}}}|
{{!}} class="infoboxlabel" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''Engine''':
{{!}} class="infoboxcell" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{engine|}}}
{{!}}-|}}
{{#if:{{{platform|}}}|
{{!}} class="infoboxlabel" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''Platform(s)''':
{{!}} class="infoboxcell" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{platform|}}}
{{!}}-|}}
{{#if:{{{releasedate|}}}|
{{!}} class="infoboxlabel" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''Release date(s)''':
{{!}} class="infoboxcell" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{releasedate|}}}
{{!}}-|}}
{{#if:{{{canceldate|}}}|
{{!}} class="infoboxlabel" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''Cancellation date''':
{{!}} class="infoboxcell" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{canceldate|}}}
{{!}}-|}}
{{#if:{{{genre|}}}|
{{!}} class="infoboxlabel" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''Genre(s)''':
{{!}} class="infoboxcell" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{genre|}}}
{{!}}-|}}
{{#if:{{{modes|}}}|
{{!}} class="infoboxlabel" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''Mode(s)''':
{{!}} class="infoboxcell" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{modes|}}}
{{!}}-|}}
{{#if:{{{rating|}}}|
{{!}} class="infoboxlabel" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''Rating(s)''':
{{!}} class="infoboxcell" style="background:{{{sectionBG|#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__
==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 98: Line 28:
|primary-dev=
|primary-dev=
|support-dev=
|support-dev=
|publisher=
|writer=
|writer=
|composer=
|composer=
|publisher=
|engine=
|engine=
|platform=
|platform=
Line 108: 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=
}}