Difference between revisions of "Template:Altis Police Service Info"

From Roleplay UK Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{ class="infobox"
<div style="float: right">
| abovestyle  =
{| class="infobox"
| above      =
|+ style="background-color: #c1c1c1;" |{{{ConstabName}}}
| image      =
|+ [[File:{{{ConstabLogo}}}|center|top|class=infobox-image|200px]]
| caption    =
|-
| headerstyle =
|+ style="background-color: #c1c1c1" "align-items: center"|{{{ConstabName}}} Command
| header1    =
|-
| label1      =
| Chief Superintendent:
| data1      =
|{{#ifexist: User:{{{CSIPageLink}}} | [[User:{{{CSIPageLink}}}|{{{CSI_Name}}}]] | {{{CSI_Name}}}}}
| header2    =
|-
| label2      =
| Superintendent:
| data2      =
|{{#ifexist: User:{{{SIPageLink1}}} | [[User:{{{SIPageLink1}}}|{{{SI_Name_1}}}]] | {{{SI_Name_1}}}}}
| header3    =
|-
| label3      =
| Superintendent:
| data3      =
|{{#ifexist: User:{{{SIPageLink2}}} | [[User:{{{SIPageLink2}}}|{{{SI_Name_2}}}]] | {{{SI_Name_2}}}}}
| header4    =
|-
| label4      =
| Superintendent:
| data4      =
|{{#ifexist: User:{{{SIPageLink3}}} | [[User:{{{SIPageLink3}}}|{{{SI_Name_3}}}]] | {{{SI_Name_3}}}}}
| header5    =
|-
| label5      =
| Representative:
| data5      =
|{{#ifexist: User:{{{RepPageLink}}} | [[User:{{{RepPageLink}}}|{{{RepName}}}]] | {{{RepName}}}}}
| header6    =
|-
| label6      =
|}
| data6      =
</div>
| header7    =
<noinclude>
| label7      =
<templatedata>
| data7      =
{
| header8    =
"params": {
| label8      =
"ConstabName": {
| data8      =
"label": "Constabulary Name",
| header9    =
"description": "Name of Constab",
| label9      =
"example": "Academy",
| data9      =
"type": "string",
| header10    =
"required": true
| label10    =
},
| data10      =
"ConstabLogo": {
}}<noinclude>
"label": "Constabulary Logo",
{{Documentation}}
"description": "File name must be exact - Ensure its uploaded",
"example": "Academy_Logo.jpg",
"type": "wiki-file-name",
"suggested": true
},
"CSI_Name": {
"label": "Name of CSI",
"description": "Name of the CSI",
"example": "CSI NotMattch",
"type": "string",
"required": true
},
"SI_Name_1": {
"label": "Name of SI - Top of List",
"description": "Name of the Top SI in the template",
"example": "SI NotMattch",
"type": "string",
"required": true
},
"SI_Name_2": {
"label": "Name of SI - Middle of List",
"description": "Name of the Middle SI in the template",
"example": "SI NotMattch",
"type": "string",
"required": true
},
"SI_Name_3": {
"label": "Name of SI - Bottom of List",
"description": "Name of the Last SI in the template",
"example": "SI NotMattch",
"type": "string",
"required": true
},
"RepName": {
"label": "Constab Rep Name",
"description": "Name of the Constab Rep",
"example": "SGT NotMattch",
"type": "string",
"required": true
},
"CSIPageLink": {
"type": "wiki-user-name"
},
"SIPageLink1": {
"type": "wiki-user-name"
},
"SIPageLink2": {
"type": "wiki-user-name"
},
"SIPageLink3": {
"type": "wiki-user-name"
},
"RepPageLink": {
"type": "wiki-user-name"
}
},
"description": "Template for use on Police Constab pages"
}
</templatedata>
[[Category:Templates]]
[[Category:Templates]]
[[Category:Police Templates]]
[[Category:Police Templates]]
</noinclude>
</noinclude>

Revision as of 15:56, 14 January 2019

{{{ConstabName}}} [[File:{{{ConstabLogo}}}|center|top|class=infobox-image|200px]] {{{ConstabName}}} Command
Chief Superintendent: {{{CSI_Name}}}
Superintendent: {{{SI_Name_1}}}
Superintendent: {{{SI_Name_2}}}
Superintendent: {{{SI_Name_3}}}
Representative: {{{RepName}}}

Template for use on Police Constab pages

Template parameters

ParameterDescriptionTypeStatus
Constabulary NameConstabName

Name of Constab

Example
Academy
Stringrequired
Constabulary LogoConstabLogo

File name must be exact - Ensure its uploaded

Example
Academy_Logo.jpg
Filesuggested
Name of CSICSI_Name

Name of the CSI

Example
CSI NotMattch
Stringrequired
Name of SI - Top of ListSI_Name_1

Name of the Top SI in the template

Example
SI NotMattch
Stringrequired
Name of SI - Middle of ListSI_Name_2

Name of the Middle SI in the template

Example
SI NotMattch
Stringrequired
Name of SI - Bottom of ListSI_Name_3

Name of the Last SI in the template

Example
SI NotMattch
Stringrequired
Constab Rep NameRepName

Name of the Constab Rep

Example
SGT NotMattch
Stringrequired
CSIPageLinkCSIPageLink

no description

Useroptional
SIPageLink1SIPageLink1

no description

Useroptional
SIPageLink2SIPageLink2

no description

Useroptional
SIPageLink3SIPageLink3

no description

Useroptional
RepPageLinkRepPageLink

no description

Useroptional