Template:Infobox Discord User: Difference between revisions
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<infobox> | <infobox> | ||
<title | <title source="nickname" /> | ||
<image source="avatar" /> | <image source="avatar" /> | ||
<data source="id"> | <data source="id"><label>ID</label></data> | ||
<data source="username"><label>Username</label></data> | |||
</data> | <data source="join_date"><label>Joined</label></data> | ||
<data source="ban_date"><label>Banned</label></data> | |||
<data source="join_date"> | <data source="known_for"><label>Known for</label></data> | ||
<data source="ban_date"> | |||
<data source="known_for"> | |||
</infobox> | </infobox> | ||
<noinclude> | |||
{{Documentation}} | |||
<templatedata> | |||
{ | |||
"description": "Stylized Discord user infobox.", | |||
"params": { | |||
"username": { | |||
"label": "Username", | |||
"description": "The Discord username of the user.", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"nickname": { | |||
"label": "Nickname", | |||
"description": "The Discord nickname of the user (if they don't have one, set it to the username).", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"avatar": { | |||
"label": "Avatar", | |||
"description": "File name of the Discord user's avatar (must be uploaded).", | |||
"type": "wiki-file-name", | |||
"default": "Example.png" | |||
}, | |||
"id": { | |||
"label": "User ID", | |||
"description": "The numerical Discord ID of the user.", | |||
"type": "string", | |||
"default": "N/A" | |||
}, | |||
"join_date": { | |||
"label": "Joined", | |||
"description": "Date when the user joined Discord.", | |||
"type": "string", | |||
"default": "Unknown" | |||
}, | |||
"ban_date": { | |||
"label": "Banned", | |||
"description": "Date when the user was banned (if applicable).", | |||
"type": "string", | |||
"default": "Unknown" | |||
}, | |||
"known_for": { | |||
"label": "Known for", | |||
"description": "What the user is notable for.", | |||
"type": "string" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude> |
Latest revision as of 09:05, 16 September 2025
Template:Documentation
Stylized Discord user infobox.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Username | username | The Discord username of the user. | String | required |
Nickname | nickname | The Discord nickname of the user (if they don't have one, set it to the username). | String | required |
Avatar | avatar | File name of the Discord user's avatar (must be uploaded).
| File | optional |
User ID | id | The numerical Discord ID of the user.
| String | optional |
Joined | join_date | Date when the user joined Discord.
| String | optional |
Banned | ban_date | Date when the user was banned (if applicable).
| String | optional |
Known for | known_for | What the user is notable for. | String | optional |