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
Content deleted Content added
mNo edit summary
m Protected "Template:Infobox Player" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
 
(One intermediate revision by the same user not shown)
Line 22: Line 22:
|label7 = Birthday
|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 36:
| dec = 12
| dec = 12
| {{padleft:{{{birthdaymonth}}}|2}}
| {{padleft:{{{birthdaymonth}}}|2}}
}}-{{{birthdayday}}}}}}}
}}.{{{birthdayyear}}}}}}}
|header8 = Moxiecraft
|header8 = Moxiecraft
|label9 = Resides in
|label9 = Resides in
Line 46: Line 46:
<noinclude><templatedata>
<noinclude><templatedata>
{
{
"description": "Infobox for displaying information about a player",
"description": "Infobox for displaying information about a player",
"params": {
"params": {
"minecraftname": {
"minecraftname": {
"label": "Minecraft Name",
"label": "Minecraft Name",
"description": "The player's Minecraft username",
"description": "The player's Minecraft username",
"type": "string",
"type": "string",
"required": true
"required": true
},
},
"imageurl": {
"imageurl": {
"label": "Image URL",
"label": "Image URL",
"description": "A wiki-URL to a picture of the player",
"description": "A wiki-URL to a picture of the player",
"type": "string",
"type": "string",
"required": true
"required": true
},
},
"imagecaption": {
"imagecaption": {
"label": "Caption",
"label": "Caption",
"description": "Caption for the image",
"description": "Caption for the image",
"type": "string",
"type": "string",
"required": false
"required": false
},
},
"preferredname": {
"preferredname": {
"label": "Alias",
"label": "Alias",
"description": "Preferred or alternative name(s) the player goes by",
"description": "Preferred or alternative name(s) the player goes by",
"type": "string",
"type": "string",
"required": false
"required": false
},
},
"gender": {
"gender": {
"label": "Gender",
"label": "Gender",
"description": "The person's gender.",
"description": "The person's gender.",
"type": "string",
"type": "string",
"required": false
"required": false
},
},
"pronouns": {
"pronouns": {
"label": "Pronouns",
"label": "Pronouns",
"description": "The person's preferred pronouns",
"description": "The person's preferred pronouns",
"type": "string",
"type": "string",
"required": false
"required": false
},
},
"location": {
"location": {
"label": "Location",
"label": "Location",
"description": "Country/city/location where the player is currently located.",
"description": "Country/city/location where the player is currently located.",
"type": "string",
"type": "string",
"required": false
"required": false
},
},
"nationality": {
"nationality": {
"label": "Nationality",
"label": "Nationality",
"description": "The player's nationality",
"description": "The player's nationality",
"type": "string",
"type": "string",
"required": false
"required": false
},
},
"birthdayyear": {
"birthdayyear": {
"label": "Birthday Year",
"label": "Birthday Year",
"description": "Year the person was born",
"description": "Year the person was born",
"type": "number",
"type": "number",
"required": false
"required": false
},
},
"birthdaymonth": {
"birthdaymonth": {
"label": "Birthday Month",
"label": "Birthday Month",
"description": "Month the person was born (e.g., Jan, Feb, etc. or numeric)",
"description": "Month the person was born (e.g., Jan, Feb, etc. or numeric)",
"type": "string",
"type": "string",
"required": false
"required": false
},
},
"birthdayday": {
"birthdayday": {
"label": "Birthday Day",
"label": "Birthday Day",
"description": "Day of the month the person was born",
"description": "Day of the month the person was born",
"type": "number",
"type": "number",
"required": false
"required": false
},
},
"residence": {
"residence": {
"label": "Resides in",
"label": "Resides in",
"description": "Place of residence in Terrafirma",
"description": "Place of residence in Terrafirma",
"type": "string",
"type": "string",
"required": false
"required": false
},
},
"moderator": {
"moderator": {
"label": "Moderator Status",
"label": "Moderator Status",
"description": "Set to 'yes' if the player is a Moderator",
"description": "Set to 'yes' if the player is a Moderator",
"type": "string",
"type": "string",
"required": false
"required": false
},
},
"admin": {
"admin": {
"label": "Admin Status",
"label": "Admin Status",
"description": "Set to 'yes' if the player is an Admin",
"description": "Set to 'yes' if the player is an Admin",
"type": "string",
"type": "string",
"required": false
"required": false
}
}
}
},
"paramOrder": [
"minecraftname",
"imageurl",
"imagecaption",
"preferredname",
"gender",
"pronouns",
"location",
"nationality",
"birthdayday",
"birthdaymonth",
"birthdayyear",
"residence",
"moderator",
"admin"
]
}
}
</templatedata></noinclude>
</templatedata></noinclude>

Latest revision as of 12:48, 3 August 2025

Infobox for displaying information about a player

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Minecraft Nameminecraftname

The player's Minecraft username

Stringrequired
Image URLimageurl

A wiki-URL to a picture of the player

Stringrequired
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

Numberoptional
Birthday Monthbirthdaymonth

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

Stringoptional
Birthday Yearbirthdayyear

Year the person was born

Numberoptional
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