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
 
m Protected "Template:Infobox Player" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
 
(6 intermediate revisions by the same user not shown)
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:{{{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 43: Line 43:
|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 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
}
},
"paramOrder": [
"minecraftname",
"imageurl",
"imagecaption",
"preferredname",
"gender",
"pronouns",
"location",
"nationality",
"birthdayday",
"birthdaymonth",
"birthdayyear",
"residence",
"moderator",
"admin"
]
}
</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