Template:CiteDiscord

From LifeWiki
Jump to navigation Jump to search

This is a template for including links to messages on the Conwaylife Lounge Discord server in the "References" section of an article. It can take the following parameters:

  • channel, the name of the channel (excluding threads) the message was posted in, without the # sign:
    • See here for a list of options;
  • thread, the name of the thread the message was posted in, where applicable
  • threadid, the numerical ID of the thread, where applicable (this can be obtained clicking on the three dots to the right of the message, clicking "Copy Message Link", and copying the middle of the three numbers; it is also equal to the message ID of the first message in the thread)
  • id, the numerical ID of the message (this can be obtained by clicking on the three dots to the right of the message and clicking "Copy ID");
  • author, the author of the message (optional);
  • date, the date the message was posted (optional, if author is specified);

Here are four simple usage examples:

You type:

{{CiteDiscord|channel=cgol|id=700583344085139496}}

You see:

Message in #cgol on the Conwaylife Lounge Discord server

You type:

{{CiteDiscord|thread=Life Miner|threadid=870565047947108373|id=870793282718957608}}

You see:

Message in thread "Life Miner" on the Conwaylife Lounge Discord server

You type:

{{CiteDiscord|author=Mateon1|date=April 17, 2020|channel=cgol|id=700583344085139496}}

You see:

Mateon1 (April 17, 2020). Message in #cgol on the Conwaylife Lounge Discord server

You type:

<ref name="message700583344085139496" />

==References==
<references>
<ref name="message700583344085139496">{{CiteDiscord
|author  = Mateon1
|date    = April 17, 2020
|channel = cgol
|id      = 700583344085139496
}}</ref>
</references>

You see: a footnote link1 at the ref tag location, and a reference section containing

1. Mateon1 (April 17, 2020). Message in #cgol on the Conwaylife Lounge Discord server