Template
Infobox Player
From Dogcraft Wiki
imported>William No edit summary |
No edit summary |
||
(70 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{DEFAULTSORT:Template:Userbox}} | |||
An infobox for usage on articles about players. | An infobox for usage on articles about players. | ||
{{Infobox Player | {{Infobox Player | ||
| | |aliases = [[ReNDoG]] | ||
|mc_username = Renthedog | |mc_username = Renthedog | ||
|mc_uuid = 2dd0cc3b-0825-4c3e-bd99-3bf07ef27447 | |||
|join_date = the beginning of time! | |join_date = the beginning of time! | ||
|activity = Active | |activity = Active | ||
|server_rank = | |server_rank = {{Rank|EnderGod}} | ||
|groups = [[Staff Team]] | |groups = [[Staff Team]] | ||
|accomplishments = | |accomplishments = Founder of Dogcraft | ||
|builds = • Castle in [[Stream Town]]<br>• Original server [[Hub]] | |||
}} | }} | ||
<pre> | <pre> | ||
{{Infobox Player | {{Infobox Player | ||
|aliases = | |||
|mc_uuid = | |||
|mc_username = | |mc_username = | ||
|join_date = | |join_date = | ||
Line 19: | Line 22: | ||
|server_rank = | |server_rank = | ||
|groups = | |groups = | ||
|builds = | |||
|projects = | |||
|bases = | |||
|accomplishments = | |accomplishments = | ||
}} | }} | ||
</pre> | </pre> | ||
<templatedata> | |||
{ | |||
"params": { | |||
"mc_username": { | |||
"label": "Minecraft Username (Legacy)", | |||
"description": "In-game username. No longer in active use.", | |||
"type": "string", | |||
"deprecated": "This parameter was replaced by automatic data from [[User:MyPage/data]]. Kept only for compatibility with older userpages. If your minecraft username is not automatically included in this template, complete the [[Guide:Linking|linking]] process, or contact a [[Dogcraft_Wiki:Administrators|Wiki Administrator]]." | |||
}, | |||
"aliases": { | |||
"label": "Aliases", | |||
"description": "Other names this player has gone by.", | |||
"example": "TheNewRid, satdownpro", | |||
"type": "string" | |||
}, | |||
"join_date": { | |||
"label": "Join Date", | |||
"description": "When the player first joined the Dogcraft Server", | |||
"example": "1<sup>st</sup> January 2020", | |||
"type": "string" | |||
}, | |||
"activity": { | |||
"label": "Activity?", | |||
"description": "Is this player currently active or inactive on the server?", | |||
"example": "Active", | |||
"type": "string" | |||
}, | |||
"groups": { | |||
"label": "Member of", | |||
"description": "What groups this player is a member of", | |||
"example": "[[Staff Team]]", | |||
"type": "string" | |||
}, | |||
"builds": { | |||
"label": "Builds", | |||
"description": "List of the most noteworthy builds the player has made.", | |||
"type": "string" | |||
}, | |||
"projects": { | |||
"label": "Projects", | |||
"description": "List of the most notable projects this player has worked on/led." | |||
}, | |||
"bases": { | |||
"label": "Bases", | |||
"description": "List of the base(s) the player is part of/owns.", | |||
"type": "string" | |||
}, | |||
"accomplishments": { | |||
"label": "Accomplishments", | |||
"description": "Other accomplishments the player has achieved.", | |||
"example": "Founded the Stick Society!", | |||
"type": "string" | |||
}, | |||
"role": { | |||
"aliases": [ | |||
"server_rank" | |||
], | |||
"label": "Role", | |||
"description": "Role(s) held in the entire Dogcraft community.", | |||
"example": "{{DiscordRank|Mod}}", | |||
"type": "wiki-template-name" | |||
} | |||
}, | |||
"description": "An infobox for use on user pages, about a player on the Dogcraft server.", | |||
"format": "block", | |||
"paramOrder": [ | |||
"aliases", | |||
"join_date", | |||
"activity", | |||
"role", | |||
"groups", | |||
"builds", | |||
"projects", | |||
"bases", | |||
"accomplishments", | |||
"mc_username" | |||
] | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> | ||
<includeonly>{{ | <includeonly>{{Infobox2 | ||
|name = | |name = | ||
|bodystyle = | |bodystyle = | ||
| | |above = {{#ifexist: User:{{ROOTPAGENAME}}/data | {{#ifeq: {{MCNAME|{{ROOTPAGENAME}}}}|Unlinked Account|{{#if:{{{mc_username|}}}|{{{mc_username|}}}|{{PAGENAME}}}}|{{MCNAME|{{ROOTPAGENAME}}}}}} | {{#if:{{{mc_username|}}}|{{{mc_username|}}}|{{PAGENAME}}}} }} {{#ifeq: {{UUID|{{ROOTPAGENAME}}}}|Unlinked Account|[https://namemc.com/profile/{{MCNAME|{{ROOTPAGENAME}}}} <span class="fa fa-history""></span>]|[https://namemc.com/profile/{{UUID|{{ROOTPAGENAME}}}} <span class="fa fa-history""></span>]}} | ||
|image = {{#if:{{{mc_username|}}}|https://minotar.net/body/{{{mc_username|}}}/115.png|}} | |image = {{#ifeq: {{MCNAME|{{ROOTPAGENAME}}}} | ||
|Unlinked Account | |||
|{{#if:{{{mc_uuid|}}} | |||
| https://dogcraft.net/img/mc/renders/body/{{{mc_uuid|}}}?overlay=true.png | |||
| {{#if:{{{mc_username|}}} | |||
| https://minotar.net/body/{{{mc_username|}}}/115.png | |||
|https://minotar.net/body/Player/115.png | |||
}} | |||
}} | |||
|{{#ifeq: {{UUID|{{ROOTPAGENAME}}}} | |||
| Unlinked Account | |||
| https://minotar.net/body/{{#ifeq:{{MCNAME|{{ROOTPAGENAME}}}} | |||
|Unlinked Account | |||
|{{#if:{{{mc_username|}}} | |||
|{{{mc_username|}}} | |||
|Player | |||
}} | |||
|{{MCNAME|{{ROOTPAGENAME}}}} | |||
}}/115.png | |||
| https://dogcraft.net/img/mc/renders/body/{{UUID|{{ROOTPAGENAME}}}}?overlay=true.png | |||
}} | |||
}} | |||
|caption = <br> | |caption = <br> | ||
|header1 = {{Large|Player}} | |header1 = {{Large|Player}} | ||
|label1 = Known as: | |||
|data1 = {{{aliases|}}} | |||
|label2 = Joined | |label2 = Joined | ||
|data2 = {{{join_date|}}} | |data2 = {{{join_date|}}} | ||
|label3 = | |label3 = Activity | ||
|data3 = {{{activity|}}} | |data3 = {{{activity|}}} | ||
|label4 | |label5 = Further Roles | ||
|data4 | |data5 = {{#if: {{{role|}}}|{{{role|}}}|{{#if: {{{server_rank|}}}|{{{server_rank|}}}|}}}} | ||
| | |label4 = [[Ranks|Server Rank]] | ||
| | |data4 = {{#ifexist: User:{{ROOTPAGENAME}}/data|{{#ifeq:{{SERVERRANK|{{ROOTPAGENAME}}}}|Unlinked|{{Rank|Unlinked}}|{{Rank|{{SERVERRANK|{{ROOTPAGENAME}}}}}}}}|}} | ||
| | |label6 = Member of: | ||
| | |data6 = {{{groups|}}} | ||
| | |header7 = Profile | ||
| | |label7 = Builds | ||
|data7 = {{{builds|}}} | |||
|label8 = Projects | |||
|data8 = {{{projects|}}} | |||
|label9 = Bases | |||
|data9 = {{{bases|}}} | |||
|label10 = Accomplishments | |||
|data10 = {{{accomplishments|}}} | |||
}} | }} | ||
[[Category: | [[Category:Players]] | ||
</includeonly> | </includeonly> |
Latest revision as of 10:08, 3 January 2023
An infobox for usage on articles about players.
Renthedog Account | |
---|---|
Player | |
Joined | the beginning of time! |
Activity | Active |
Further Roles | [EnderGod] |
Member of: | Staff Team |
Profile | |
Accomplishments | Founder of Dogcraft |
{{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 | |
---|---|---|---|---|
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 |
Role | role server_rank | Role(s) held in the entire Dogcraft community.
| 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 |
Minecraft Username (Legacy) | mc_username | In-game username. No longer in active use. | String | deprecated |