Template:Unit infobox: Difference between revisions
From Halopedia, the Halo wiki
BaconShelf (talk | contribs) m (→Usage) |
Covenant PhD (talk | contribs) No edit summary |
||
Line 7: | Line 7: | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{mission|}}}| | |||
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding-left:4px; line-height:14px; width:70px;" {{!}} | |||
'''{{{mission-title|Function}}}''': | |||
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; line-height:14px;" {{!}} | |||
{{{mission|}}} | |||
{{!}}-}} | |||
{{#if:{{{leader|}}}| | |||
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding-left:4px; line-height:14px; width:70px;" {{!}} | |||
'''{{{leader-title|Leader}}}''': | |||
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; line-height:14px;" {{!}} | |||
{{{leader|}}} | |||
{{!}}-}} | |||
{{#if:{{{species|}}}| | {{#if:{{{species|}}}| | ||
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding-left:4px; line-height:14px; width:70px;" {{!}} | {{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding-left:4px; line-height:14px; width:70px;" {{!}} | ||
Line 12: | Line 24: | ||
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; line-height:14px;" {{!}} | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; line-height:14px;" {{!}} | ||
{{{species|}}} | {{{species|}}} | ||
{{!}}-}} | |||
{{#if:{{{headquarters|}}}| | |||
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding-left:4px; line-height:14px; width:70px;" {{!}} | |||
'''{{{headquarters-title|Headquarters}}}''': | |||
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; line-height:14px;" {{!}} | |||
{{{headquarters|}}} | |||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{affiliation|}}}| | {{#if:{{{affiliation|}}}| | ||
Line 30: | Line 48: | ||
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; line-height:14px;" {{!}} | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; line-height:14px;" {{!}} | ||
{{{branch|}}} | {{{branch|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{role|}}}| | {{#if:{{{role|}}}| | ||
Line 85: | Line 97: | ||
{{Unit infobox|variant= <specify Cov, Ban, Human, Forerunner. No value makes infobox grey> | {{Unit infobox|variant= <specify Cov, Ban, Human, Forerunner. No value makes infobox grey> | ||
|image= | |image= | ||
|mission= | |||
|leader= | |||
|species= | |species= | ||
| | |headquarters= | ||
|authority= | |authority= | ||
|branch= | |branch= | ||
| | |affiliation= | ||
|role= | |role= | ||
|size= | |size= |
Revision as of 15:27, December 13, 2021
Unit infobox | |
---|---|
About
Standardised for all faction use.
Usage
Paste the following code into the top of an article, filling all known fields:
- Note: adding 'Cov' in the "variant" field will set every title using Covenant standards (i.e. Group as opposed to Branch, Ministry as opposed to Operational authority). The opposite is the same if 'Human' is added instead.
{{Unit infobox|variant= <specify Cov, Ban, Human, Forerunner. No value makes infobox grey> |image= |mission= |leader= |species= |headquarters= |authority= |branch= |affiliation= |role= |size= |notable= |othernames= }}
Custom parameters
The following are custom parameters that allows you to alter the infobox
|name= |<FIELD>-title= |imageBG= |nameBG= |sectionBG= |fieldBG=