Difference between revisions of "Template:Infobox person"

added ability to set 2 organisations (POL,NHS)
(fixes)
(added ability to set 2 organisations (POL,NHS))
Line 1: Line 1:
{| class="infobox"
{| class="infobox"
|+ class="infobox-title"|{{{Name}}}
|+ class="infobox-title"|{{{Name}}}
|colspan="2"|[[File:{{{Image}}}|center|top|class=infobox-image|100px]]
|colspan="2"|[[File:{{{Image}}}|center|top|class=infobox-image|250px]]
|-
|-
!colspan="2"|Organisation
!colspan="2"|Organisations
|-
|-
| '''Rank'''
| '''Rank'''
| [[{{{Rank}}}]] ℅ [[{{{Organisation}}}]]
| [[{{{RankPOL}}}]] ℅ [[{{{OrganisationPOL}}}]]
|-
|-
| '''Years Active'''
| '''Years Active'''
| [[{{{YearsActive}}}]]
| [[{{{YearsActivePOL}}}]]
|-
| '''Rank'''
| [[{{{RankNHS}}}]] ℅ [[{{{OrganisationNHS}}}]]
|-
| '''Years Active'''
| [[{{{YearsActiveNHS}}}]]
|-
|-
!colspan="2"|Signature
!colspan="2"|Signature
|-
|-
|colspan="2"|[[File:{{{Signature}}}|center|bottom|class=infobox-image|200px]]
|colspan="2"|[[File:{{{Signature}}}|center|bottom|class=infobox-image|250px]]
|}
|}
<noinclude>
<noinclude>
Line 27: Line 33:
"suggested": true
"suggested": true
},
},
"Organisation": {
"OrganisationPOL": {
"description": "Police, NHS, Staff",
"description": "Police",
             "example": "Altis Police Service",
             "example": "Altis Police Service",
"suggested": true
"suggested": true
},
},
"Rank": {
"RankPOL": {
"example": "PC, CST, Level 3",
"example": "SI",
"suggested": true
},
"YearsActivePOL": {
"example": "2017-present",
"suggested": true
},
        "OrganisationNHS": {
"description": "NHS",
            "example": "National Health Service",
"suggested": true
},
"RankNHS": {
"example": "FA",
"suggested": true
"suggested": true
},
},
"YearsActive": {
"YearsActiveNHS": {
"example": "2",
"example": "2017-2018",
"suggested": true
"suggested": true
},
},
Line 49: Line 68:
"Name",
"Name",
"Image",
"Image",
"Organisation",
"OrganisationPOL",
"Rank",
"RankPOL",
"YearsActive",
"YearsActivePOL",
        "OrganisationNHS",
"RankNHS",
"YearsActiveNHS",
"Signature"
"Signature"
]
]
415

edits