Template:Infobox Player: Difference between revisions
included styles Tag: Reverted |
Add season 6 |
||
| (4 intermediate revisions by one other user not shown) | |||
| Line 17: | Line 17: | ||
| assumedoffice = 12th March 2024 | | assumedoffice = 12th March 2024 | ||
| precededby = CreeperCarl | | precededby = CreeperCarl | ||
}}{{#cargo_declare: | |||
_table=player_data | |||
| username=Page | |||
| seasonjoined=String | |||
| nationality=String | |||
| discord=String | |||
| alias=String | |||
| quote=Text | |||
| favouriteitem=String | |||
| favouriteblock=String | |||
| ministerrole=String | |||
| assumedoffice=Date | |||
| precededby=String | |||
}}</noinclude> | |||
<includeonly> | |||
{{#cargo_store: | |||
_table=player_data | |||
| username={{{username|}}} | |||
| seasonjoined={{{seasonjoined|}}} | |||
| nationality={{{nationality|}}} | |||
| discord={{{discord|}}} | |||
| alias={{{alias|}}} | |||
| quote={{{quote|}}} | |||
| favouriteitem={{{favouriteitem|}}} | |||
| favouriteblock={{{favouriteblock|}}} | |||
| ministerrole={{{ministerrole|}}} | |||
| assumedoffice={{{assumedoffice|}}} | |||
| precededby={{{precededby|}}} | |||
}} | }} | ||
<templatestyles src="Template:Infobox Player/styles.css" /> | |||
<templatestyles src="Template:Infobox/styles.css" /> | |||
{{#invoke:Infobox Player|infobox}} | {{#invoke:Infobox Player|infobox}} | ||
</includeonly> | </includeonly> | ||
| Line 58: | Line 84: | ||
"[[Season 3]]", | "[[Season 3]]", | ||
"[[Season 4]]", | "[[Season 4]]", | ||
"[[Season V]]" | "[[Season V]]", | ||
"[[Season 6]]" | |||
], | ], | ||
"suggested": true | "suggested": true | ||
Latest revision as of 18:38, 29 December 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
| BlockKnight32 | |
|---|---|
| |
| Biography | |
| Username | BlockKnight32 |
| Alias | The Brickster |
| Season Joined | Season 3 |
| Nationality | Canadian |
| Discord | blocky#4096 |
| Personality | |
| Quote | "If in doubt, dig straight down." |
| Favourite Item | Diamond Shovel |
| Favourite Block | Mossy Cobblestone |
| Government | |
| Minister Role | Infrastructure & Gravel |
| Assumed Office | 12th March 2024 |
| Preceded By | CreeperCarl |
This template defines the table "player_data". View table.
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 |
| UUID | uuid | The player's UUID
| String | optional |
| Season Joined | seasonjoined | 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 | favouriteitem | The player's favourite item
| String | suggested |
| Favourite Block | favouriteblock | The player's favourite block
| String | suggested |
| Minister Role | ministerrole | The player's active minister role
| String | suggested |
| Assumed Office | assumedoffice | The date the player assumed office
| Date | suggested |
| Preceded By | precededby | The previous minister before the player
| String | suggested |