Difference between revisions of "Template:Infobox unit"

From 7th Cavalry Wiki
Jump to navigation Jump to search
(Undo revision 11499 by Jay.M (talk))
Tag: Undo
 
(40 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{| cellpadding="4" width="17%" style="float:right; 1em auto 1em auto; border: 1px solid #aaaaaa; background:#f9f9f9; font-size:85%;"
+
<noinclude>[[Category:Templates]]</noinclude>
 +
<includeonly>[[Category:Unit Organization]]</includeonly>
 +
{| cellpadding="4" width="17%" style="float:right; margin:3px; 1em auto 1em auto; border: 1px solid #aaaaaa; font-size:85%;"
 
|-
 
|-
 
| colspan="2" style="background:#cd5050; text-align:center" | '''{{{UnitName|Regimental HQ}}}'''
 
| colspan="2" style="background:#cd5050; text-align:center" | '''{{{UnitName|Regimental HQ}}}'''
|-
+
|-  
| colspan="2" style="border-bottom:1px solid #aaaaaa; text-align:center" | {{{UnitIMG|https://upload.wikimedia.org/wikipedia/commons/thumb/3/3e/7_Cav_Rgt_DUI.jpg/100px-7_Cav_Rgt_DUI.jpg}}}
+
| colspan="2" style="border-bottom:1px solid #aaaaaa; text-align:center" | [[File:{{{UnitIMG | Garryowen.png}}}]]
|- {{#if: {{{SupUnit|}}} | | style="display: none;" }}
 
! Superior Unit
 
| {{{SupUnit}}}
 
 
|-
 
|-
 
| colspan="2" style="background:#cd5050; text-align:center" | '''Staff'''
 
| colspan="2" style="background:#cd5050; text-align:center" | '''Staff'''
Line 15: Line 14:
 
! XO
 
! XO
 
| {{{XO|}}}
 
| {{{XO|}}}
|- {{#if: {{{DepLead|}}} | | style="display: none;" }}
+
|- {{#if: {{{COS|}}} | | style="display: none;" }}
 +
! COS
 +
| {{{COS|}}}
 +
|- {{#if: {{{ROO|}}} | | style="display: none;" }}
 +
! ROO
 +
| {{{ROO|}}}
 +
|- {{#if: {{{AG|}}} | | style="display: none;" }}
 +
! AG
 +
| {{{AG|}}}
 +
|- {{#if: {{{CSM|}}} | | style="display: none;" }}
 +
! CSM
 +
| {{{CSM|}}}
 +
|- {{#if: {{{IMO|}}} | | style="display: none;" }}
 +
! IMO
 +
| {{{IMO|}}}
 +
|- {{#if: {{{SGM|}}} | | style="display: none;" }}
 +
! SGM
 +
| {{{SGM|}}}
 +
|- {{#if: {{{1SG|}}} | | style="display: none;" }}
 +
! 1SG
 +
| {{{1SG|}}}
 +
|- {{#if: {{{NCO|}}} | | style="display: none;" }}
 
! NCO
 
! NCO
| {{{1SG|}}}
+
| {{{NCO|}}}
|- {{#if: {{{RepUnit|}}} | | style="display: none;" }}
+
|- {{#if: {{{AIDE|}}} | | style="display: none;" }}
! colspan="2" style="background:#cd5050; text-align:center" | Reporting Units
+
! Aide to {{{UnitName}}}
 +
| {{{AIDE|}}}
 +
|- {{#if: {{{IC|}}} | | style="display: none;" }}
 +
! IC
 +
| {{{IC|}}}
 +
|- {{#if: {{{2IC|}}} | | style="display: none;" }}
 +
! 2IC
 +
| {{{2IC|}}}
 +
|- {{#if: {{{PL|}}} | | style="display: none;" }}
 +
! PL
 +
| {{{PL|}}}
 +
|- {{#if: {{{PSG|}}} | | style="display: none;" }}
 +
! PSG
 +
| {{{PSG|}}}
 +
|-
 +
! colspan="2" style="background:#cd5050; text-align:center" | Hierarchy
 +
|- {{#if: {{{SupUnit|}}} | | style="display: none;" }}
 +
! Superior Unit
 +
| {{{SupUnit}}}
 +
|-
 
|- {{#if: {{{RepUnit|}}} | | style="display: none;" }}
 
|- {{#if: {{{RepUnit|}}} | | style="display: none;" }}
 +
!Reporting Units
 
| {{{RepUnit|}}}
 
| {{{RepUnit|}}}
 +
|-
 +
! colspan="2" style="background:#cd5050; text-align:center" | Esprit De Corps
 +
|- {{#if: {{{UnitMotto|}}} | | style="display: none;" }}
 +
! Unit Motto
 +
| {{{UnitMotto}}}
 
|}
 
|}
  
Line 31: Line 76:
 
| style="color:#000; padding: 2px 5px" |  
 
| style="color:#000; padding: 2px 5px" |  
 
===Usage===
 
===Usage===
If this were a real template, the documentation would go here, along with a few examples on how to use it.  
+
The Infobox Unit is used to standardise any and all Unit related Information Fields. It is last edited by Windeck.S and any questions can be send to the WAG.
  
 
===TemplateData===
 
===TemplateData===
Line 42: Line 87:
 
|UnitName || Regimental HQ
 
|UnitName || Regimental HQ
 
|-
 
|-
|UnitIMG || Gary Owen Image
+
|UnitIMG || Garryowen.png
 
|-
 
|-
 
|SupUnit || N/A
 
|SupUnit || N/A
Line 49: Line 94:
 
|-
 
|-
 
|XO || N/A
 
|XO || N/A
 +
|-
 +
|COS|| N/A
 +
|-
 +
|ROO|| N/A
 +
|-
 +
|AG|| N/A
 +
|-
 +
|CSM|| N/A
 +
|-
 +
|IMO|| N/A
 +
|-
 +
|SGM || N/A
 
|-
 
|-
 
|1SG || N/A
 
|1SG || N/A
 
|-
 
|-
|RepUnit ||  
+
|NCO || N/A
 +
|-
 +
|AIDE || N/A
 +
|-
 +
|IC || N/A
 +
|-
 +
|2IC || N/A
 +
|-
 +
|PL || N/A
 +
|-
 +
|PSG || N/A
 +
|-
 +
|RepUnit || N/A
 +
|-
 +
|UnitMotto || N/A
 +
|-
 
|}
 
|}
  
 
</noinclude>
 
</noinclude>

Latest revision as of 10:46, 26 March 2024


Regimental HQ
Garryowen.png
Staff
CO
XO
COS
ROO
AG
CSM
IMO
SGM
1SG
NCO
Aide to {{{UnitName}}}
IC
2IC
PL
PSG
Hierarchy
Superior Unit {{{SupUnit}}}
Reporting Units
Esprit De Corps
Unit Motto {{{UnitMotto}}}


Template Documentation

Usage

The Infobox Unit is used to standardise any and all Unit related Information Fields. It is last edited by Windeck.S and any questions can be send to the WAG.

TemplateData

ParameterName Default Value
UnitName Regimental HQ
UnitIMG Garryowen.png
SupUnit N/A
CO N/A
XO N/A
COS N/A
ROO N/A
AG N/A
CSM N/A
IMO N/A
SGM N/A
1SG N/A
NCO N/A
AIDE N/A
IC N/A
2IC N/A
PL N/A
PSG N/A
RepUnit N/A
UnitMotto N/A