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
Added the initial template
 
Added TemplateData
Line 1: Line 1:
{{Infobox
<includeonly>{{Infobox
|name =
|name =
|bodystyle =
|bodystyle =
Line 6: Line 6:
|image = {{{imageurl|}}}
|image = {{{imageurl|}}}
|imagestyle =
|imagestyle =
|caption = {{{skinexplain|}}}
|caption = {{{imagecaption|}}}
|captionstyle =
|captionstyle =
|datastyle =
|datastyle =
Line 20: Line 20:
|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:{{{birthdayyear}}}-{{#switch:{{#sub:{{lc:{{{birthdaymonth}}}}}|0|3}}
Line 42: Line 42:
|label10 = Staff member
|label10 = Staff member
|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|}}}}}]]|}}}}
}}</includeonly>
}}
<noinclude><templatedata>
{
"description": "Infobox for displaying information about a player",
"params": {
"minecraftname": {
"label": "Minecraft Name",
"description": "The player's Minecraft username. Defaults to the page name if not provided",
"type": "string",
"required": false
},
"imageurl": {
"label": "Image URL",
"description": "A wiki-URL to a picture of the player",
"type": "string",
"required": 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
},
"birthdaymonth": {
"label": "Birthday Month",
"description": "Month the person was born (e.g., Jan, Feb, etc. or numeric)",
"type": "string",
"required": false
},
"birthdayday": {
"label": "Birthday Day",
"description": "Day of the month the person was born",
"type": "number",
"required": false
},
"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
}
}
}
</templatedata></noinclude>

Revision as of 00:28, 3 August 2025

Infobox for displaying information about a player

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Minecraft Nameminecraftname

The player's Minecraft username. Defaults to the page name if not provided

Stringoptional
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 Yearbirthdayyear

Year the person was born

Numberoptional
Birthday Monthbirthdaymonth

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

Stringoptional
Birthday Daybirthdayday

Day of the month 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