Template:PlayerInfobox: Difference between revisions
Jump to navigation
Jump to search
Created Player Infobox |
No edit summary |
||
| (28 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
{| align="right" style="margin:0 0 0.5em 1em; border:1px solid #A2A9B1; background-color:#F8F9FA; border-collapse: separate; border-spacing: 5px; width:300px; font-size:90%" | {| align="right" style="margin:0 0 0.5em 1em; border:1px solid #A2A9B1; background-color:#F8F9FA; border-collapse: separate; border-spacing: 5px; width:300px; font-size:90%" | ||
|- | |- | ||
! colspan="4" style="font-size:125%; text-align:center; background-color:#E5C0C0; color:black; padding: 10px;" | ! colspan="4" style="font-size:125%; text-align:center; background-color:#E5C0C0; color:black; padding: 10px;" | {{PAGENAME}} | ||
|- | |- | ||
| colspan="4" align="center" | | | colspan="4" align="center" | [[:Category:Players|Player]] | ||
|- {{#if: {{{quote|}}} | | style="display: none;" }} | |- {{#if: {{{quote|}}} | | style="display: none;" }} | ||
| colspan="4" align="center" | ''{{{quote}}}'' | | colspan="4" align="center" | ''"{{{quote}}}"'' | ||
|- {{#if: {{{image|}}} | | style="display: none;" }} | |- {{#if: {{{image|}}} | | style="display: none;" }} | ||
| colspan="4" align="center" | [[Image:{{{image}}}{{!}}140px]] | | colspan="4" align="center" | [[Image:{{{image}}}{{!}}140px]] | ||
| Line 34: | Line 28: | ||
! style="text-align:left; width: 10%;" | No. | ! style="text-align:left; width: 10%;" | No. | ||
| style="width: 20%;" | {{{join_num}}} | | style="width: 20%;" | {{{join_num}}} | ||
|- {{# | |- {{#ifeq: {{{status|}}} | Dead | | style="display: none;" }} | ||
! colspan="4" style="text-align:center; background-color:#f2e0e0" | '''Death''' | ! colspan="4" style="text-align:center; background-color:#f2e0e0" | '''Death''' | ||
|- {{#ifeq: {{{status|}}} | | |- {{#ifeq: {{{status|}}} | Dead | {{#if: {{{death_date|}}} | | style="display: none;" }} | style="display: none;" }} | ||
! colspan="1" style="text-align:left; width:30%" | Date | ! colspan="1" style="text-align:left; width:30%" | Date | ||
| colspan="3" | {{{death_date}}} | | colspan="3" | {{{death_date}}} | ||
|- {{#ifeq: {{{status|}}} | | |- {{#ifeq: {{{status|}}} | Dead | {{#if: {{{death_cause|}}} | | style="display: none;" }} | style="display: none;" }} | ||
! colspan="1" style="text-align:left; width: 30%;" | Cause | ! colspan="1" style="text-align:left; width: 30%;" | Cause | ||
| colspan="3" | {{{death_cause}}} | | colspan="3" | {{{death_cause}}} | ||
|- {{#ifeq: {{{status|}}} | | |- {{#ifeq: {{{status|}}} | Dead | {{#if: {{{death_location|}}} | | style="display: none;" }} | style="display: none;" }} | ||
! colspan="1" style="text-align:left; width: 30%; " | Location | ! colspan="1" style="text-align:left; width: 30%; " | Location | ||
| colspan="3" | {{{death_location}}} | | colspan="3" | {{{death_location}}} | ||
|- {{#ifeq: {{{status|}}} | | |- {{#ifeq: {{{status|}}} | Dead | {{#if: {{{head_status|}}} | | style="display: none;" }} | style="display: none;" }} | ||
! colspan="1" style="text-align:left; width: 30%; " | Head status | ! colspan="1" style="text-align:left; width: 30%; " | Head status | ||
| colspan="3" | {{{head_status}}} | | colspan="3" | {{{head_status}}} | ||
|- {{#ifeq: {{{status|}}} | | |- {{#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 59: | Line 54: | ||
| colspan="3" | {{{rivalries}}} | | colspan="3" | {{{rivalries}}} | ||
|} | |} | ||
</includeonly><noinclude> | {{ #switch: {{lc:{{{status|}}}}} | ||
| dead = [[Category:Dead Players]] | |||
| alive = [[Category:Living Players]] | |||
| inactive = [[Category:Inactive Players]] | |||
| admin = [[Category:Admins]] | |||
}} | |||
[[Category:Players]] | |||
</includeonly> | |||
<noinclude> | |||
<pre> | <pre> | ||
{{ | {{PlayerInfobox | ||
|quote = | |||
|image = | |||
|quote = | |player_name = | ||
|image = | |other_names = | ||
|player_name = | |status = | ||
|other_names = | |playtime = | ||
|status = | |join_date = | ||
|playtime = | |join_num = | ||
|join_date = | |||
|join_num = | |||
|death_date = | |death_date = | ||
|death_cause = | |death_cause = | ||
| Line 82: | 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 =
}}