Template:Cite Discord: Difference between revisions
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|}}}| <nowiki>[@</nowiki>{{{username}}}<nowiki>]</nowiki>}}]{{#if:{{{channel|}}}|  in the <code>#{{{channel}}}</code> channel}} in the ''{{{server|9th Tail Bot Hub}}}'' server: {{#if:{{{quote|}}}|“{{{quote}}}”}} | {{#if:{{{date|}}}|{{#time:j F Y|{{{date}}}}}. }}[{{{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> | <noinclude> | ||
| Line 6: | Line 6: | ||
===Examples=== | ===Examples=== | ||
<code><nowiki>{{Cite Discord|author=Colon|channel=zoo-talk|url=//discord.com/channels/461575285364752384/1010033809250603068/1057800845518966835 | <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 | {{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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| author | author name | Display name of the message's author
| String | required |
| username | username | Username of the poster's message
| String | optional |
| channel | channel | Channel the message was posted in
| String | suggested |
| server | server | Server the message was posted in
| String | required |
| url | url | Permalink to the message (right click -> "Copy message link", then paste here)
| URL | required |
| quote | quote | Specific quote to cite. If long, place in a separate blockquote after this template.
| String | suggested |
| date | date | Date the message was posted
| Unknown | suggested |