Difference between revisions of "Template:Infobox department"

From 7th Cavalry Wiki
Jump to navigation Jump to search
 
(33 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 +
<includeonly>[[Category:Unit Organization]][[Category:Staff Departments]]</includeonly>
 +
<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" | '''S1 Administration'''
+
| colspan="2" style="background:#ffcc00; text-align:center" | '''{{{DepName | DEMO DEPARTMENT}}}'''
 
|-
 
|-
| colspan="2" style="border-bottom:1px solid #aaaaaa; text-align:center" | [[file:s1.jpg|100px]]
+
| colspan="2" style="border-bottom:1px solid #aaaaaa; text-align:center" | [[File:{{{DepImg | S1.png}}}|100px]]
 
|-
 
|-
 
|'''Superior Dept'''
 
|'''Superior Dept'''
|Regimental HQ
+
|{{{SupDept | DEMO DEPT}}}
 +
|- {{#if: {{{DepMotto|}}} | | style="display: none;" }}
 +
! Motto
 +
|''{{{DepMotto|}}}''
 
|-
 
|-
|'''Motto'''
+
| colspan="2" style="background:#ffcc00; text-align:center" | '''HQ Staff'''
|''Try not to screw it up''
+
|- {{#if: {{{DepLead|}}} | | style="display: none;" }}
 +
! Lead
 +
| {{{DepLead}}}
 +
|- {{#if: {{{DepOIC|}}} | | style="display: none;" }}
 +
! 1IC
 +
| {{{DepOIC}}}
 +
|- {{#if: {{{DepXO|}}} | | style="display: none;" }}
 +
! 2IC
 +
| {{{DepXO}}}
 +
|- {{#if: {{{DepNCOIC|}}} | | style="display: none;" }}
 +
! 3IC
 +
| {{{DepNCOIC}}}
 +
|- {{#if: {{{DepAide|}}} | | style="display: none;" }}
 +
! Aide to {{{DepName}}}
 +
| {{{DepAide}}}
 +
|- {{#if: {{{Aide|}}} | | style="display: none;" }}
 +
! Aide to CoS
 +
| {{{Aide}}}
 +
|- {{#if: {{{RepUnit|}}} | | style="display: none;" }}
 +
!Reporting Units
 +
| {{{RepUnit|}}}
 +
|}
 +
 
 +
 
 +
<!-- TODO: Add reporting Units (If-statements) -->
 +
<!-- TODO: Add Documentation -->
 +
<noinclude>
 +
<!--        Template Documentation        -->
 +
{| id="mp-left" style="width:50%; vertical-align:top; background:#f5fffa;"
 +
| style="padding:2px;" | <h2 id="mp-tfa-h2" style="margin:3px; background:#cef2e0; font-family:inherit; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; text-align:left; color:#000; padding:0.2em 0.4em;">Template Documentation</h2>
 +
|-
 +
| style="color:#000; padding: 2px 5px" |
 +
===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===
 +
 
 +
{| class="wikitable"
 +
|-
 +
! scope="col"| ParameterName
 +
! scope="col"| Default Value
 +
! scope="col"| 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
 
|-
 
|-
| colspan="2" style="background:#ffa500; text-align:center" | '''Commanders'''
+
|NCOIC || NCOIC for the department (if exists)
 +
|Only if set
 
|-
 
|-
|'''CO'''
+
|Aide to {Department}|| Aide to the department (if exists)
|LTC.Hathcock.K
+
|Only if set
 
|-
 
|-
|'''XO'''
+
|Aide to CoS|| Aide to the CoS (if exists)
|N/A
+
|Only if set
 
|-
 
|-
|'''NCOIC'''
+
|RepUnit || Subdepartments (if exists)
|SGT.Sharkey.D
+
|Only if set
 
|}
 
|}
 +
 +
</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