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

no edit summary
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>
176

edits