Template:Cite Discord: Difference between revisions

From Zoo Wiki
Created page with "[{{{url}}} Message by {{{author}}}{{#if:{{{username|}}}| <nowiki>[@</nowiki>{{{username}}}<nowiki>]</nowiki>}}]{{#if:{{{channel|}}}| in the <code>#{{{channel}}}</code> channel}} in the ''{{{server|9th Tail Bot Hub}}}'' server: {{#if:{{{quote|}}}|“{{{quote}}}”}} <noinclude> ==Documentation== Cite a Discord message. ===Examples=== <code><nowiki>{{Cite Discord|author=Colon|channel=zoo-talk|url=//discord.com/channels/461575285364752384/1010033809250603068/1057..."
 
add date parameter
Line 1: Line 1:
[{{{url}}} Message by {{{author}}}{{#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|}}}|“{{{quote}}}”}}
{{#if:{{{date|}}}|{{#time:j F Y|{{{date}}}}}.&#32;}}[{{{url}}} Message by {{{author}}}{{#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|}}}|“{{{quote}}}”}}
<noinclude>
<noinclude>


Line 6: Line 6:


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


becomes
becomes


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


<templatedata>
<templatedata>
Line 53: Line 53:
"example": "i added sex to quests",
"example": "i added sex to quests",
"type": "string",
"type": "string",
"suggested": true
},
"date": {
"description": "Date the message was posted",
"example": "2022-12-29",
"suggested": true
"suggested": true
}
}

Revision as of 21:25, 5 April 2024

[{{{url}}} Message by {{{author}}}] 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