Difference between revisions of "Template:Infobox military unit"
Jump to navigation
Jump to search
imported>Kirill Lokshin (Allow separate start/end dates) |
imported>Kirill Lokshin (Generalized commander parameters) |
||
| Line 106: | Line 106: | ||
}} | }} | ||
|- | |- | ||
| − | {{#if:{{{current_commander|}}}{{{ceremonial_chief|}}}{{{colonel_of_the_regiment|}}}{{{notable_commanders|}}} | | + | {{#if:{{{commander1|}}}{{{commander2|}}}{{{commander3|}}}{{{current_commander|}}}{{{ceremonial_chief|}}}{{{colonel_of_the_regiment|}}}{{{notable_commanders|}}} | |
! colspan="2" style="background: lightsteelblue; text-align: center;" {{!}} Commanders | ! colspan="2" style="background: lightsteelblue; text-align: center;" {{!}} Commanders | ||
}} | }} | ||
|- | |- | ||
| − | {{#if:{{{current_commander|}}} | | + | {{#if:{{{commander1|}}}{{{current_commander|}}} | |
| − | ! style="padding-right: 1em;" {{!}} {{#if:{{{current_commander_label|}}}|{{{current_commander_label|}}}|Current<br>commander}} | + | ! style="padding-right: 1em;" {{!}} {{#if:{{{commander1_label|}}}|{{{commander1_label|}}}|{{#if:{{{current_commander_label|}}}|{{{current_commander_label|}}}|Current<br>commander}}}} |
| − | {{!}} {{{current_commander|}}} | + | {{!}} {{#if:{{{commander1|}}}|{{{commander1|}}}|{{{current_commander|}}}}} |
}} | }} | ||
|- | |- | ||
| − | {{#if:{{{ceremonial_chief|}}} | | + | {{#if:{{{commander2|}}}{{{ceremonial_chief|}}} | |
| − | ! style="padding-right: 1em;" {{!}} {{#if:{{{ceremonial_chief_label|}}}|{{{ceremonial_chief_label|}}}|Ceremonial chief}} | + | ! style="padding-right: 1em;" {{!}} {{#if:{{{commander2_label|}}}|{{{commander2_label|}}}|{{#if:{{{ceremonial_chief_label|}}}|{{{ceremonial_chief_label|}}}|Ceremonial chief}}}} |
| − | {{!}} {{{ceremonial_chief|}}} | + | {{!}} {{#if:{{{commander2|}}}|{{{commander2|}}}|{{{ceremonial_chief|}}}}} |
}} | }} | ||
|- | |- | ||
| − | {{#if:{{{colonel_of_the_regiment|}}} | | + | {{#if:{{{commander3|}}}{{{colonel_of_the_regiment|}}} | |
| − | ! style="padding-right: 1em;" {{!}} {{#if:{{{colonel_of_the_regiment_label|}}}|{{{colonel_of_the_regiment_label|}}}|Colonel of<br>the Regiment}} | + | ! style="padding-right: 1em;" {{!}} {{#if:{{{commander3_label|}}}|{{{commander3_label|}}}|{{#if:{{{colonel_of_the_regiment_label|}}}|{{{colonel_of_the_regiment_label|}}}}}|Colonel of<br>the Regiment}} |
| − | {{!}} {{{colonel_of_the_regiment|}}} | + | {{!}} {{#if:{{{commander3|}}}|{{{commander3|}}}|{{{colonel_of_the_regiment|}}}}} |
}} | }} | ||
|- | |- | ||
Revision as of 21:53, 6 February 2007
| This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
{{Wikipedia:WikiProject Military history/Military unit infobox}}