Template:Infobox Player: Difference between revisions
Template page
More languages
More actions
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:{{{ |
| {{#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}} |
||
}} |
}}.{{{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", |
|||
"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> |
</templatedata></noinclude> |
Latest revision as of 12:48, 3 August 2025
Infobox for displaying information about a player
Parameter | Description | Type | Status | |
---|---|---|---|---|
Minecraft Name | minecraftname | The player's Minecraft username | String | required |
Image URL | imageurl | A wiki-URL to a picture of the player | String | required |
Caption | imagecaption | Caption for the image | String | optional |
Alias | preferredname | Preferred or alternative name(s) the player goes by | String | optional |
Gender | gender | The person's gender. | String | optional |
Pronouns | pronouns | The person's preferred pronouns | String | optional |
Location | location | Country/city/location where the player is currently located. | String | optional |
Nationality | nationality | The player's nationality | String | optional |
Birthday Day | birthdayday | Day of the month the person was born | Number | optional |
Birthday Month | birthdaymonth | Month the person was born (e.g., Jan, Feb, etc. or numeric) | String | optional |
Birthday Year | birthdayyear | Year the person was born | Number | optional |
Resides in | residence | Place of residence in Terrafirma | String | optional |
Moderator Status | moderator | Set to 'yes' if the player is a Moderator | String | optional |
Admin Status | admin | Set to 'yes' if the player is an Admin | String | optional |