Difference between revisions of "Template:Infobox person"

From Roleplay UK Wiki
Jump to navigation Jump to search
(Making fields optional)
Line 3: Line 3:
|colspan="2"|[[File:{{{Image}}}|center|top|class=infobox-image|200px]]
|colspan="2"|[[File:{{{Image}}}|center|top|class=infobox-image|200px]]
|-
|-
!colspan="2"|[[Altis Police Service]]
!{{ #if: {{{RankPOL|}}} | colspan="2"|[[Altis Police Service]] }} 
|-
|-
|'''Current Rank'''
|{{ #if: {{{RankPOL|}}} | '''Rank''' }} 
|{{{RankPOL}}} ℅ [[{{{ConstabPOL}}}]]
|{{ #if: {{{RankPOL|}}} | [[{{{RankPOL}}}]]  }}  {{ #if: {{{ConstabPOL|}}} | ℅ [[{{{ConstabPOL}}}]] }}
|-
|-
|'''Primary Unit'''
|{{ #if: {{{PrimUnitRankPOL|}}} | '''Primary Unit''' }} 
|{{{PrimUnitRankPOL|}}} {{ #if: {{{PrimUnitPOL|}}} | ℅ [[{{{PrimUnitPOL}}}]]  }}
|{{ #if: {{{PrimUnitRankPOL|}}} | {{{PrimUnitRankPOL}}} }}  {{ #if: {{{PrimUnitPOL|}}} | ℅ [[{{{PrimUnitPOL}}}]]  }}
|-
|-
|'''Years Active'''
|{{ #if: {{{YearsActivePOL|}}} | '''Years Active''' }} 
|{{{YearsActivePOL}}}
|{{ #if: {{{YearsActivePOL|}}} | {{{YearsActivePOL}}} }}
|-
|-
!colspan="2"|[[National Health Service]]
!{{ #if: {{{RankNHS|}}} | colspan="2"|[[National Health Service]] }} 
|-
|-
|'''Current Rank'''
|{{ #if: {{{RankNHS|}}} | '''Rank''' }} 
|{{{RankNHS}}} ℅ {{{DeptNHS}}}
|{{ #if: {{{RankNHS|}}} | [[{{{RankNHS}}}]]  }}  {{ #if: {{{DeptNHS|}}} | [[{{{DeptNHS}}}]]  }}  
|-
|-
|'''Years Active'''
|{{ #if: {{{YearsActiveNHS|}}} | '''Years Active''' }} 
|{{{YearsActiveNHS}}}
|{{ #if: {{{YearsActiveNHS|}}} | {{{YearsActiveNHS}}} }}
|-
|-
!colspan="2"| {{ #if: {{{Signature|}}} | Signature }}  
!colspan="2"| {{ #if: {{{Signature|}}} | Signature }}  

Revision as of 19:20, 26 April 2020

[{{{ForumProfile}}} {{{Name}}}] [{{{Badge}}}]
[[File:{{{Image}}}|center|top|class=infobox-image|200px]]
Altis Police Service
National Health Service

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
YearsActivePOLYearsActivePOL

no description

Example
2017-present
Lineoptional
RankNHSRankNHS

no description

Example
FA
Lineoptional
DeptNHSDeptNHS

no description

Example
Hector Department
Lineoptional
YearsActiveNHSYearsActiveNHS

no description

Example
2017-2018
Lineoptional
SignatureSignature

must be exact file name to work

Fileoptional