Template:Infobox department: Difference between revisions

From 7th Cavalry Wiki
Jump to navigation Jump to search
No edit summary
Updated template parameter settings
 
(47 intermediate revisions by 2 users not shown)
Line 7: Line 7:
| 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]]
|-
|-
|'''Superior Dept'''
|- {{#if: {{{SupDept|}}} | | style="display: none;" }}
|{{{SupDept | DEMO DEPT}}}
! Regimental Oversight
|''{{{SupDept|}}}''
|- {{#if: {{{DepMotto|}}} | | style="display: none;" }}
|- {{#if: {{{DepMotto|}}} | | style="display: none;" }}
! Motto
! Motto
Line 14: Line 15:
|-
|-
| colspan="2" style="background:#ffcc00; text-align:center" | '''HQ Staff'''
| colspan="2" style="background:#ffcc00; text-align:center" | '''HQ Staff'''
|- {{#if: {{{DepLead|}}} | | style="display: none;" }}
! Lead
| {{{DepLead}}}
|- {{#if: {{{DepOIC|}}} | | style="display: none;" }}
|- {{#if: {{{DepOIC|}}} | | style="display: none;" }}
! 1IC
! 1IC
Line 30: Line 28:
| {{{DepAide}}}
| {{{DepAide}}}
|- {{#if: {{{Aide|}}} | | style="display: none;" }}
|- {{#if: {{{Aide|}}} | | style="display: none;" }}
! Aide to CoS
! Aide to SecOps
| {{{Aide}}}
| {{{Aide}}}
|- {{#if: {{{DepLead|}}} | | style="display: none;" }}
! Lead
| {{{DepLead}}}
|- {{#if: {{{DepSr|}}} | | style="display: none;" }}
! Senior
| {{{DepSr}}}
|-
|- {{#if: {{{RepUnit|}}} | | style="display: none;" }}
|- {{#if: {{{RepUnit|}}} | | style="display: none;" }}
!Reporting Units
!Reporting Units
Line 47: Line 52:
| style="color:#000; padding: 2px 5px" |  
| style="color:#000; padding: 2px 5px" |  
===Usage===
===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.
The Infobox Department is used to standardise any and all Department related Unit Information Fields. It has been modified by Brady.M and any questions can be sent to the WAG HQ.


===TemplateData===
===TemplateData===
Line 64: Line 69:
|-
|-
|SupDept || Superior Department
|SupDept || Superior Department
|Always
|Only if set
|-
|-
|DepMotto || Department Motto
|DepMotto || Department Motto
|Only if set
|-
|DepLead || (Sub)Department Lead (sub-departments)
|Only if set
|Only if set
|-
|-
Line 84: Line 86:
|Only if set
|Only if set
|-
|-
|Aide to SecOps|| Aide to the CoS (if exists)
|Aide to CoS|| Aide to the CoS (if exists)
|Only if set
|-
|Aide to SecOps|| Aide to the SecOps (if exists)
|Only if set
|-
|DepLead || (Sub)Department Lead (sub-departments)
|Only if set
|-
|DepSr || (sub)Department Senior (sub-departments)
|Only if set
|Only if set
|-
|-
Line 91: Line 102:
|}
|}


</noinclude>
<templatedata>
{
"params": {
"DepName": {
"description": "Department Name",
"type": "string"
},
"DepImg": {
"description": "Department Image",
"type": "wiki-file-name"
},
"SupDept": {
"description": "Superior Department",
"type": "string"
},
"DepMotto": {
"description": "Department Motto",
"type": "string"
},
"DepOIC": {
"description": "Department Officer In Charge",
"type": "string"
},
"DepXO": {
"description": "Department Executive Officer",
"type": "string"
},
"DepNCOIC": {
"description": "Department NCO In Charge",
"type": "string"
},
"DepAide": {
"description": "Department Aide",
"type": "string"
},
"Aide": {},
"DepLead": {
"description": "Department Lead",
"type": "string"
},
"DepSr": {
"description": "Department Senior",
"type": "string"
},
"RepUnit": {
"description": "Reporting Unit(s)",
"type": "string"
}
}
}
</templatedata></noinclude>

Latest revision as of 02:44, 14 April 2026

DEMO DEPARTMENT
File:S1.png
Regimental Oversight '
Motto '
HQ Staff
1IC {{{DepOIC}}}
2IC {{{DepXO}}}
3IC {{{DepNCOIC}}}
Aide to {{{DepName}}} {{{DepAide}}}
Aide to SecOps {{{Aide}}}
Lead {{{DepLead}}}
Senior {{{DepSr}}}
Reporting Units


Template Documentation

Usage

The Infobox Department is used to standardise any and all Department related Unit Information Fields. It has been modified by Brady.M and any questions can be sent to the WAG HQ.

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 Only if set
DepMotto Department Motto 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
Aide to SecOps Aide to the SecOps (if exists) Only if set
DepLead (Sub)Department Lead (sub-departments) Only if set
DepSr (sub)Department Senior (sub-departments) Only if set
RepUnit Subdepartments (if exists) Only if set

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
DepNameDepName

Department Name

Stringoptional
DepImgDepImg

Department Image

Fileoptional
SupDeptSupDept

Superior Department

Stringoptional
DepMottoDepMotto

Department Motto

Stringoptional
DepOICDepOIC

Department Officer In Charge

Stringoptional
DepXODepXO

Department Executive Officer

Stringoptional
DepNCOICDepNCOIC

Department NCO In Charge

Stringoptional
DepAideDepAide

Department Aide

Stringoptional
AideAide

no description

Unknownoptional
DepLeadDepLead

Department Lead

Stringoptional
DepSrDepSr

Department Senior

Stringoptional
RepUnitRepUnit

Reporting Unit(s)

Stringoptional