Template:Discord/Format/doc

Template page
Revision as of 19:40, 23 May 2024 by Mausterio (talk | contribs) (Created page with " <templatedata> { "params": { "1": { "label": "Symbol", "description": "The symbol to display in bold before the channel/role name. Use \">\" for message links.", "example": "#", "type": "string", "suggestedvalues": [ "#", "@", ">" ], "default": "#", "required": true }, "2": { "label": "Name", "description": "The name of the channel, role, or user. Accepts any value.", "example": "general-help", "type": "string",...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 WoopMC's Discord server.

Default
https://discord.gg/QYDSunbGNP
Example
https://discord.com/channels/
Unknownsuggested