More actions
(update params) |
(update params) |
||
| Line 13: | Line 13: | ||
"example": "bb317801-c2c4-4e18-8e26-ee21e03f4c69", | "example": "bb317801-c2c4-4e18-8e26-ee21e03f4c69", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true, | ||
"default": "ec561538-f3fd-461d-aff5-086b22154bce" | |||
}, | }, | ||
"Name": { | "Name": { | ||
| Line 20: | Line 21: | ||
"example": "BakiDance", | "example": "BakiDance", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true, | ||
"default": "Steve" | |||
}, | }, | ||
"Rank": { | "Rank": { | ||
"label": "Rank", | "label": "Rank", | ||
"description": "The rank of the user in-game", | "description": "The rank of the user in-game. This is used to display the correct background for the user.", | ||
"example": "Owner", | "example": "Owner", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true, | ||
"default": "Pebble" | |||
}, | }, | ||
"Profile": { | "Profile": { | ||
"label": "Profile Link", | "label": "Profile Link", | ||
"description": "The username of the user on the site. This field is not required if the \" | "description": "The username of the user on the site. This field is not required if the \"Name\" parameter matches their username on the site.", | ||
"example": "BakiDance", | "example": "BakiDance", | ||
"type": "wiki-user-name | "type": "wiki-user-name", | ||
"default": "Cubey" | |||
" | |||
}, | }, | ||
"ShowProfile": { | "ShowProfile": { | ||
| Line 47: | Line 44: | ||
"example": "true", | "example": "true", | ||
"type": "boolean", | "type": "boolean", | ||
"suggested": true | "suggested": true, | ||
"default": "true" | |||
} | } | ||
}, | }, | ||
"description": "Displays a card of the given | "description": "Displays a card of the given player with an auto-generated image, rank data, and profile link.", | ||
"format": "block", | "format": "block", | ||
"paramOrder": [ | "paramOrder": [ | ||
"Name", | "Name", | ||
"UUID", | "UUID", | ||
"Rank", | "Rank", | ||
"Profile", | "Profile", | ||
Revision as of 00:25, 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 player with an auto-generated image, rank data, 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 |
| Rank | Rank | The rank of the user in-game. This is used to display the correct background for the user.
| String | required |
| Profile Link | Profile | The username of the user on the site. This field is not required if the "Name" 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 |