Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Discord/Format/doc: Difference between revisions

Template page
(Created page with " <templatedata> { "params": { "1": { "label": "Symbol", "description": "The symbol to display in bold before the channel/role name.", "example": "#", "type": "string", "suggestedvalues": [ "#", "@" ], "default": "#", "required": true }, "2": { "label": "Name", "description": "The name of the channel, role, or user.", "example": "general-help", "type": "string", "required": true }, "3": { "label": "Link", "de...")
 
No edit summary
 
Line 5: Line 5:
"1": {
"1": {
"label": "Symbol",
"label": "Symbol",
"description": "The symbol to display in bold before the channel/role name.",
"description": "The symbol to display in bold before the channel/role name. Use \">\" for message links.",
"example": "#",
"example": "#",
"type": "string",
"type": "string",
"suggestedvalues": [
"suggestedvalues": [
"#",
"#",
"@"
"@",
">"
],
],
"default": "#",
"default": "#",
Line 17: Line 18:
"2": {
"2": {
"label": "Name",
"label": "Name",
"description": "The name of the channel, role, or user.",
"description": "The name of the channel, role, or user. Accepts any value.",
"example": "general-help",
"example": "general-help",
"type": "string",
"type": "string",
"required": true
"required": true,
"suggestedvalues": [
"Message link"
]
},
},
"3": {
"3": {

Latest revision as of 19:36, 12 October 2023

Displays a Discord-style channel, role, or user that links to a specified location when clicked.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Symbol1

The symbol to display in bold before the channel/role name. Use ">" for message links.

Suggested values
# @ >
Default
#
Example
#
Stringrequired
Name2

The name of the channel, role, or user. Accepts any value.

Suggested values
Message link
Example
general-help
Stringrequired
Link3

The URL to take the user when clicked. Defaults to Prism Party's Discord server.

Default
https://discord.gg/PrismParty
Example
https://discord.com/channels/614592231428587522/647507695586508800
Unknownsuggested