Template:Discord message/doc

< Template:Discord message
Revision as of 10:20, 4 May 2021 by Dgelessus (talk | contribs) (Created page with " <templatedata> { "params": { "url": { "label": "Message URL", "description": "URL of the quoted Discord message.", "example": "https://discord.com/channels/341414...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template for formatting Discord messages with author, URL, etc. on reference pages.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Message URLurl

URL of the quoted Discord message.

Example
https://discord.com/channels/341414079673401346/354051647133057024/599347550109302799
URLsuggested
Authorauthor

The Discord username of the author of the message.

Example
Chogon
Stringrequired
Message date and timedate

The time at which the message was sent. This time is automatically extracted from the message URL if possible, so usually it doesn't need to be set manually.

Default
(extraced from message URL)
Example
April 30, 2021 16:13:39 (UTC)
Stringoptional
Channel namechannel

The name of the channel in which the message was posted.

Example
#moula-discussion
Stringrequired
Server nameserver

The name of the Discord server in which the message was posted.

Example
Official Cyan Chat
Stringrequired
Message texttext

The text content of the message.

Example
Since we are sharing old stuff... the static version of cho.cyan.com can still be accessed at: https://s3.amazonaws.com/cho.cyan.com/index.html
Contentrequired