Template:Armor infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "<div style="clear:both">{{{caption}}}</div>" to "<div>{{{caption}}}</div>")
m (Text replacement - "text-align: *center; " to "")
Line 1: Line 1:
{| class="infobox" cellspacing="0" style="width:300px; background:{{{BG|#334B5B}}}; color:{{{color1|#000}}}"
{| class="infobox" cellspacing="0" style="width:300px; background:{{{BG|#334B5B}}}; color:{{{color1|#000}}}"
{{!}}-
{{!}}-
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#FFFFFF}}}; text-align:center; font-size:120%" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#FFFFFF}}}; font-size:120%" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{!}}-
{{!}}-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
! style="background:{{{imageBG|#F0F8FF}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}}" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div>{{{caption}}}</div>}}
! style="background:{{{imageBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div>{{{caption}}}</div>}}
}}
}}
{{!}}-
{{!}}-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
! colspan="2" style="font-size:90%; color:{{{color2|#FFFFFF}}}; text-align:center; background:{{{sectionBG|#5D8AA8}}}" {{!}} {{{section1-title|Production overview}}}}}
! colspan="2" style="font-size:90%; color:{{{color2|#FFFFFF}}}; background:{{{sectionBG|#5D8AA8}}}" {{!}} {{{section1-title|Production overview}}}}}
{{!}}-
{{!}}-
{{#if:{{{manufacturer|}}}|
{{#if:{{{manufacturer|}}}|
Line 47: Line 47:
{{!}}-}}
{{!}}-}}
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
! colspan="2" style="font-size:90%; color:{{{color2|#FFFFFF}}}; text-align:center; background:{{{sectionBG|#5D8AA8}}}" {{!}} {{{section2-title|Technical specifications}}}}}
! colspan="2" style="font-size:90%; color:{{{color2|#FFFFFF}}}; background:{{{sectionBG|#5D8AA8}}}" {{!}} {{{section2-title|Technical specifications}}}}}
{{!}}-
{{!}}-
{{#if:{{{weight|}}}|
{{#if:{{{weight|}}}|
Line 73: Line 73:
{{{misc4|}}}
{{{misc4|}}}
{{!}}-}}
{{!}}-}}
| colspan="2" style="text-align:center; background:{{{BG|transparent}}}; padding:0; font-size:1px; line-height:10px" | &nbsp;
| colspan="2" style="background:{{{BG|transparent}}}; padding:0; font-size:1px; line-height:10px" | &nbsp;
|}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Armor {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</includeonly><noinclude>
|}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Armor {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</includeonly><noinclude>
__NOTOC__{{clear}}
__NOTOC__{{clear}}

Revision as of 09:50, September 15, 2022

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=