Difference between revisions of "Template:Infobox person"

From Roleplay UK Wiki
Jump to navigation Jump to search
(Made it a wee bit better)
(made titles clearer)
 
(37 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="infobox"
{| class="infobox"
|+ class="infobox-title"|{{{Name}}}
|+ class="infobox-title"|[{{{ForumProfile}}} '''{{{Name}}}'''] {{ #if: {{{Badge|}}} | [{{{Badge}}}] }} 
|colspan="2"|[[File:{{{Image}}}|center|top|class=infobox-image|100px]]
|colspan="2"| {{ #if: {{{Image|}}} | [[File:{{{Image}}}|center|top|class=infobox-image|200px]] }} 
|-
|-
!colspan="2"|Organisation
!colspan="2"| {{ #if: {{{RankPOL|}}} | [[Altis Police Service]] }} 
|-
|-
| '''Rank'''
|{{ #if: {{{RankPOL|}}} | '''Rank''' }} 
| [[{{{rank}}}]] % [[{{{Organsiation}}}]]
|{{ #if: {{{RankPOL|}}} | {{{RankPOL}}}  }}  {{ #if: {{{ConstabPOL|}}} | in [[{{{ConstabPOL}}}]] }}
|-
|-
| '''Years Active'''
|{{ #if: {{{PrimUnitRankPOL|}}} | '''Primary Unit''' }} 
| [[{{{YearsActive}}}]]
|{{ #if: {{{PrimUnitRankPOL|}}} | {{{PrimUnitRankPOL}}} }}  {{ #if: {{{PrimUnitPOL|}}} | in [[{{{PrimUnitPOL}}}]] }}
|-
|-
!colspan="2"|Signature
|{{ #if: {{{SecondUnitRankPOL|}}} | '''Secondary Unit''' }} 
|{{ #if: {{{SecondUnitRankPOL|}}} | {{{SecondUnitRankPOL}}} }}  {{ #if: {{{SecondUnitPOL|}}} | in [[{{{SecondUnitPOL}}}]]  }}
|-
|-
|[[File:{{{signature}}}|100px]]
|{{ #if: {{{YearsActivePOL|}}} | '''Years Active''' }} 
|{{ #if: {{{YearsActivePOL|}}} | {{{YearsActivePOL}}} }}
|-
!colspan="2"| {{ #if: {{{RankNHS|}}} | Altis [[National Health Service]] }} 
|-
|{{ #if: {{{RankNHS|}}} | '''Rank''' }} 
|{{ #if: {{{RankNHS|}}} | {{{RankNHS}}}  }}  {{ #if: {{{DeptNHS|}}} | in {{{DeptNHS}}}  }}
|-
|{{ #if: {{{PrimaryUnitRankNHS|}}} | '''Primary Unit''' }} 
|{{ #if: {{{PrimaryUnitRankNHS|}}} | {{{PrimaryUnitRankNHS}}} }}  {{ #if: {{{PrimUnitNHS|}}} | in {{{PrimUnitNHS}}}  }}
|-
|{{ #if: {{{SecondUnitRankNHS|}}} | '''Secondary Unit''' }} 
|{{ #if: {{{SecondUnitRankNHS|}}} | {{{SecondUnitRankNHS}}} }}  {{ #if: {{{SecondUnitNHS|}}} | in {{{SecondUnitNHS}}}  }}
|-
|{{ #if: {{{YearsActiveNHS|}}} | '''Years Active''' }} 
|{{ #if: {{{YearsActiveNHS|}}} | {{{YearsActiveNHS}}} }}
|-
!colspan="2"| {{ #if: {{{RankPos|}}} | Altis [[The_Poseidon_Cartel | Poseidon Cartel]] }} 
|-
|{{ #if: {{{RankPos|}}} | '''Rank''' }} 
|{{ #if: {{{RankPos|}}} | {{{RankPos}}}  }}  {{ #if: {{{DeptPos|}}} | in {{{DeptPos}}}  }}
|-
|{{ #if: {{{PrimaryUnitRankPos|}}} | '''Primary Unit''' }} 
|{{ #if: {{{PrimaryUnitRankPos|}}} | {{{PrimaryUnitRankPos}}} }}  {{ #if: {{{PrimUnitPos|}}} | in {{{PrimUnitPos}}}  }}
|-
|{{ #if: {{{YearsActivePos|}}} | '''Years Active''' }} 
|{{ #if: {{{YearsActivePos|}}} | {{{YearsActivePos}}} }}
|- 
!colspan="2"| {{ #if: {{{RankLSPol|}}} | [[GTA:Los_Santos_Police_Service|Los Santos Police Service]] }} 
|-
|{{ #if: {{{RankLSPol|}}} | '''Rank''' }} 
|{{ #if: {{{RankLSPol|}}} | {{{RankLSPol}}}  }}  {{ #if: {{{DeptLSPol|}}} | in {{{DeptLSPol}}}  }}
|-
|{{ #if: {{{PrimaryUnitRankLSPol|}}} | '''Primary Unit''' }} 
|{{ #if: {{{PrimaryUnitRankLSPol|}}} | {{{PrimaryUnitRankLSPol}}} }}  {{ #if: {{{PrimUnitLSPol|}}} | in {{{PrimUnitLSPol}}}  }}
|-
|{{ #if: {{{YearsActiveLSPol|}}} | '''Years Active''' }} 
|{{ #if: {{{YearsActiveLSPol|}}} | {{{YearsActiveLSPol}}} }}
|-
!colspan="2"| {{ #if: {{{RankLSNHS|}}} | [[GTA:National_Health_Service| Los Santos NHS]] }} 
|-
|{{ #if: {{{RankLSNHS|}}} | '''Rank''' }} 
|{{ #if: {{{RankLSNHS|}}} | {{{RankLSNHS}}}  }}  {{ #if: {{{DeptLSNHS|}}} | in {{{DeptLSNHS}}}  }}
|-
|{{ #if: {{{YearsActiveLSNHS|}}} | '''Years Active''' }} 
|{{ #if: {{{YearsActiveLSNHS|}}} | {{{YearsActiveLSNHS}}} }}
|-
!colspan="2"| {{ #if: {{{RankLSLostMC|}}} | [[GTA:The_Lost_MC|Los Santos Lost MC]] }} 
|-
|{{ #if: {{{RankLSLostMC|}}} | '''Rank''' }} 
|{{ #if: {{{RankLSLostMC|}}} | {{{RankLSLostMC}}}  }}
|-
|{{ #if: {{{YearsActiveLSLostMC|}}} | '''Years Active''' }} 
|{{ #if: {{{YearsActiveLSLostMC|}}} | {{{YearsActiveLSLostMC}}} }}
|-
!colspan="2"| {{ #if: {{{RankLSNCA|}}} | Los Santos National Crime Agency }} 
|-
|{{ #if: {{{RankLSNCA|}}} | '''Rank''' }} 
|{{ #if: {{{RankLSNCA|}}} | {{{RankLSNCA}}}  }}
|-
|{{ #if: {{{YearsActiveLSNCA|}}} | '''Years Active''' }} 
|{{ #if: {{{YearsActiveLSNCA|}}} | {{{YearsActiveLSNCA}}} }}
|-
!colspan="2"| {{ #if: {{{Signature|}}} | Signature }}
|-
|colspan="2"| {{ #if: {{{Signature|}}} | [[File:{{{Signature}}}|center|bottom|class=infobox-image|250px]] }}     
|}
|}
<noinclude>
<noinclude>
Line 21: Line 87:
"Name": {
"Name": {
"example": "Creebles",
"example": "Creebles",
"required": true
"required": true,
"type": "line"
},
"ForumProfile": {
"example": "https://www.roleplay.co.uk/profile/51510-si-creebles/",
"required": true,
"type": "url"
},
},
"Image": {
"Image": {
"description": "must be exact file name to work",
"description": "must be exact file name to work",
"suggested": true
"type": "wiki-file-name"
},
        "Badge": {
            "description": "Badge Number",
"example": "6669",
"type": "line"
},
},
"Organsiation": {
"ConstabPOL": {
"description": "NHS, Police, Staff",
            "description": "Police Constabulary",
"suggested": true
"example": "West Altis Police",
"type": "line"
},
},
"rank": {
"RankPOL": {
"example": "PC, CST, Level 3",
            "description": "Police Rank within constabulary",
"suggested": true
"example": "SI",
"type": "line"
},
},
"YearsActive": {
"PrimUnitPOL": {
"example": "2",
            "description": "Police Primary Unit",
"suggested": true
"example": "National Crime Agency",
"type": "line"
},
"PrimUnitRankPOL": {
            "description": "Rank within Primary Unit",
"example": "TO",
"type": "line"
},
        "SecondUnitPOL": {
            "description": "Police Secondary Unit",
"example": "NPAS",
"type": "line"
},
"SecondUnitRankPOL": {
            "description": "Rank within Secondary Unit",
"example": "Tier 1",
"type": "line"
},
"YearsActivePOL": {
"example": "2017-present",
"type": "line"
},
"DeptNHS": {
"example": "Hector Department",
"type": "line"
},
"RankNHS": {
"example": "FA",
"type": "line"
},
        "PrimUnitNHS": {
            "description": "NHS Primary Unit",
"example": "Air Rescue",
"type": "line"
},
"PrimaryUnitRankNHS": {
            "description": "Rank within Primary Unit",
"example": "Tier 2",
"type": "line"
},
        "SecondUnitNHS": {
            "description": "NHS Secondary Unit",
"example": "RIR",
"type": "line"
},
"SecondUnitRankNHS": {
            "description": "Rank within Secondary Unit",
"example": "Tier 1",
"type": "line"
},
"YearsActiveNHS": {
"example": "2017-2018",
"type": "line"
        },
"DeptPos": {
"example": "Orion",
"type": "line"
},
"RankPos": {
"example": "Dealer",
"type": "line"
},
        "PrimUnitPos": {
            "description": "Poseidon Primary Unit",
"example": "Lobos",
"type": "line"
},
"PrimaryUnitRankPos": {
            "description": "Rank within Primary Unit",
"example": "Trainer",
"type": "line"
},
"YearsActivePos": {
"example": "2018-2019",
"type": "line"
},
        "DeptLSPol": {
"example": "Spec Ops",
"type": "line"
},
"RankLSPol": {
"example": "Inspector",
"type": "line"
},
        "PrimUnitLSPol": {
            "description": "Poseidon Primary Unit",
"example": "Firearms",
"type": "line"
},
"PrimaryUnitRankLSPol": {
            "description": "Rank within Primary Unit",
"example": "Trainer",
"type": "line"
},
"YearsActiveLSPol": {
"example": "2020-Present",
"type": "line"
},
        "DeptLSNHS": {
"example": "HART",
"type": "line"
},
"RankLSNHS": {
"example": "Paramedic",
"type": "line"
},
"YearsActiveLSNHS": {
"example": "2020-Present",
"type": "line"
},
"RankLSLostMC": {
"example": "Patched Member",
"type": "line"
},
"YearsActiveLSLostMC": {
"example": "2020-Present",
"type": "line"
},
        "RankLSNCA": {
"example": "Field Agent",
"type": "line"
},
"YearsActiveLSNCA": {
"example": "2020-Present",
"type": "line"
},
},
"Signature": {
"Signature": {
"type": "wiki-file-name",
"description": "must be exact file name to work",
"suggested": true
"type": "wiki-file-name"
}
}
},
},
"paramOrder": [
"paramOrder": [
"ForumProfile",
"Name",
"Name",
        "Badge",
"Image",
"Image",
"Organsiation",
"RankPOL",
"rank",
"ConstabPOL",
"YearsActive",
        "PrimUnitPOL",
        "PrimUnitRankPOL",
        "SecondUnitPOL",
        "SecondUnitRankPOL",
"YearsActivePOL",
"RankNHS",
"DeptNHS",
        "PrimUnitNHS",
        "PrimaryUnitRankNHS",
        "SecondUnitNHS",
        "SecondUnitRankNHS",
"YearsActiveNHS",
        "RankPos",
"DeptPos",
        "PrimUnitPos",
        "PrimaryUnitRankPos",
"YearsActivePos",
        "RankLSPol",
"DeptLSPol",
        "PrimUnitLSPol",
        "PrimaryUnitRankLSPol",
"YearsActiveLSPol",
        "RankLSNHS",
"DeptLSNHS",
"YearsActiveLSNHS",
        "RankLSLostMC",
"YearsActiveLSLostMC",
        "RankLSNCA",
"YearsActiveLSNCA",
"Signature"
"Signature"
]
]

Latest revision as of 23:21, 31 October 2020

[{{{ForumProfile}}} {{{Name}}}]

No description.

Template parameters

ParameterDescriptionTypeStatus
ForumProfileForumProfile

no description

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

no description

Example
Creebles
Linerequired
BadgeBadge

Badge Number

Example
6669
Lineoptional
ImageImage

must be exact file name to work

Fileoptional
RankPOLRankPOL

Police Rank within constabulary

Example
SI
Lineoptional
ConstabPOLConstabPOL

Police Constabulary

Example
West Altis Police
Lineoptional
PrimUnitPOLPrimUnitPOL

Police Primary Unit

Example
National Crime Agency
Lineoptional
PrimUnitRankPOLPrimUnitRankPOL

Rank within Primary Unit

Example
TO
Lineoptional
SecondUnitPOLSecondUnitPOL

Police Secondary Unit

Example
NPAS
Lineoptional
SecondUnitRankPOLSecondUnitRankPOL

Rank within Secondary Unit

Example
Tier 1
Lineoptional
YearsActivePOLYearsActivePOL

no description

Example
2017-present
Lineoptional
RankNHSRankNHS

no description

Example
FA
Lineoptional
DeptNHSDeptNHS

no description

Example
Hector Department
Lineoptional
PrimUnitNHSPrimUnitNHS

NHS Primary Unit

Example
Air Rescue
Lineoptional
PrimaryUnitRankNHSPrimaryUnitRankNHS

Rank within Primary Unit

Example
Tier 2
Lineoptional
SecondUnitNHSSecondUnitNHS

NHS Secondary Unit

Example
RIR
Lineoptional
SecondUnitRankNHSSecondUnitRankNHS

Rank within Secondary Unit

Example
Tier 1
Lineoptional
YearsActiveNHSYearsActiveNHS

no description

Example
2017-2018
Lineoptional
RankPosRankPos

no description

Example
Dealer
Lineoptional
DeptPosDeptPos

no description

Example
Orion
Lineoptional
PrimUnitPosPrimUnitPos

Poseidon Primary Unit

Example
Lobos
Lineoptional
PrimaryUnitRankPosPrimaryUnitRankPos

Rank within Primary Unit

Example
Trainer
Lineoptional
YearsActivePosYearsActivePos

no description

Example
2018-2019
Lineoptional
RankLSPolRankLSPol

no description

Example
Inspector
Lineoptional
DeptLSPolDeptLSPol

no description

Example
Spec Ops
Lineoptional
PrimUnitLSPolPrimUnitLSPol

Poseidon Primary Unit

Example
Firearms
Lineoptional
PrimaryUnitRankLSPolPrimaryUnitRankLSPol

Rank within Primary Unit

Example
Trainer
Lineoptional
YearsActiveLSPolYearsActiveLSPol

no description

Example
2020-Present
Lineoptional
RankLSNHSRankLSNHS

no description

Example
Paramedic
Lineoptional
DeptLSNHSDeptLSNHS

no description

Example
HART
Lineoptional
YearsActiveLSNHSYearsActiveLSNHS

no description

Example
2020-Present
Lineoptional
RankLSLostMCRankLSLostMC

no description

Example
Patched Member
Lineoptional
YearsActiveLSLostMCYearsActiveLSLostMC

no description

Example
2020-Present
Lineoptional
RankLSNCARankLSNCA

no description

Example
Field Agent
Lineoptional
YearsActiveLSNCAYearsActiveLSNCA

no description

Example
2020-Present
Lineoptional
SignatureSignature

must be exact file name to work

Fileoptional