Difference between revisions of "Template:Infobox department"

From 7th Cavalry Wiki
Jump to navigation Jump to search
 
(15 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>[[Category:Unit Organisation]][[Category:Staff Departments]]</includeonly>
+
<includeonly>[[Category:Unit Organization]][[Category:Staff Departments]]</includeonly>
 
<noinclude>[[Category:Templates]]</noinclude>
 
<noinclude>[[Category:Templates]]</noinclude>
 
{| cellpadding="4" width="17%" style="float:right; 1em auto 1em auto; border: 1px solid #aaaaaa; background:#f9f9f9; font-size:85%;"
 
{| cellpadding="4" width="17%" style="float:right; 1em auto 1em auto; border: 1px solid #aaaaaa; background:#f9f9f9; font-size:85%;"
 
|-
 
|-
| colspan="2" style="background:#ff8c00; text-align:center" | '''{{{DepName | DEMO DEPARTMENT}}}'''
+
| colspan="2" style="background:#ffcc00; text-align:center" | '''{{{DepName | DEMO DEPARTMENT}}}'''
 
|-
 
|-
 
| colspan="2" style="border-bottom:1px solid #aaaaaa; text-align:center" | [[File:{{{DepImg | S1.png}}}|100px]]
 
| colspan="2" style="border-bottom:1px solid #aaaaaa; text-align:center" | [[File:{{{DepImg | S1.png}}}|100px]]
Line 13: Line 13:
 
|''{{{DepMotto|}}}''
 
|''{{{DepMotto|}}}''
 
|-
 
|-
| colspan="2" style="background:#ffa500; text-align:center" | '''HQ Staff'''
+
| colspan="2" style="background:#ffcc00; text-align:center" | '''HQ Staff'''
 
|- {{#if: {{{DepLead|}}} | | style="display: none;" }}
 
|- {{#if: {{{DepLead|}}} | | style="display: none;" }}
 
! Lead
 
! Lead
 
| {{{DepLead}}}
 
| {{{DepLead}}}
 
|- {{#if: {{{DepOIC|}}} | | style="display: none;" }}
 
|- {{#if: {{{DepOIC|}}} | | style="display: none;" }}
! OIC
+
! 1IC
 
| {{{DepOIC}}}
 
| {{{DepOIC}}}
 
|- {{#if: {{{DepXO|}}} | | style="display: none;" }}
 
|- {{#if: {{{DepXO|}}} | | style="display: none;" }}
! XO
+
! 2IC
 
| {{{DepXO}}}
 
| {{{DepXO}}}
 
|- {{#if: {{{DepNCOIC|}}} | | style="display: none;" }}
 
|- {{#if: {{{DepNCOIC|}}} | | style="display: none;" }}
! NCOIC
+
! 3IC
 
| {{{DepNCOIC}}}
 
| {{{DepNCOIC}}}
|-
+
|- {{#if: {{{DepAide|}}} | | style="display: none;" }}
 +
! Aide to {{{DepName}}}
 +
| {{{DepAide}}}
 +
|- {{#if: {{{Aide|}}} | | style="display: none;" }}
 +
! Aide to CoS
 +
| {{{Aide}}}
 
|- {{#if: {{{RepUnit|}}} | | style="display: none;" }}
 
|- {{#if: {{{RepUnit|}}} | | style="display: none;" }}
 
!Reporting Units
 
!Reporting Units
 
| {{{RepUnit|}}}
 
| {{{RepUnit|}}}
 
|}
 
|}
|}
+
 
  
 
<!-- TODO: Add reporting Units (If-statements) -->
 
<!-- TODO: Add reporting Units (If-statements) -->
Line 74: Line 79:
 
|-
 
|-
 
|NCOIC || NCOIC for the department (if exists)
 
|NCOIC || NCOIC for the department (if exists)
 +
|Only if set
 +
|-
 +
|Aide to {Department}|| Aide to the department (if exists)
 +
|Only if set
 +
|-
 +
|Aide to CoS|| Aide to the CoS (if exists)
 +
|Only if set
 +
|-
 +
|RepUnit || Subdepartments (if exists)
 
|Only if set
 
|Only if set
 
|}
 
|}
  
 
</noinclude>
 
</noinclude>

Latest revision as of 12:16, 11 July 2023

DEMO DEPARTMENT
100px
Superior Dept DEMO DEPT
Motto '
HQ Staff
Lead {{{DepLead}}}
1IC {{{DepOIC}}}
2IC {{{DepXO}}}
3IC {{{DepNCOIC}}}
Aide to {{{DepName}}} {{{DepAide}}}
Aide to CoS {{{Aide}}}
Reporting Units


Template Documentation

Usage

The Infobox Department is used to standardise any and all Department related Unit Information Fields. It is created by Vermeulen.A and any questions can be send to the RPD Administrators.

TemplateData

ParameterName Default Value Visible?
DepName Department Name is put here Always
DepIMG Image for the Department. Default is set to S1.png Always
SupDept Superior Department Always
DepMotto Department Motto Only if set
DepLead (Sub)Department Lead (sub-departments) Only if set
DepOIC OIC for the department (if exists) Only if set
XO XO for the department (if exists) Only if set
NCOIC NCOIC for the department (if exists) Only if set
Aide to {Department} Aide to the department (if exists) Only if set
Aide to CoS Aide to the CoS (if exists) Only if set
RepUnit Subdepartments (if exists) Only if set