Template:Infobox department: Difference between revisions

From 7th Cavalry Wiki
Jump to navigation Jump to search
Vermeulen.A (talk | contribs)
No edit summary
Jay.M (talk | contribs)
No edit summary
 
(19 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[Category:Unit Organisation]][[Category:Staff Departments]]
<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" | '''{{{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 8: Line 9:
|'''Superior Dept'''
|'''Superior Dept'''
|{{{SupDept | DEMO DEPT}}}
|{{{SupDept | DEMO DEPT}}}
|- {{#if: {{{DepMotto|}}} | | style="display: none;" }}
! Motto
|''{{{DepMotto|}}}''
|-
|-
|'''Motto'''
| colspan="2" style="background:#ffcc00; text-align:center" | '''HQ Staff'''
|''{{{DepMotto|N/A}}}''
|-
| colspan="2" style="background:#ffa500; 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;" }}
!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
|-
|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
|}
|}
</noinclude>

Latest revision as of 12:16, 11 July 2023

DEMO DEPARTMENT
File:S1.png
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