Template:Armor infobox: Difference between revisions

From Halopedia, the Halo wiki

m (I think I got it right this time, if not pardon my dust)
m (Text replacement - "{{pagetitle\|{{{pagename\|{{#if:{{{name\|}}}\|{{{name}}}\|{{PAGETITLE}}}}}}} - {{{pagelabel\|([^ ]+) {{#ifeq:{{SUBPAGENAME}}\|Silver\|\(Silver Timeline\)}}}}}}}" to "{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|$1}}}}}")
 
(92 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{| cellspacing="0" cellpadding="0" border="0" style="float:right; clear:right; width:260px; margin:6px; padding:2px; background:{{{BG|#334B5B}}}; border-radius: 0 0 .7em .7em; -moz-border-radius: 0 0 .7em .7em; -webkit-border-radius: 0 0 .7em .7em; -ms-border-radius: 0 0 .7em .7em; -o-border-radius: 0 0 .7em .7em;  color:{{{color1|inherit}}};"
{{Infobox|start|bg=#334B5B}}
{{!}}-
{{Infobox|title|name={{{name|}}}}}
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#FFFFFF}}}; text-align:center; font-size:120%;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg=#F0F8FF}}
{{!}}-
 
{{#if:{{{image|}}}|
{{Infobox|section|title={{{section1-title|Production overview}}}|bg=#5D8AA8|entries=
! style="background:{{{imageBG|#F0F8FF}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}};" colspan="2" {{!}} {{{image|}}}
{{Infobox|entry|title={{{manufacturer-title|Manufacturer(s)}}}|content={{{manufacturer|}}}}}
{{Infobox|entry|title={{{testsite-title|Testing site(s)}}}|content={{{testsite|}}}}}
{{Infobox|entry|title={{{type-title|Type}}}|content={{{type|}}}}}
{{Infobox|entry|title={{{role-title|Role(s)}}}|content={{{role|}}}}}
{{Infobox|entry|title={{{misc1-title|}}}|content={{{misc1|}}}}}
{{Infobox|entry|title={{{misc2-title|}}}|content={{{misc2|}}}}}
}}
}}
{{!}}-
 
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{Infobox|section|title={{{section2-title|Technical specifications}}}|bg=#5D8AA8|entries=
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#FFFFFF}}}; text-align:center; background:{{{sectionBG|#5D8AA8}}}" {{!}} {{{section1-title|Production information}}}}}
{{Infobox|entry|title={{{weight-title|Weight}}}|content={{{weight|}}}}}
{{!}}-
{{Infobox|entry|title={{{features-title|Feature(s)}}}|content={{{features|}}}}}
{{#if:{{{manufacturer|}}}|
{{Infobox|entry|title={{{misc3-title|}}}|content={{{misc3|}}}}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{Infobox|entry|title={{{misc4-title|}}}|content={{{misc4|}}}}}
'''{{{manufacturer-title|Manufacturer(s)}}}''':
}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
 
{{{manufacturer|}}}
{{Infobox|end}}<includeonly>{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|Armor}}}}}</includeonly><noinclude>{{clear}}
{{!}}-}}
{{#if:{{{developmentlocation|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{developmentlocation-title|Development location}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{developmentlocation|}}}
{{!}}-}}
{{#if:{{{testsite|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{testsite-title|Test site}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{testsite|}}}
{{!}}-}}
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#FFFFFF}}}; text-align:center; background:{{{sectionBG|#5D8AA8}}}" {{!}} {{{section2-title|Technical specifications}}}}}
{{!}}-
{{#if:{{{type|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{type-title|Type(s)}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{type|}}}
{{!}}-}}
{{#if:{{{role|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{role-title|Role(s)}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{role|}}}
{{!}}-}}
{{#if:{{{shielding|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{shielding-title|Shielding}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{shielding|}}}
{{!}}-}}
{{#if:{{{bios|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{bios-title|bios}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{bios|}}}
{{!}}-}}
{{#if:{{{hidec|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#FFFFFF}}}; text-align:center; background:{{{sectionBG|#5D8AA8}}}" {{!}} {{{section3-title|Chronological and affiliation}}}}}
{{!}}-
{{#if:{{{era|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{era-title|Era}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{era|}}}
{{!}}-}}
{{#if:{{{firstuse|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{firstuse-title|First Use}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{firstuse|}}}
{{!}}-}}
{{#if:{{{affiliation|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{affiliation-title|Affiliation}}}:'''
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{affiliation|}}}
{{!}}-}}
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px; line-height:10px;" |&nbsp;
|}<includeonly>[[Category:Armor|{{PAGENAME}}]]</includeonly><noinclude>
__NOTOC__{{clear}}
==Usage==
==Usage==
This is an infobox for technical and usage information on specific, armor sets.
This is an infobox for technical and usage information on specific, armor sets.
<pre>
<pre>
{{Armor Infobox
{{Armor infobox
|name=
|name=
|image=
|image=
|manufacturer=
|manufacturer=
|developmentlocation=
|testsite=
|testsite=
|type=
|type=
|role=
|role=
|shielding=
|weight=
|bios=
|features=
|era=
}}
|firstuse=
</pre>
|affiliation=
}}</pre>


==Custom parameters==
==Custom parameters==
The following allows you to alter the title of the sub-sections
The following allows you to alter the title of the sub-sections
<pre>
<pre>
|image-title=
|manufacturer-title=
|manufacturer-title=
|developmentlocation-title=
|testsite-title=
|type=
|type-title=
|role-title=
|role-title=
|shielding-title=
|weight-title=
|bios-title=
|features-title=
|era-title=
|firstuse-title=
|affiliation-title=
</pre>
</pre>


==Display parameters==
=== Miscellaneous subsections ===
The following allows you to hide the section header
This infobox has up to four miscellaneous subsection, two on each section. Do note that the titles for these subsections need to be specified.
*hidea (hides Production section header)
*hideb (hides Specs section header)
*hidec (hides Service section header)


<pre>
<pre>
|hidea=
|misc1-title=
|hideb=
|misc1=
|hidec=
|misc2-title=
|misc2=
|misc3-title=
|misc3=
|misc4-title=
|misc4=
</pre>
</pre>
[[Category:Infoboxes|{{PAGENAME}}]]
 
</noinclude>
[[Category:Infobox templates]]</noinclude>

Latest revision as of 12:14, March 22, 2024

Armor infobox
 

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=