Difference between revisions of "Template:Infobox person"

From Roleplay UK Wiki
Jump to navigation Jump to search
(more links)
(added primary unit support)
Line 1: Line 1:
{| class="infobox"
{| class="infobox"
|+ class="infobox-title"|{{{Name}}}
|+ class="infobox-title"|[{{{ForumProfile}}} {{{Name}}}]
|colspan="2"|[[File:{{{Image}}}|center|top|class=infobox-image|200px]]
|colspan="2"|[[File:{{{Image}}}|center|top|class=infobox-image|100px]]
|-
|-
!colspan="2"|[[Altis Police Service]]
!colspan="2"|[[Altis Police Service]]
Line 7: Line 7:
|{{{RankPOL}}} ℅ [[{{{ConstabPOL}}}]]
|{{{RankPOL}}} ℅ [[{{{ConstabPOL}}}]]
|-
|-
|'''Years Active'''
|{{{UnitRankPOL}}} ℅ [[{{{PrimaryUnitPOL}}}]]
| '''Years Active'''
|{{{YearsActivePOL}}}
|{{{YearsActivePOL}}}
|-
|-
!colspan="2"|[[National Health Service]]
!colspan="2"|[[National Health Service]]
|-
|-
|{{{RankNHS}}} ℅ [[{{{DeptNHS}}}]]
|{{{RankNHS}}} ℅ {{{DeptNHS}}}
|-
|-
|'''Years Active'''
|'''Years Active'''
Line 19: Line 20:
!colspan="2"|Signature
!colspan="2"|Signature
|-
|-
|colspan="2"|[[File:{{{Signature}}}|center|bottom|class=infobox-image|250px]]
|colspan="2"|[[File:{{{Signature}}}|center|bottom|class=infobox-image|200px]]
|}
|}
<noinclude>
<noinclude>
Line 27: Line 28:
"Name": {
"Name": {
"example": "Creebles",
"example": "Creebles",
"required": true
},
"ForumProfile": {
"example": "https://www.roleplay.co.uk/profile/51510-si-creebles/",
"required": true
"required": true
},
},
Line 33: Line 38:
"suggested": true
"suggested": true
},
},
"OrganisationPOL": {
"ConstabPOL": {
"description": "Police",
            "example": "Altis Police Service",
"suggested": true
        },
        "ConstabPOL": {
"description": "Constabulary",
             "example": "West Altis Police",
             "example": "West Altis Police",
"suggested": true     
"suggested": true     
Line 45: Line 44:
"RankPOL": {
"RankPOL": {
"example": "SI",
"example": "SI",
"suggested": true
},
"PrimaryUnitPOL": {
"example": "National Crime Agency",
"suggested": true
},
"UnitRankPOL": {
"example": "TO",
"suggested": true
"suggested": true
},
},
"YearsActivePOL": {
"YearsActivePOL": {
"example": "2017-present",
"example": "2017-present",
"suggested": true
},
        "OrganisationNHS": {
"description": "NHS",
            "example": "National Health Service",
"suggested": true
"suggested": true
},
},
         "DeptNHS": {
         "DeptNHS": {
"description": "Department",
             "example": "Hector Department",
             "example": "Hector",
"suggested": true     
"suggested": true     
},
},
Line 76: Line 77:
},
},
"paramOrder": [
"paramOrder": [
"ForumProfile",
"Name",
"Name",
"Image",
"Image",
"OrganisationPOL",
        "ConstabPOL",
"RankPOL",
"RankPOL",
"ConstabPOL",
"UnitRankPOL",
"PrimaryUnitPOL",
"YearsActivePOL",
"YearsActivePOL",
        "OrganisationNHS",
        "DeptNHS",
"RankNHS",
"RankNHS",
"DeptNHS",
"YearsActiveNHS",
"YearsActiveNHS",
"Signature"
"Signature"

Revision as of 14:10, 7 April 2019

[{{{ForumProfile}}} {{{Name}}}]
[[File:{{{Image}}}|center|top|class=infobox-image|100px]]
Altis Police Service
{{{RankPOL}}} ℅ [[{{{ConstabPOL}}}]]
{{{UnitRankPOL}}} ℅ [[{{{PrimaryUnitPOL}}}]] Years Active {{{YearsActivePOL}}}
National Health Service
{{{RankNHS}}} ℅ {{{DeptNHS}}}
Years Active {{{YearsActiveNHS}}}
Signature
[[File:{{{Signature}}}|center|bottom|class=infobox-image|200px]]

No description.

Template parameters

ParameterDescriptionTypeStatus
ForumProfileForumProfile

no description

Example
https://www.roleplay.co.uk/profile/51510-si-creebles/
Unknownrequired
NameName

no description

Example
Creebles
Unknownrequired
ImageImage

must be exact file name to work

Unknownsuggested
RankPOLRankPOL

no description

Example
SI
Unknownsuggested
ConstabPOLConstabPOL

no description

Example
West Altis Police
Unknownsuggested
UnitRankPOLUnitRankPOL

no description

Example
TO
Unknownsuggested
PrimaryUnitPOLPrimaryUnitPOL

no description

Example
National Crime Agency
Unknownsuggested
YearsActivePOLYearsActivePOL

no description

Example
2017-present
Unknownsuggested
RankNHSRankNHS

no description

Example
FA
Unknownsuggested
DeptNHSDeptNHS

no description

Example
Hector Department
Unknownsuggested
YearsActiveNHSYearsActiveNHS

no description

Example
2017-2018
Unknownsuggested
SignatureSignature

must be exact file name to work

Filesuggested