Template:Infobox Player: Difference between revisions
Appearance
Setup new infobox functionality |
Added template data for visual editor |
||
| Line 15: | Line 15: | ||
{{#invoke:Infobox Player|infobox}} | {{#invoke:Infobox Player|infobox}} | ||
</includeonly> | </includeonly> | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"username": { | |||
"label": "Username", | |||
"description": "Your minecraft username, shown as the infobox title", | |||
"example": "AuroraFlight", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"seasonjoined": { | |||
"label": "Season Joined", | |||
"description": "The season that this player joined the server", | |||
"example": "IV", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"I", | |||
"II", | |||
"III", | |||
"IV", | |||
"V" | |||
], | |||
"suggested": true | |||
}, | |||
"nationality": { | |||
"label": "Nationality", | |||
"description": "The player's nationality or nationalities", | |||
"example": "British", | |||
"type": "string" | |||
}, | |||
"discord": { | |||
"label": "Discord", | |||
"description": "The player's discord username", | |||
"example": "immaxm", | |||
"type": "string", | |||
"suggested": true | |||
} | |||
}, | |||
"description": "An infobox for the player" | |||
} | |||
</templatedata> | |||
</noinclude> | |||
Revision as of 15:17, 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 |
| Season Joined | Season 2 |
| Nationality | British |
| Discord | alextb |
An infobox for the player
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Username | username | Your minecraft username, shown as the infobox title
| String | required |
| Season Joined | seasonjoined | The season that this player joined the server
| String | suggested |
| Nationality | nationality | The player's nationality or nationalities
| String | optional |
| Discord | discord | The player's discord username
| String | suggested |