Template:Infobox Player: Difference between revisions
Appearance
Fix: add namespace check to prevent template page self-categorization |
Force re-parse for category links |
||
| Line 62: | Line 62: | ||
Auto-categorization: all pages get [[Category:Players]]. The <code>status</code> field also adds [[Category:Alive Players]], [[Category:Dead Players]], or [[Category:Banned Players]] as appropriate. | Auto-categorization: all pages get [[Category:Players]]. The <code>status</code> field also adds [[Category:Alive Players]], [[Category:Dead Players]], or [[Category:Banned Players]] as appropriate. | ||
</noinclude> | </noinclude> | ||
<\!-- --> | |||
Revision as of 02:34, 4 March 2026
Usage
{{Infobox Player
| name =
| image =
| uuid =
| status = alive / dead / banned / pardoned
| status_raw = yes (to pass status through without auto-coloring)
| status_note = extra context after status, e.g. "(murdered by vphlIo)"
| first_join =
| role =
| logins =
| sessions =
| session_length =
| known_accounts =
| deaths =
| total_deaths =
| killed_by =
| death_causes =
| death_message =
| banned_date =
| banned_by =
| ban_reason =
| play_time =
| total_play_time =
| mob_kills =
| total_mob_kills =
| player_kills =
| advancements =
| damage_dealt =
| distance_walked =
| distance_elytra =
| total_distance =
| animals_bred =
| villager_trades =
| fish_caught =
| buttons_crafted =
| nickname =
| also_known_as =
| alt_accounts =
| alt_of =
| alt_flag =
| possible_alt =
| associated_with =
| team =
| previous_server =
| language =
| base =
| spawn_point =
}}
All fields are optional. name defaults to {{PAGENAME}}.
Set status_raw=yes to pass pre-formatted wikitext as the status instead of using {{status}}.
Auto-categorization: all pages get . The status field also adds , , or as appropriate.
<\!-- -->