Difference between revisions of "Template:Infobox person"

Making fields optional
(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 }}  
279

edits