Template:Armor infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "\| class="infoboxfooter" colspan="2" \|  ↵\|}" to "{{Infobox|end}}")
m (Text replacement - "{{#if:({{{[^\|}\n]+\|}}})\|↵{{!}} class="infoboxlabel" style="[^\n"]+" {{!}}↵([^\n]+):↵{{!}} class="infoboxcell" style="[^\n"]+" {{!}}↵{{{[^\|}\n]+\|?}}}↵}}↵\|-" to "{{Infobox|entry|title=$2|content=$1}}")
Line 10: Line 10:
}}
}}
|-
|-
{{#if:{{{manufacturer|}}}|
{{Infobox|entry|title={{{manufacturer-title|Manufacturer(s)}}}|content={{{manufacturer|}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{testsite-title|Testing site(s)}}}|content={{{testsite|}}}}}
{{{manufacturer-title|Manufacturer(s)}}}:
{{Infobox|entry|title={{{type-title|Type}}}|content={{{type|}}}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{role-title|Role(s)}}}|content={{{role|}}}}}
{{{manufacturer}}}
{{Infobox|entry|title={{{misc1-title|}}}|content={{{misc1|}}}}}
}}
{{Infobox|entry|title={{{misc2-title|}}}|content={{{misc2|}}}}}
|-
{{#if:{{{testsite|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{testsite-title|Testing site(s)}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{testsite}}}
}}
|-
{{#if:{{{type|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{type-title|Type}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{type}}}
}}
|-
{{#if:{{{role|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{role-title|Role(s)}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{role}}}
}}
|-
{{#if:{{{misc1|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{misc1-title|}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{misc1}}}
}}
|-
{{#if:{{{misc2|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{misc2-title|}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{misc2}}}
}}
|-
{{#if:{{{hideb|}}}||
{{#if:{{{hideb|}}}||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#5D8AA8}}}" {{!}} {{{section2-title|Technical specifications}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#5D8AA8}}}" {{!}} {{{section2-title|Technical specifications}}}
}}
}}
|-
|-
{{#if:{{{weight|}}}|
{{Infobox|entry|title={{{weight-title|Weight}}}|content={{{weight|}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{features-title|Feature(s)}}}|content={{{features|}}}}}
{{{weight-title|Weight}}}:
{{Infobox|entry|title={{{misc3-title|}}}|content={{{misc3|}}}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{misc4-title|}}}|content={{{misc4|}}}}}
{{{weight}}}
}}
|-
{{#if:{{{features|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{features-title|Feature(s)}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{features}}}
}}
|-
{{#if:{{{misc3|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{misc3-title|}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{misc3}}}
}}
|-
{{#if:{{{misc4|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{misc4-title|}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{misc4}}}
}}
|-
{{Infobox|end}}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Armor {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</includeonly><noinclude>
{{Infobox|end}}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Armor {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</includeonly><noinclude>
__NOTOC__{{clear}}
__NOTOC__{{clear}}

Revision as of 16:39, August 28, 2023

Armor infobox
Production overview
Technical specifications
 

Usage

This is an infobox for technical and usage information on specific, armor sets.

{{Armor infobox
|name=
|image=
|manufacturer=
|testsite=
|type=
|role=
|weight=
|features=
}}

Custom parameters

The following allows you to alter the title of the sub-sections

|image-title=
|manufacturer-title=
|testsite-title=
|type-title=
|role-title=
|weight-title=
|features-title=

Miscellaneous subsections

This infobox has up to four miscellaneous subsection, two on each section. Do note that the titles for these subsections need to be specified.

|misc1-title=
|misc1=
|misc2-title=
|misc2=
|misc3-title=
|misc3=
|misc4-title=
|misc4=

Display parameters

The following allows you to hide the section header

  • hidea (hides Production section header)
  • hideb (hides Specs section header)
|hidea=
|hideb=