Template:Infobox Player: Difference between revisions
Appearance
m testing category |
Adds additional key attributes |
||
| Line 22: | Line 22: | ||
"username": { | "username": { | ||
"label": "Username", | "label": "Username", | ||
"description": " | "description": "The player's Minecraft username", | ||
"example": "AuroraFlight", | "example": "AuroraFlight", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | }, | ||
"nationality": { | "nationality": { | ||
| Line 45: | Line 31: | ||
"description": "The player's nationality or nationalities", | "description": "The player's nationality or nationalities", | ||
"example": "British", | "example": "British", | ||
"type": "string" | "type": "string", | ||
"suggested": true | |||
}, | }, | ||
"discord": { | "discord": { | ||
| Line 51: | Line 38: | ||
"description": "The player's discord username", | "description": "The player's discord username", | ||
"example": "immaxm", | "example": "immaxm", | ||
"type": "string", | |||
"suggested": true | |||
}, | |||
"season-joined": { | |||
"label": "Season Joined", | |||
"description": "The player's first season", | |||
"example": "IV", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"Season 1", | |||
"Season 2", | |||
"Season 3", | |||
"Season 4", | |||
"Season V" | |||
], | |||
"suggested": true | |||
}, | |||
"alias": { | |||
"label": "Aliases", | |||
"description": "The player's aliases", | |||
"example": "Noah", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"quote": { | |||
"label": "Quote", | |||
"description": "The player's known quote", | |||
"example": "\"To be, or not to be, that is the question.\"", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"favourite-item": { | |||
"label": "Favourite Item", | |||
"description": "The player's favourite item", | |||
"example": "Iron Pickaxe", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"favourite-block": { | |||
"label": "Favourite Block", | |||
"description": "The player's favourite block", | |||
"example": "Glowstone", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"minister-role": { | |||
"label": "Minister Role", | |||
"description": "The player's active minister role", | |||
"example": "Media and Communications", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"assumed-office": { | |||
"label": "Assumed Office", | |||
"description": "The date the player assumed office", | |||
"example": "20th June 2025", | |||
"type": "date", | |||
"suggested": true | |||
}, | |||
"preceded-by": { | |||
"label": "Preceded By", | |||
"description": "The previous minister before the player", | |||
"example": "SirIncognito", | |||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
} | } | ||
}, | }, | ||
"description": "An infobox | "description": "An infobox displaying key attributes related to an individual player's profile.", | ||
"paramOrder": [ | |||
"username", | |||
"season-joined", | |||
"nationality", | |||
"discord", | |||
"alias", | |||
"quote", | |||
"favourite-item", | |||
"favourite-block", | |||
"minister-role", | |||
"assumed-office", | |||
"preceded-by" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Revision as of 18:39, 21 June 2025
Usage
Place this on any playerβs page to display the infobox. Just replace the example values in the code block below with your own.
Example
| Alex The Builder | |
|---|---|
| https://mc-heads.net/player/Alex The Builder/110.png | |
| Biography | |
| Username | Alex The Builder |
| Nationality | British |
| Discord | alextb |
An infobox displaying key attributes related to an individual player's profile.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Username | username | The player's Minecraft username
| String | required |
| Season Joined | season-joined | The player's first season
| String | suggested |
| Nationality | nationality | The player's nationality or nationalities
| String | suggested |
| Discord | discord | The player's discord username
| String | suggested |
| Aliases | alias | The player's aliases
| String | suggested |
| Quote | quote | The player's known quote
| String | suggested |
| Favourite Item | favourite-item | The player's favourite item
| String | suggested |
| Favourite Block | favourite-block | The player's favourite block
| String | suggested |
| Minister Role | minister-role | The player's active minister role
| String | suggested |
| Assumed Office | assumed-office | The date the player assumed office
| Date | suggested |
| Preceded By | preceded-by | The previous minister before the player
| String | suggested |