Template
Infobox Player
From Dogcraft Wiki
mNo edit summary |
m (Adding support for automatically grabbing UUIDs) |
||
| Line 101: | Line 101: | ||
|bodystyle = | |bodystyle = | ||
|title = {{#if:{{{mc_username|}}}|{{{mc_username|}}}|{{PAGENAME}}}} | |title = {{#if:{{{mc_username|}}}|{{{mc_username|}}}|{{PAGENAME}}}} | ||
|image = {{#if:{{{mc_uuid|}}}|https://crafatar.com/renders/body/{{{mc_uuid|}}}.png|{{#if:{{{mc_username|}}}|https://minotar.net/body/{{{mc_username|}}}/115.png|}}}} | |image = {{#ifexist: User:{{ROOTPAGENAME}}/data | {{#ifeq:{{UUID|{{#if:{{{mc_username|}}}|{{{mc_username|}}}|{{ROOTPAGENAME}}}} | Unlinked Account | {{#if:{{{mc_username|}}}|https://minotar.net/body/{{{mc_username|}}}/115.png|}} | https://crafatar.com/renders/body/{{UUID|ROOTPAGENAME}}.png }} | {{#if:{{{mc_uuid|}}}|https://crafatar.com/renders/body/{{{mc_uuid|}}}.png|{{#if:{{{mc_username|}}}|https://minotar.net/body/{{{mc_username|}}}/115.png|}}}} }} | ||
|caption = <br> | |caption = <br> | ||
|captionstyle = color:#000; | |captionstyle = color:#000; | ||
Revision as of 16:40, 4 December 2020
An infobox for usage on articles about players.
{{Infobox
|name =
|bodystyle =
|title = Renthedog
|image = caption =
{{Infobox Player
|aliases =
|mc_uuid =
|mc_username =
|join_date =
|activity =
|server_rank =
|groups =
|builds =
|projects =
|bases =
|accomplishments =
}}
An infobox for use on user pages, about a player on the Dogcraft server.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Minecraft Username | mc_username | In-game username
| String | required |
| Aliases | aliases | Other names this player has gone by.
| String | optional |
| Join Date | join_date | When the player first joined the Dogcraft Server
| String | optional |
| Activity? | activity | Is this player currently active or inactive on the server?
| String | optional |
| Server Rank | server_rank | The player's currently displayed user rank. Leave blank for default rank.
| Template | optional |
| Member of | groups | What groups this player is a member of
| String | optional |
| Builds | builds | List of the most noteworthy builds the player has made. | String | optional |
| Projects | projects | List of the most notable projects this player has worked on/led. | Unknown | optional |
| Bases | bases | List of the base(s) the player is part of/owns. | String | optional |
| Accomplishments | accomplishments | Other accomplishments the player has achieved.
| String | optional |