More actions
No edit summary Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
Line 48: | Line 48: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | |||
"1": { | |||
"label": "Handle (positional)", | |||
"description": "Alternative way to specify handle as first positional parameter", | |||
"type": "string", | |||
"deprecated": "Use 'handle' parameter instead" | |||
}, | |||
"2": { | |||
"label": "IGN (positional)", | |||
"description": "Alternative way to specify IGN as second positional parameter", | |||
"type": "string", | |||
"deprecated": "Use 'ign' parameter instead" | |||
}, | |||
"3": { | |||
"label": "Roles (positional)", | |||
"description": "Alternative way to specify roles as third positional parameter", | |||
"type": "string", | |||
"deprecated": "Use 'roles' parameter instead" | |||
}, | |||
"4": { | |||
"label": "Bio (positional)", | |||
"description": "Alternative way to specify bio as fourth positional parameter", | |||
"type": "string", | |||
"deprecated": "Use 'bio' parameter instead" | |||
}, | |||
"handle": { | |||
"label": "Handle/Username", | |||
"description": "The staff member's display name or handle", | |||
"type": "string", | |||
"required": true, | |||
"example": "CraftMaster" | |||
}, | |||
"ign": { | |||
"label": "Minecraft IGN", | |||
"description": "Their Minecraft in-game username", | |||
"type": "string", | |||
"example": "craft_master_2023" | |||
}, | |||
"roles": { | |||
"label": "Roles/Titles", | |||
"description": "Comma-separated list of roles and titles (e.g., 'Admin, Builder, Event Coordinator')", | |||
"type": "string", | |||
"example": "Head Admin, Builder, Event Host" | |||
}, | |||
"bio": { | |||
"label": "Biography", | |||
"description": "Short biography or description of the staff member", | |||
"type": "string", | |||
"example": "Been with the server since day one. Loves building and helping new players." | |||
}, | |||
"avatar": { | |||
"label": "Avatar Image", | |||
"description": "URL to the staff member's avatar image. If not provided, will use first letter of handle", | |||
"type": "string", | |||
"example": "https://example.com/avatar.jpg" | |||
}, | |||
"status": { | |||
"label": "Status", | |||
"description": "Current status of the staff member", | |||
"type": "string", | |||
"default": "active", | |||
"suggestedvalues": [ | |||
"active", | |||
"inactive", | |||
"vacation", | |||
"retired" | |||
] | |||
}, | |||
"joined": { | |||
"label": "Join Date", | |||
"description": "Date when the staff member joined the team", | |||
"type": "string", | |||
"example": "March 2023" | |||
}, | |||
"discord": { | |||
"label": "Discord Username", | |||
"description": "Their Discord username or handle", | |||
"type": "string", | |||
"example": "craftmaster#1234" | |||
}, | |||
"pronouns": { | |||
"label": "Pronouns", | |||
"description": "Their preferred pronouns", | |||
"type": "string", | |||
"example": "they/them" | |||
} | |||
}, | |||
"description": "Creates an attractive staff member card displaying their information, roles, and bio", | |||
"format": "block", | |||
"sets": [ | |||
{ | |||
"label": "Basic Information", | |||
"params": [ | |||
"handle", | |||
"ign", | |||
"roles", | |||
"bio" | |||
] | |||
}, | |||
{ | |||
"label": "Additional Details", | |||
"params": [ | |||
"avatar", | |||
"status", | |||
"joined", | |||
"discord", | |||
"pronouns" | |||
] | |||
} | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
[[Category:Templates]] | [[Category:Templates]] |
Latest revision as of 21:01, 7 July 2025
Usage
This template creates attractive staff member cards for your community.
Basic Syntax
{{StaffCard |handle=StaffMemberName |ign=minecraft_username |roles=Admin, Moderator |bio=Short biography or description }}
Examples
Basic Example
{{StaffCard |handle=CraftMaster |ign=craft_master_2023 |roles=Head Admin, Builder |bio=Been with the server since the beginning. Loves building massive castles and helping new players. }}
Full Example
{{StaffCard |handle=AlexTheGreat |ign=alex_builds_stuff |roles=Moderator, Event Coordinator, Builder |bio=Passionate about creating fun events and maintaining a welcoming community atmosphere. |avatar=https://example.com/avatar.jpg |status=active |joined=March 2023 |discord=alexthegreat#1234 |pronouns=they/them }}
Styling
The cards use a gradient background and hover effects. They are responsive and will adapt to mobile screens.
Creates an attractive staff member card displaying their information, roles, and bio
Parameter | Description | Type | Status | |
---|---|---|---|---|
Handle (positional) | 1 | Alternative way to specify handle as first positional parameter | String | deprecated |
IGN (positional) | 2 | Alternative way to specify IGN as second positional parameter | String | deprecated |
Roles (positional) | 3 | Alternative way to specify roles as third positional parameter | String | deprecated |
Bio (positional) | 4 | Alternative way to specify bio as fourth positional parameter | String | deprecated |
Handle/Username | handle | The staff member's display name or handle
| String | required |
Minecraft IGN | ign | Their Minecraft in-game username
| String | optional |
Roles/Titles | roles | Comma-separated list of roles and titles (e.g., 'Admin, Builder, Event Coordinator')
| String | optional |
Biography | bio | Short biography or description of the staff member
| String | optional |
Avatar Image | avatar | URL to the staff member's avatar image. If not provided, will use first letter of handle
| String | optional |
Status | status | Current status of the staff member
| String | optional |
Join Date | joined | Date when the staff member joined the team
| String | optional |
Discord Username | discord | Their Discord username or handle
| String | optional |
Pronouns | pronouns | Their preferred pronouns
| String | optional |