Template:Unit infobox: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - "border-color:{{{lineBG\|([^\n}]+)}}}" {{!}} {{{image\|}}}" to "border-bottom:1px solid {{{lineBG|$1}}}" {{!}} {{{image|}}}") |
No edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Infobox|start|bg=#{{#switch:{{{variant}}}|Ban=933|Cov=96C|Human=3779AE|Forerunner=B3B3B3|555}}}} | |||
{{Infobox|title|name={{{name|}}}}} | |||
| | {{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg=#{{#switch:{{{variant}}}|Cov=BF94E4|Human=71A6D2|Forerunner=F2F2F2|777}}}} | ||
{{ | {{Infobox|entry|title={{{mission-title|Function}}}|content={{{mission|}}}}} | ||
{{Infobox|entry|title={{{leader-title|Leader}}}|content={{{leader|}}}}} | |||
{{Infobox|entry|title={{{species-title|Species}}}|content={{{species|}}}}} | |||
{{Infobox|entry|title={{{headquarters-title|Headquarters}}}|content={{{headquarters|}}}}} | |||
{{Infobox|entry|title={{{affiliation-title|Affiliation}}}|content={{{affiliation|}}}}} | |||
{{{mission-title|Function}}} | {{Infobox|entry|title={{{authority-title|{{#switch:{{{variant}}}|Cov=Ministry|Human=Operational authority|Authority}}}}}|content={{{authority|}}}}} | ||
{{Infobox|entry|title={{{branch-title|{{#switch:{{{variant}}}|Cov=Group|Branch}}}}}|content={{{branch|}}}}} | |||
{{{mission|}}} | {{Infobox|entry|title={{{role-title|Other role(s)}}}|content={{{role|}}}}} | ||
{{Infobox|entry|title={{{size-title|Size}}}|content={{{size|}}}}} | |||
{{ | <!-- {{Infobox|entry|title={{{equipment-title|Equipment}}}|content={{{equipment|}}}}} | ||
{{Infobox|entry|title={{{armament-title|Armament}}}|content={{{armament|}}}}} --> | |||
{{{leader-title|Leader}}} | {{Infobox|entry|title={{{notable-title|Notable individuals}}}|content={{{notable|}}}}} | ||
{{Infobox|entry|title={{{othernames-title|Also known as}}}|content={{{othernames|}}}}} | |||
{{{leader|}} | |||
{{Infobox|end}}<noinclude>{{clear}} | |||
{{ | |||
{{{species-title|Species}}} | |||
{{{species|}}} | |||
{{ | |||
{{{headquarters-title|Headquarters}}} | |||
{{{headquarters|}}} | |||
{{ | |||
{{{affiliation-title|Affiliation}}} | |||
{{{affiliation|}}} | |||
{{ | |||
{{{authority-title|{{#switch:{{{variant | |||
{{{authority|}} | |||
{{ | |||
{{{branch-title|{{#switch:{{{variant | |||
{{{branch|}}} | |||
{{ | |||
{{{role-title|Other role(s)}}} | |||
{{{role|}}} | |||
{{ | |||
{{{size-title|Size}}} | |||
{{{size|}}} | |||
<!-- {{ | |||
{{{equipment-title|Equipment}}} | |||
{{{equipment|}}} | |||
{{ | |||
{{{armament-title|Armament}}} | |||
{{{armament|}}} | |||
{{ | |||
{{{notable-title|Notable individuals}}} | |||
{{{notable|}}} | |||
{{ | |||
{{{othernames-title|Also known as}}} | |||
{{ | |||
==About== | ==About== | ||
Standardized for all faction use. | |||
<!-- #9966CC: Covenant, #3779AE: Ban. 993333: Human. #B3B3B3: Forerunner, #555: Others --> | <!-- #9966CC: Covenant, #3779AE: Ban. 993333: Human. #B3B3B3: Forerunner, #555: Others --> | ||
==Usage== | ==Usage== | ||
Line 117: | Line 48: | ||
|name= | |name= | ||
|<FIELD>-title= | |<FIELD>-title= | ||
</pre> | </pre> | ||
[[Category:Infobox templates]]</noinclude> | [[Category:Infobox templates]]</noinclude> |
Latest revision as of 11:30, August 29, 2023
Unit infobox | |
---|---|
About
Standardized 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=