Template:Infobox command structure: Difference between revisions
Appearance
Remove extra TemplateStyles spacing in infoboxes |
Add Era field to infobox template |
||
| Line 8: | Line 8: | ||
|group2 = {{#if:{{{subordinate|}}}|Components}} | |group2 = {{#if:{{{subordinate|}}}|Components}} | ||
|list2 = {{#if:{{{subordinate|}}}|{{{subordinate}}}}} | |list2 = {{#if:{{{subordinate|}}}|{{{subordinate}}}}} | ||
}}</includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox command structure with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox command structure]] with unknown parameter "_VALUE_"|ignoreblank=y| bodyclass | date | name | parent | raw_name | subordinate }}<noinclude> | |group3 = {{#if:{{{era|}}}|Era}} | ||
|list3 = {{{era|}}} | |||
}}</includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox command structure with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox command structure]] with unknown parameter "_VALUE_"|ignoreblank=y| bodyclass | date | name | parent | raw_name | subordinate | era }}<noinclude> | |||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 00:06, 11 July 2026
File:Test Template Info-Icon - Version (2).svg Template documentationviewedithistorypurge
| File:Lua-Logo.svg | This template uses Lua: |
Usage
Command structure box
[edit source]A command structure box may be used to summarize information about an individual military unit's parent and subordinate units; it should generally be used in conjunction with {{Infobox military unit}}. If needed, multiple boxes may be used to show the unit's command structure during different periods.
The box should be added using the {{Infobox command structure}} template, as shown below:
<syntaxhighlight lang="wikitext" style="overflow:auto; margin:0.5em">
</syntaxhighlight>
- name – the name of the unit or formation.
- date – optional – the dates during which the given structure was in place.
- parent – optional – the unit's parent unit.
- subordinate – optional – the unit's subordinate units.