Template:Cite Discord: Difference between revisions

From Zoo Wiki
mNo edit summary
m punctuation fix
Line 1: Line 1:
{{#if:{{{date|}}}|{{#time:j F Y|{{{date}}}}}.&#32;}}[{{{url}}} {{ucfirst:{{{message type|message}}}}} by {{{author|{{{name}}}}}}{{#if:{{{username|}}}|&#32;<nowiki>[@</nowiki>{{{username}}}<nowiki>]</nowiki>}}]{{#if:{{{channel|}}}|&#32; in the <code>#{{{channel}}}</code> channel}} in the ''{{{server|9th Tail Bot Hub}}}'' server: {{#if:{{{quote|}}}|<p>“{{{quote}}}”</p>}}
{{#if:{{{date|}}}|{{#time:j F Y|{{{date}}}}}.&#32;}}[{{{url}}} {{ucfirst:{{{message type|message}}}}} by {{{author|{{{name}}}}}}{{#if:{{{username|}}}|&#32;<nowiki>[@</nowiki>{{{username}}}<nowiki>]</nowiki>}}]{{#if:{{{channel|}}}|&#32; in the <code>#{{{channel}}}</code> channel}} in the ''{{{server|9th Tail Bot Hub}}}'' server{{#if:{{{quote|}}}|: <p>“{{{quote}}}”</p>|.}}
<noinclude>
<noinclude>



Revision as of 13:56, 7 April 2024

[{{{url}}} Message by {{{name}}}] in the 9th Tail Bot Hub server.


Documentation

Cite a Discord message.

Examples

{{Cite Discord|author=Colon|channel=zoo-talk|quote=i added sex to quests|date=2022-12-29|url=//discord.com/channels/461575285364752384/1010033809250603068/1057800845518966835}}

becomes

29 December 2022. Message by Colon in the #zoo-talk channel in the 9th Tail Bot Hub server

“i added sex to quests”


No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
authorauthor name

Display name of the message's author

Example
Colon 🦊
Stringrequired
usernameusername

Username of the poster's message

Example
colon
Stringoptional
channelchannel

Channel the message was posted in

Example
zoo-talk
Stringsuggested
serverserver

Server the message was posted in

Default
9th Tail Bot Hub
Example
9th Tail Bot Hub
Stringrequired
urlurl

Permalink to the message (right click -> "Copy message link", then paste here)

Example
https://discord.com/channels/461575285364752384/1010033809250603068/1057800845518966835
URLrequired
quotequote

Specific quote to cite. If long, place in a separate blockquote after this template.

Example
i added sex to quests
Stringsuggested
datedate

Date the message was posted

Example
2022-12-29
Unknownsuggested
message typemessage type type

Noun to use instead of "message"

Example
Reply to @user123
Unknownoptional