Difference between revisions of "Template:Infobox command structure"

From blackwiki
Jump to navigation Jump to search
imported>Kirill Lokshin
(Update to standard style)
imported>Kirill Lokshin
(Try using standard formatting)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{| {{WPMILHIST Infobox style|main_box}}
+
{{military navigation
|-
+
|raw_name = {{{raw_name|}}}
! colspan="2" {{WPMILHIST Infobox style|header_bar}} | {{{name|{{PAGENAME}}}}} {{#if:{{{date|}}}|({{{date}}})}}
+
|name    = {{{name|{{PAGENAME}}}}} {{#if:{{{date|}}}|({{{date}}})}}
|-
+
|group1  = {{#if:{{{parent|}}}|Parent unit}}
{{#if:{{{parent|}}}|
+
|list1    = {{#if:{{{parent|}}}|{{{parent}}}}}
! style="padding-right: 1em;" {{!}} Parent&nbsp;unit
+
|group2  = {{#if:{{{subordinate|}}}|Components}}
{{!}} {{{parent}}}
+
|list2    = {{#if:{{{subordinate|}}}|{{{subordinate}}}}}
}}
+
}}</includeonly><noinclude>
|-
 
{{#if:{{{subordinate|}}}|
 
! style="{{#if:{{{parent|}}}|border-top: {{WPMILHIST Infobox style|internal_border}}}} padding-right: 1em;" {{!}} Components
 
{{!}} {{#if:{{{parent|}}}|style="border-top: {{WPMILHIST Infobox style|internal_border}}"}} {{!}} {{{subordinate}}}
 
}}
 
|}</includeonly><noinclude>
 
 
{{template doc}}
 
{{template doc}}
 
</noinclude>
 
</noinclude>

Revision as of 12:20, 16 June 2009

Template documentation[view] [edit] [history] [purge]

Usage

Command structure box

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:

{{Infobox command structure
| name = 
| date =
| parent =
| subordinate =
}}

Note: When using parameters, avoid the ambiguous abbreviation "N/A", and instead use "unknown" or "none". All subjective or qualitative judgements and numerical quantities or statistics must be cited to a reliable source (see WP:MILMOS#CITE).

  • name – the name of the unit or formation.
  • dateoptional – the dates during which the given structure was in place.
  • parentoptional – the unit's parent unit.
  • subordinateoptional – the unit's subordinate units.