Template:Infobox Player: Difference between revisions
Appearance
Create reusable infobox template for player pages |
Add missing infobox fields |
||
| Line 5: | Line 5: | ||
{{!}}- | {{!}}- | ||
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image}}}|250px]] | {{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image}}}|250px]] | ||
}} | |||
{{#if:{{{uuid|}}}| | |||
{{!}}- | |||
{{!}} '''UUID''' {{!}}{{!}} {{{uuid}}} | |||
}} | }} | ||
{{#if:{{{status|}}}| | {{#if:{{{status|}}}| | ||
| Line 17: | Line 21: | ||
{{!}}- | {{!}}- | ||
{{!}} '''Role''' {{!}}{{!}} {{{role}}} | {{!}} '''Role''' {{!}}{{!}} {{{role}}} | ||
}} | |||
{{#if:{{{logins|}}}| | |||
{{!}}- | |||
{{!}} '''Logins''' {{!}}{{!}} {{{logins}}} | |||
}} | |||
{{#if:{{{sessions|}}}| | |||
{{!}}- | |||
{{!}} '''Sessions''' {{!}}{{!}} {{{sessions}}} | |||
}} | |||
{{#if:{{{session_length|}}}| | |||
{{!}}- | |||
{{!}} '''Session Length''' {{!}}{{!}} {{{session_length}}} | |||
}} | }} | ||
{{#if:{{{known_accounts|}}}| | {{#if:{{{known_accounts|}}}| | ||
| Line 33: | Line 49: | ||
{{!}}- | {{!}}- | ||
{{!}} '''Killed By''' {{!}}{{!}} {{{killed_by}}} | {{!}} '''Killed By''' {{!}}{{!}} {{{killed_by}}} | ||
}} | |||
{{#if:{{{death_causes|}}}| | |||
{{!}}- | |||
{{!}} '''Death Causes''' {{!}}{{!}} {{{death_causes}}} | |||
}} | }} | ||
{{#if:{{{death_message|}}}| | {{#if:{{{death_message|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}} '''Death Message''' {{!}}{{!}} {{{death_message}}} | {{!}} '''Death Message''' {{!}}{{!}} {{{death_message}}} | ||
}} | |||
{{#if:{{{banned_date|}}}| | |||
{{!}}- | |||
{{!}} '''Banned''' {{!}}{{!}} {{{banned_date}}} | |||
}} | |||
{{#if:{{{banned_by|}}}| | |||
{{!}}- | |||
{{!}} '''Banned By''' {{!}}{{!}} {{{banned_by}}} | |||
}} | |||
{{#if:{{{ban_reason|}}}| | |||
{{!}}- | |||
{{!}} '''Ban Reason''' {{!}}{{!}} {{{ban_reason}}} | |||
}} | }} | ||
{{#if:{{{play_time|}}}| | {{#if:{{{play_time|}}}| | ||
| Line 85: | Line 117: | ||
{{!}}- | {{!}}- | ||
{{!}} '''Villager Trades''' {{!}}{{!}} {{{villager_trades}}} | {{!}} '''Villager Trades''' {{!}}{{!}} {{{villager_trades}}} | ||
}} | |||
{{#if:{{{fish_caught|}}}| | |||
{{!}}- | |||
{{!}} '''Fish Caught''' {{!}}{{!}} {{{fish_caught}}} | |||
}} | |||
{{#if:{{{buttons_crafted|}}}| | |||
{{!}}- | |||
{{!}} '''Buttons Crafted''' {{!}}{{!}} {{{buttons_crafted}}} | |||
}} | }} | ||
{{#if:{{{nickname|}}}| | {{#if:{{{nickname|}}}| | ||
| Line 101: | Line 141: | ||
{{!}}- | {{!}}- | ||
{{!}} '''Alt Of''' {{!}}{{!}} {{{alt_of}}} | {{!}} '''Alt Of''' {{!}}{{!}} {{{alt_of}}} | ||
}} | |||
{{#if:{{{alt_flag|}}}| | |||
{{!}}- | |||
{{!}} '''Alt Flag''' {{!}}{{!}} {{{alt_flag}}} | |||
}} | |||
{{#if:{{{possible_alt|}}}| | |||
{{!}}- | |||
{{!}} '''Possible Alt''' {{!}}{{!}} {{{possible_alt}}} | |||
}} | }} | ||
{{#if:{{{associated_with|}}}| | {{#if:{{{associated_with|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}} '''Associated With''' {{!}}{{!}} {{{associated_with}}} | {{!}} '''Associated With''' {{!}}{{!}} {{{associated_with}}} | ||
}} | |||
{{#if:{{{team|}}}| | |||
{{!}}- | |||
{{!}} '''Team''' {{!}}{{!}} {{{team}}} | |||
}} | |||
{{#if:{{{previous_server|}}}| | |||
{{!}}- | |||
{{!}} '''Previous Server''' {{!}}{{!}} {{{previous_server}}} | |||
}} | |||
{{#if:{{{language|}}}| | |||
{{!}}- | |||
{{!}} '''Language''' {{!}}{{!}} {{{language}}} | |||
}} | }} | ||
{{#if:{{{base|}}}| | {{#if:{{{base|}}}| | ||
Revision as of 21:49, 1 March 2026
Usage
{{Infobox Player
| name =
| image =
| 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 =
| deaths =
| killed_by =
| death_message =
| play_time =
| mob_kills =
| player_kills =
| advancements =
| damage_dealt =
| distance_walked =
| distance_elytra =
| animals_bred =
| villager_trades =
| nickname =
| also_known_as =
| alt_accounts =
| alt_of =
| associated_with =
| base =
| spawn_point =
| known_accounts =
| total_deaths =
| total_play_time =
| total_mob_kills =
| total_distance =
}}
All fields are optional. name defaults to {{PAGENAME}}.
Set status_raw=yes to pass pre-formatted wikitext as the status instead of using {{status}}.