Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox Player: Difference between revisions

Template page
More languages
Added the initial template
 
No edit summary
 
(29 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox
<includeonly>{{Skeleton Infobox
|name        =  
|name        =  
|bodystyle    =  
|bodystyle    =  
|title        = {{{minecraftname|{{PAGENAME}}}}}
|title        = {{{minecraftname|{{PAGENAME}}}}}
|titlestyle  =  
|titlestyle  =  
|image       = {{{imageurl|}}}
|image = {{#if:{{{imageurl|}}}
| [[File:{{{imageurl}}}|300px]]
| <div class="autogenerated-skin">https://render.crafty.gg/3d/full/{{{minecraftname|}}}?width=600&height=900&x=-20&y=10&z=50.png</div>
}}
|imagestyle  =  
|imagestyle  =  
|caption      = {{{skinexplain|}}}
|caption      = {{{imagecaption|}}}
|captionstyle =  
|captionstyle =  
|datastyle    =  
|datastyle    =  
Line 20: Line 23:
|label6  = Nationality
|label6  = Nationality
|data6  = {{{nationality|}}}
|data6  = {{{nationality|}}}
|label7  = DOB
|label7  = Birthday
|data7  = {{#if:{{{birthdayyear|}}}{{{birthdaymonth|}}}{{{birthdayday|}}}
|data7  = {{#if:{{{birthdayyear|}}}{{{birthdaymonth|}}}{{{birthdayday|}}}
             | {{#formatdate:{{{birthdayyear}}}-{{#switch:{{#sub:{{lc:{{{birthdaymonth}}}}}|0|3}}
             | {{#formatdate:{{{birthdayday}}}.{{#switch:{{#sub:{{lc:{{{birthdaymonth}}}}}|0|3}}
               | jan = 01
               | jan = 01
               | feb = 02
               | feb = 02
Line 36: Line 39:
               | dec = 12
               | dec = 12
               | {{padleft:{{{birthdaymonth}}}|2}}
               | {{padleft:{{{birthdaymonth}}}|2}}
               }}-{{{birthdayday}}}}}}}
               }}.{{{birthdayyear}}}}}}}
|header8 = Moxiecraft
|header8 = Moxiecraft
|label9 = Resides in
|label9 = Resides in
Line 43: Line 46:
|data10  = {{#ifeq:{{lc:{{{moderator|}}}}}|yes|[[Moderator]][[Category:Moderators|{{uc:{{{minecraftname|}}}}}]]|{{#ifeq:{{lc:{{{admin|}}}}}|yes|[[Admin]][[Category:Admins|{{uc:{{{minecraftname|}}}}}]]|}}}}
|data10  = {{#ifeq:{{lc:{{{moderator|}}}}}|yes|[[Moderator]][[Category:Moderators|{{uc:{{{minecraftname|}}}}}]]|{{#ifeq:{{lc:{{{admin|}}}}}|yes|[[Admin]][[Category:Admins|{{uc:{{{minecraftname|}}}}}]]|}}}}
}}
}}
[[Category:Players]]</includeonly>
<noinclude><templatedata>
{
"description": "Infobox for displaying information about a player",
"params": {
"minecraftname": {
"label": "Minecraft Name",
"description": "The player's Minecraft username",
"type": "string",
"required": true
},
"imageurl": {
"label": "Image",
"description": "Filename of a picture of a player",
"type": "wiki-file-name",
"autovalue": "",
"suggested": true
},
"imagecaption": {
"label": "Caption",
"description": "Caption for the image",
"type": "string",
"required": false
},
"preferredname": {
"label": "Alias",
"description": "Preferred or alternative name(s) the player goes by",
"type": "string",
"required": false
},
"gender": {
"label": "Gender",
"description": "The person's gender.",
"type": "string",
"required": false
},
"pronouns": {
"label": "Pronouns",
"description": "The person's preferred pronouns",
"type": "string",
"required": false
},
"location": {
"label": "Location",
"description": "Country/city/location where the player is currently located.",
"type": "string",
"required": false
},
"nationality": {
"label": "Nationality",
"description": "The player's nationality",
"type": "string",
"required": false
},
"birthdayyear": {
"label": "Birthday Year",
"description": "Year the person was born",
"type": "number",
"required": false,
"autovalue": "XXXX",
"suggested": true
},
"birthdaymonth": {
"label": "Birthday Month",
"description": "Month the person was born (e.g., Jan, Feb, etc. or numeric)",
"type": "string",
"required": false,
"autovalue": "XX",
"suggested": true
},
"birthdayday": {
"label": "Birthday Day",
"description": "Day of the month the person was born",
"type": "number",
"required": false,
"autovalue": "XX",
"suggested": true
},
"residence": {
"label": "Resides in",
"description": "Place of residence in Terrafirma",
"type": "string",
"required": false
},
"moderator": {
"label": "Moderator Status",
"description": "Set to 'yes' if the player is a Moderator",
"type": "string",
"required": false
},
"admin": {
"label": "Admin Status",
"description": "Set to 'yes' if the player is an Admin",
"type": "string",
"required": false
}
},
"paramOrder": [
"minecraftname",
"imageurl",
"imagecaption",
"preferredname",
"gender",
"pronouns",
"location",
"nationality",
"birthdayday",
"birthdaymonth",
"birthdayyear",
"residence",
"moderator",
"admin"
]
}
</templatedata></noinclude>

Latest revision as of 20:24, 29 July 2026

Infobox for displaying information about a player

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Minecraft Nameminecraftname

The player's Minecraft username

Stringrequired
Imageimageurl

Filename of a picture of a player

Auto value
Filesuggested
Captionimagecaption

Caption for the image

Stringoptional
Aliaspreferredname

Preferred or alternative name(s) the player goes by

Stringoptional
Gendergender

The person's gender.

Stringoptional
Pronounspronouns

The person's preferred pronouns

Stringoptional
Locationlocation

Country/city/location where the player is currently located.

Stringoptional
Nationalitynationality

The player's nationality

Stringoptional
Birthday Daybirthdayday

Day of the month the person was born

Auto value
XX
Numbersuggested
Birthday Monthbirthdaymonth

Month the person was born (e.g., Jan, Feb, etc. or numeric)

Auto value
XX
Stringsuggested
Birthday Yearbirthdayyear

Year the person was born

Auto value
XXXX
Numbersuggested
Resides inresidence

Place of residence in Terrafirma

Stringoptional
Moderator Statusmoderator

Set to 'yes' if the player is a Moderator

Stringoptional
Admin Statusadmin

Set to 'yes' if the player is an Admin

Stringoptional