Template:Armor infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "style="([^"\n]+)" class="([^"\n]+)" colspan="([^"\n]+)"" to "class="$2" colspan="$3" style="$1"")
m (Text replacement - "dummy edit" to "Category:Infobox templates")
Tag: Manual revert
 
(30 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" style="width:300px; background:{{{BG|#334B5B}}}; color:{{{color1|#000}}}" cellspacing="0"
{{Infobox|start|bg=#334B5B}}
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|title|name={{{name|}}}}}
{{!}}-
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg=#F0F8FF}}
{{#if:{{{image|}}}|
 
! style="background:{{{imageBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999}}}" colspan="2" class="infoboxmedia" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{Infobox|section|title={{{section1-title|Production overview}}}|bg=#5D8AA8|entries=
{{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|}}}}}
}}
 
{{Infobox|section|title={{{section2-title|Technical specifications}}}|bg=#5D8AA8|entries=
{{Infobox|entry|title={{{weight-title|Weight}}}|content={{{weight|}}}}}
{{Infobox|entry|title={{{features-title|Feature(s)}}}|content={{{features|}}}}}
{{Infobox|entry|title={{{misc3-title|}}}|content={{{misc3|}}}}}
{{Infobox|entry|title={{{misc4-title|}}}|content={{{misc4|}}}}}
}}
}}
{{!}}-
 
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{Infobox|end}}<includeonly>{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|Armor}}}}}</includeonly><noinclude>{{clear}}
! colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#5D8AA8}}}" class="infoboxsubheading" {{!}} {{{section1-title|Production overview}}}}}
==Usage instructions==
{{!}}-
{{#if:{{{manufacturer|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{manufacturer-title|Manufacturer(s)}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{manufacturer|}}}
{{!}}-}}
{{#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|}}}|{{!}}-|{{!}}-
! colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#5D8AA8}}}" class="infoboxsubheading" {{!}} {{{section2-title|Technical specifications}}}}}
{{!}}-
{{#if:{{{weight|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{weight-title|Weight}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{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|}}}
{{!}}-}}
| class="infoboxfooter" colspan="2" | &nbsp;
|}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Armor {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</includeonly><noinclude>
__NOTOC__{{clear}}
==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
Line 87: Line 33:
|weight=
|weight=
|features=
|features=
}}</pre>
}}
</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=
|image-title=
Line 103: Line 51:
=== Miscellaneous subsections ===
=== 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.
This infobox has up to four miscellaneous subsection, two on each section. Do note that the titles for these subsections need to be specified.
<pre>
<pre>
|misc1-title=
|misc1-title=
Line 114: Line 63:
</pre>
</pre>


==Display parameters==
The following allows you to hide the section header
*hidea (hides Production section header)
*hideb (hides Specs section header)
<pre>
|hidea=
|hideb=
</pre>
[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Latest revision as of 10:10, June 14, 2024

Armor infobox
 

Usage instructions

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=