Template:Infobox Player: Difference between revisions
Appearance
Move categories outside includeonly with namespace guard to fix template self-categorization |
Fix: escape category links in documentation to prevent template self-categorization |
||
| Line 59: | Line 59: | ||
Set <code>status_raw=yes</code> to pass pre-formatted wikitext as the status instead of using <nowiki>{{status}}</nowiki>. | Set <code>status_raw=yes</code> to pass pre-formatted wikitext as the status instead of using <nowiki>{{status}}</nowiki>. | ||
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 <nowiki>[[Category:Players]]</nowiki>. The <code>status</code> field also adds <nowiki>[[Category:Alive Players]]</nowiki>, <nowiki>[[Category:Dead Players]]</nowiki>, or <nowiki>[[Category:Banned Players]]</nowiki> as appropriate. | ||
</noinclude> | </noinclude> | ||
Latest revision as of 02:45, 4 March 2026
Usage[edit]
{{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 [[Category:Players]]. The status field also adds [[Category:Alive Players]], [[Category:Dead Players]], or [[Category:Banned Players]] as appropriate.