Template:cite Discord: Difference between revisions
Content added Content deleted
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{#if:{{{name|}}}|{{{name}}}{{#if:{{{username|}}}|<nowiki/> [@{{{username}}}]}}|{{#if:{{{username|}}}|@{{{username}}}|{{Error|User not specified}}}}}} ({{#time:d F Y|@{{#expr:trunc({{#explode:{{{url}}}|/|-1}}/4194304000)+1420070400}}}}). [{{{url}}} [{{{message type|Message}}} posted{{#if:{{{thread|}}}|<nowiki/> in the <code>#{{{thread}}}</code> thread}} in the <code>#{{{channel}}}</code> channel in the {{{server}}} Discord server<nowiki>]</nowiki>].{{#if:{{{quote|}}}|<nowiki/> "{{{quote}}}".}} ''Discord''.{{#if:{{{retrieved|}}}|<nowiki/> Retrieved {{{retrieved}}}.}}<noinclude> |
{{#if:{{{name|}}}|{{{name}}}{{#if:{{{username|}}}|<nowiki/> [@{{{username}}}]}}|{{#if:{{{username|}}}|@{{{username}}}|{{Error|User not specified}}}}}} ({{#time:d F Y|@{{#expr:trunc({{#explode:{{{url}}}|/|-1}}/4194304000)+1420070400}}}}). [{{{url}}} <nowiki>[</nowiki>{{{message type|Message}}} posted{{#if:{{{thread|}}}|<nowiki/> in the <code>#{{{thread}}}</code> thread}} in the <code>#{{{channel}}}</code> channel in the {{{server}}} Discord server<nowiki>]</nowiki>].{{#if:{{{quote|}}}|<nowiki/> "{{{quote}}}".}} ''Discord''.{{#if:{{{retrieved|}}}|<nowiki/> Retrieved {{{retrieved}}}.}}<noinclude> |
||
<templatedata> |
<templatedata> |
||
{ |
{ |
Revision as of 10:41, 22 October 2023
User not specified (Error: Invalid time.). [{{{url}}} [Message posted in the #{{{channel}}}
channel in the {{{server}}} Discord server]]. Discord.
Use in a <ref> tag to cite a Discord message. The message date will automatically be calculated from the link.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | Speaker's Toki Pona name or legal name (not always the same as Discord display name)
| String | required |
Username | username | Speaker's username (without @ symbol)
| String | suggested |
URL | url | Link to the message
| URL | required |
Server | server | Name of server
| String | required |
Channel | channel | Name of channel (without # symbol)
| String | required |
Thread | thread | Name of thread, if applicable | String | suggested |
Quote | quote | Relevant part of message (if long, place in a separate paragraph after template)
| String | suggested |
Retrieval date | retrieved | Date the citation was added
| Date | suggested |
Message type | message type | Noun to use instead of "Message", first letter uppercase
| String | optional |