Template:PlayerInfobox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (16 intermediate revisions by the same user not shown) | |||
| Line 44: | Line 44: | ||
|- {{#ifeq: {{{status|}}} | Dead | {{#if: {{{last_will|}}} | | style="display: none;" }} | style="display: none;" }} | |- {{#ifeq: {{{status|}}} | Dead | {{#if: {{{last_will|}}} | | style="display: none;" }} | style="display: none;" }} | ||
! colspan="1" style="text-align:left; width: 30%; " | Last will | ! colspan="1" style="text-align:left; width: 30%; " | Last will | ||
| colspan="3" | {{{last_will}}} | | colspan="3" | ''"{{{last_will}}}"'' | ||
|- | |- {{#if: {{{allegiances|}}}{{{rivalries|}}} | | style="display: none;" }} | ||
! colspan="4" style="text-align:center; background-color:#f2e0e0" | '''Affiliations''' | ! colspan="4" style="text-align:center; background-color:#f2e0e0" | '''Affiliations''' | ||
|- {{#if: {{{allegiances|}}} | | style="display: none;" }} | |- {{#if: {{{allegiances|}}} | | style="display: none;" }} | ||
| Line 54: | Line 54: | ||
| colspan="3" | {{{rivalries}}} | | colspan="3" | {{{rivalries}}} | ||
|} | |} | ||
{{ #switch: {{{status|}}} | {{ #switch: {{lc:{{{status|}}}}} | ||
| | | dead = [[Category:Dead Players]] | ||
| | | alive = [[Category:Living Players]] | ||
| | | inactive = [[Category:Inactive Players]] | ||
| | | admin = [[Category:Admins]] | ||
}} | }} | ||
[[Category:Players]] | |||
</includeonly> | </includeonly> | ||
| Line 66: | Line 67: | ||
<pre> | <pre> | ||
{{PlayerInfobox | {{PlayerInfobox | ||
|quote = | |quote = | ||
|image = | |image = | ||
| Line 85: | Line 85: | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> | ||
<div style="display:none"> | |||
{{Documentation|content= | |||
Infobox for [[Players|Player]] pages. | |||
}} | |||
<templatedata> | |||
{ | |||
"description": "Player infobox", | |||
"params": { | |||
"quote": { | |||
"label": "Quote", | |||
"description": "A quote from the player. Do not include quotation marks.", | |||
"type": "string" | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"description": "An image of the player (e.g. ExampleFile.png).", | |||
"type": "string" | |||
}, | |||
"player_name": { | |||
"label": "Player name", | |||
"description": "The in-game name of the player. This can usually be omitted if the article name is already the player name.", | |||
"type": "string" | |||
}, | |||
"other_names": { | |||
"label": "Other names", | |||
"description": "Other names used by the player. For example, if a player has changed their username.", | |||
"type": "string" | |||
}, | |||
"status": { | |||
"label": "Status", | |||
"description": "The status of the player. Must be alive, inactive, dead or admin.", | |||
"type": "string", | |||
"required":true | |||
}, | |||
"playtime": { | |||
"label": "Playtime", | |||
"description": "Playtime in hours. Can be found in [[Player Statistics]].", | |||
"type": "string", | |||
"required":true | |||
}, | |||
"join_date": { | |||
"label": "Join date", | |||
"description": "The player's join date formatted as 'DD MMMM YYYY'. Can be found in [[Player Statistics]].", | |||
"type": "string", | |||
"required":true | |||
}, | |||
"join_num": { | |||
"label": "Join number", | |||
"description": "The player's unique join number.", | |||
"type": "string", | |||
"required":true | |||
}, | |||
"death_date": { | |||
"label": "Death date", | |||
"description": "If applicable, the date the player died.", | |||
"type": "string" | |||
}, | |||
"death_cause": { | |||
"label": "Death cause", | |||
"description": "If applicable, how the player died.", | |||
"type": "string" | |||
}, | |||
"death_location": { | |||
"label": "Death cause", | |||
"description": "If applicable, where the player died in the world (e.g. in a town, in a trial chamber, etc.", | |||
"type": "string" | |||
}, | |||
"head_status": { | |||
"label": "Head status", | |||
"description": "If applicable and known, the location of or who holds the player's head.", | |||
"type": "string" | |||
}, | |||
"last_will": { | |||
"label": "Last will", | |||
"description": "If applicable, the last will of the player.", | |||
"type": "string" | |||
}, | |||
"allegiances": { | |||
"label": "Allegiances", | |||
"description": "If known, players or groups that the player was associated with.", | |||
"type": "string" | |||
}, | |||
"rivalries": { | |||
"label": "Allegiances", | |||
"description": "If known, players or groups that the player was a known rival of.", | |||
"type": "string" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
</div> | |||
Latest revision as of 06:14, 25 January 2026
{{PlayerInfobox
|quote =
|image =
|player_name =
|other_names =
|status =
|playtime =
|join_date =
|join_num =
|death_date =
|death_cause =
|death_location =
|head_status =
|last_will =
|allegiances =
|rivalries =
}}