More actions
No edit summary |
(update params) |
||
| Line 10: | Line 10: | ||
"UUID": { | "UUID": { | ||
"label": "UUID", | "label": "UUID", | ||
"description": "The UUID of the player", | "description": "The UUID of the player. Required to display the correct image", | ||
"example": "bb317801-c2c4-4e18-8e26-ee21e03f4c69", | "example": "bb317801-c2c4-4e18-8e26-ee21e03f4c69", | ||
"type": "string", | "type": "string", | ||
| Line 24: | Line 24: | ||
"Rank": { | "Rank": { | ||
"label": "Rank", | "label": "Rank", | ||
"description": "The rank of the user", | "description": "The rank of the user in-game", | ||
"example": "Owner", | "example": "Owner", | ||
"type": "string", | "type": "string", | ||
| Line 35: | Line 35: | ||
"type": "wiki-user-name" | "type": "wiki-user-name" | ||
}, | }, | ||
" | "group": { | ||
"label": " | "label": "Group", | ||
"description": "Whether the user is staff or not. Accepts | "description": "Whether the user is staff or not. Accepts \"staff\" or \"player\" as inputs and is used to generate the correct background.", | ||
"example": "staff", | |||
"type": "boolean", | |||
"suggested": true | |||
}, | |||
"ShowProfile": { | |||
"label": "Show Profile", | |||
"description": "Controls whether or not to show a link to the user's site profile. Overrides all other options. Accepts true or false as inputs.", | |||
"example": "true", | "example": "true", | ||
"type": "boolean", | "type": "boolean", | ||
| Line 44: | Line 51: | ||
}, | }, | ||
"description": "Displays a card of the given staff member with an auto-generated image and profile link.", | "description": "Displays a card of the given staff member with an auto-generated image and profile link.", | ||
"format": "block" | "format": "block", | ||
"paramOrder": [ | |||
"Name", | |||
"UUID", | |||
"group", | |||
"Rank", | |||
"Profile", | |||
"ShowProfile" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
Revision as of 00:10, 30 April 2023
{{Template:Player}} is a template for displaying a graphical card that represents a member of the server. Given a name, UUID, and rank, it will generate a card with the appropriate image and profile link.
Displays a card of the given staff member with an auto-generated image and profile link.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | Name | The Minecraft name of the user
| String | required |
| UUID | UUID | The UUID of the player. Required to display the correct image
| String | required |
| Group | group | Whether the user is staff or not. Accepts "staff" or "player" as inputs and is used to generate the correct background.
| Boolean | suggested |
| Rank | Rank | The rank of the user in-game
| String | required |
| Profile Link | Profile | The username of the user on the site. This field is not required if the "User" parameter matches their username on the site.
| User | optional |
| Show Profile | ShowProfile | Controls whether or not to show a link to the user's site profile. Overrides all other options. Accepts true or false as inputs.
| Boolean | suggested |