Difference between revisions of "Template:Infobox department"

From 7th Cavalry Wiki
Jump to navigation Jump to search
Line 8: Line 8:
 
|'''Superior Dept'''
 
|'''Superior Dept'''
 
|{{{SupDept | DEMO DEPT}}}
 
|{{{SupDept | DEMO DEPT}}}
|-
+
|- {{#if: {{{DepMotto|}}} | | style="display: none;" }}
|'''Motto'''
+
! Motto
|''{{{DepMotto|N/A}}}''
+
|''{{{DepMotto|}}}''
 
|-
 
|-
 
| colspan="2" style="background:#ffa500; text-align:center" | '''HQ Staff'''
 
| colspan="2" style="background:#ffa500; text-align:center" | '''HQ Staff'''
Line 27: Line 27:
 
|-
 
|-
 
|}
 
|}
 +
 +
<!-- 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
 +
|-
 +
|NCOIC || NCOIC for the department (if exists)
 +
|Only if set
 +
|}
 +
 +
</noinclude>

Revision as of 21:13, 31 January 2017

DEMO DEPARTMENT
100px
Superior Dept DEMO DEPT
Motto '
HQ Staff
Lead {{{DepLead}}}
OIC {{{DepOIC}}}
XO {{{DepXO}}}
NCOIC {{{DepNCOIC}}}


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