Template:Armor infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "{{#if:({{{[^\|}\n]+\|}}})\|↵{{!}} class="infoboxlabel" style="[^\n"]+" {{!}}↵([^\n]+):↵{{!}} class="infoboxcell" style="[^\n"]+" {{!}}↵{{{[^\|}\n]+\|?}}}↵}}↵\|-" to "{{Infobox|entry|title=$2|content=$1}}")
m (Text replacement - "dummy edit" to "Category:Infobox templates")
Tag: Manual revert
 
(13 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|}}}|
 
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999}}}" {{!}} {{{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|}}}}}
}}
}}
|-
 
{{#if:{{{hidea|}}}||
{{Infobox|section|title={{{section2-title|Technical specifications}}}|bg=#5D8AA8|entries=
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#5D8AA8}}}" {{!}} {{{section1-title|Production overview}}}
{{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|}}}}}
}}
}}
|-
 
{{Infobox|entry|title={{{manufacturer-title|Manufacturer(s)}}}|content={{{manufacturer|}}}}}
{{Infobox|end}}<includeonly>{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|Armor}}}}}</includeonly><noinclude>{{clear}}
{{Infobox|entry|title={{{testsite-title|Testing site(s)}}}|content={{{testsite|}}}}}
==Usage instructions==
{{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:{{{hideb|}}}||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#5D8AA8}}}" {{!}} {{{section2-title|Technical specifications}}}
}}
|-
{{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|}}}}}
{{Infobox|end}}<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.


Line 39: Line 33:
|weight=
|weight=
|features=
|features=
}}</pre>
}}
</pre>


==Custom parameters==
==Custom parameters==
Line 66: Line 61:
|misc4-title=
|misc4-title=
|misc4=
|misc4=
</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>
</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=