Difference between revisions of "Template:Infobox command structure2"

From Linking experiences of World War One
Jump to: navigation, search
(test)
 
m (testing row for citations)
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{military navigation
+
<includeonly>{| class="wikitable" style="float:right;clear:right;max-width:30%;margin-left:1em"
|raw_name = {{{raw_name|}}}
+
!colspan="2" style="background-color: #b0c4de;text-align: center;"|Command structure
|title    = {{{name|{{PAGENAME}}}}} {{#if:{{{date|}}}|({{{date}}})}}
+
|-
|bodyclass= {{{bodyclass|}}}
+
!Relationship type:
|group1  = {{#if:{{{parent|}}}|Parent unit}}
+
|{{{relationship_type|unknown}}}
|list1    = {{#if:{{{parent|}}}|{{{parent}}}}}
+
{{#if:{{{parent|}}}
|group2  = {{#if:{{{subordinate|}}}|Components}}
+
|{{!}}-
|list2    = {{#if:{{{subordinate|}}}|{{{subordinate}}}}}
+
!Parent unit:
}}</includeonly><noinclude>
+
{{!}}[[{{{parent}}}]]
{{documentation}}
+
{{!}}-
</noinclude>
+
!Parent level:
 +
{{!}}{{{parent_level|}}}
 +
|}}
 +
{{#if:{{{subordinate|}}}
 +
|{{!}}-
 +
!Subordinate unit:
 +
{{!}}[[{{{subordinate}}}]]
 +
{{!}}-
 +
!Subordinate level:
 +
{{!}}{{{subordinate_level|}}}
 +
|}}
 +
|-
 +
!Start date:
 +
|{{{command_start_date|unknown}}}
 +
|-
 +
!End date:
 +
|{{{command_end_date|unknown}}}
 +
|- class="sourcerow"
 +
!Sources:
 +
|{{#if:{{{ref|}}}|{{#tag:ref|{{{ref|}}}}}|}}
 +
|}</includeonly><noinclude>This is for testing only. For live unit pages, use {{tl|infobox command structure}}.</noinclude>

Latest revision as of 10:27, 14 April 2017

This is for testing only. For live unit pages, use {{infobox command structure}}.