Template

Infobox Player

From Dogcraft Wiki

mNo edit summary
mNo edit summary
Line 34: Line 34:
"params": {
"params": {
"mc_username": {
"mc_username": {
"label": "Minecraft Username",
"label": "Minecraft Username (Legacy)",
"description": "In-game username",
"description": "In-game username. <br> Kept for compatibility with older userpages, no longer in active use.",
"example": "Steve",
"example": "Steve",
"type": "string",
"type": "string",
"required": true
"deprecated": "This parameter was replaced by automatic data from User:MyPage/data. Kept for compatibility with older userpages. If your minecraft username is not automatically included in this template, complete the linking proces, or contact a Wiki Administrator."
},
},
"aliases": {
"aliases": {
Line 57: Line 57:
"example": "Active",
"example": "Active",
"type": "string"
"type": "string"
},
"server_rank": {
"label": "Server Rank",
"description": "The player's currently displayed user rank. Leave blank for default rank.",
"example": "<pre>{{Mod}}</pre>",
"type": "wiki-template-name"
},
},
"groups": {
"groups": {
Line 89: Line 83:
"example": "Founded the Stick Society!",
"example": "Founded the Stick Society!",
"type": "string"
"type": "string"
},
"role": {
"aliases": [
"server_rank"
],
"label": "Role",
"description": "Role(s) held in the whole Dogcraft community.",
"example": "<pre>{{DiscordRank|Mod}}</pre>",
"type": "wiki-template-name"
}
}
},
},
"description": "An infobox for use on user pages, about a player on the Dogcraft server.",
"description": "An infobox for use on user pages, about a player on the Dogcraft server.",
"format": "block"
"format": "block",
"paramOrder": [
"mc_username",
"aliases",
"join_date",
"activity",
"role",
"groups",
"builds",
"projects",
"bases",
"accomplishments"
]
}
}
</templatedata>
</templatedata>
Line 115: Line 130:
|data3  = {{{activity|}}}
|data3  = {{{activity|}}}
|label4  = Role
|label4  = Role
|data4  = {{{server_rank}}}
|data4  = {{{server_rank|}}}
|label11 = [[Ranks|Server Rank]]
|label11 = [[Ranks|Server Rank]]
|data11  = {{#ifexist: User:{{ROOTPAGENAME}}/data|{{#ifeq:{{SERVERRANK|{{ROOTPAGENAME}}}}|Unlinked|{{Rank|Unlinked}}|{{Rank|{{SERVERRANK|{{ROOTPAGENAME}}}}}}}}|}}
|data11  = {{#ifexist: User:{{ROOTPAGENAME}}/data|{{#ifeq:{{SERVERRANK|{{ROOTPAGENAME}}}}|Unlinked|{{Rank|Unlinked}}|{{Rank|{{SERVERRANK|{{ROOTPAGENAME}}}}}}}}|}}

Revision as of 18:27, 4 December 2020

An infobox for usage on articles about players.

Renthedog
2dd0cc3b-0825-4c3e-bd99-3bf07ef27447.png


Player
Known as: ReNDoG
Joined the beginning of time!
Actvity Active
Role [EnderGod]
Member of: Staff Team
Server Information
Builds • Castle in Stream Town
• Original server Hub
Accomplishments Founder of Dogcraft
 Username History
{{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.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Minecraft Username (Legacy)mc_username

In-game username. <br> Kept for compatibility with older userpages, no longer in active use.

Example
Steve
Stringdeprecated
Aliasesaliases

Other names this player has gone by.

Example
TheNewRid, satdownpro
Stringoptional
Join Datejoin_date

When the player first joined the Dogcraft Server

Example
1<sup>st</sup> January 2020
Stringoptional
Activity?activity

Is this player currently active or inactive on the server?

Example
Active
Stringoptional
Rolerole server_rank

Role(s) held in the whole Dogcraft community.

Example
<pre>{{DiscordRank|Mod}}</pre>
Templateoptional
Member ofgroups

What groups this player is a member of

Example
[[Staff Team]]
Stringoptional
Buildsbuilds

List of the most noteworthy builds the player has made.

Stringoptional
Projectsprojects

List of the most notable projects this player has worked on/led.

Unknownoptional
Basesbases

List of the base(s) the player is part of/owns.

Stringoptional
Accomplishmentsaccomplishments

Other accomplishments the player has achieved.

Example
Founded the Stick Society!
Stringoptional


This page was last modified on 4 December 2020, at 18:27. (16 months ago)