Template:Cite message

From Irony Wiki
Revision as of 07:41, 21 July 2022 by Saucy (talk | contribs) (Created page with "{{#invoke:Cite message|main}}<noinclude>{{documentation}}</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Documentation

Formats a citation to a Discord message. Use this inside a <ref> tag if you want to cite a single Discord message in that way.

Usage[edit source]

{{Cite message|author=author|date=date|content=message content|server=server name|channel=channel name|link=link to the message}}

This template should always be used inside a <ref> tag. None of the parameters are required, but you should supply all the ones you can.

Here is an example:

<ref>{{cite message |author=GrantVsZombies#5575 |date=February 3, 2022 |content=just shit myself. not even kidding. wtf is my life |server=[[Whenthe]] |channel=general |link=https://discord.com/channels/501310750074077215/528927344690200576/939015301813637201}}</ref>

which looks like this: [1]

  1. GrantVsZombies#5575 (February 3, 2022): "just shit myself. not even kidding. wtf is my life". Whenthe #general. Link

TemplateData[edit source]

Formats a citation to a Discord message. Use this inside a [citation] if you want to cite a single Discord message in that way. None of the parameters are required.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
authorauthor

The user that sent this message.

Example
GrantVsZombies#5575
Stringsuggested
datedate

The date that the message was sent. Please use an unambiguous date format. You can also include the time if you want.

Example
February 3, 2022
Datesuggested
contentcontent

What the message actually was; the content of the message.

Example
just shit myself. not even kidding. wtf is my life
Stringsuggested
serverserver

The name of the server that the message was sent in.

Example
Whenthe
Stringsuggested
channelchannel

The name of the channel that the message was sent in. A hash symbol # will be automatically added to the beginning if this is an allowed text channel name (i.e. contains no capital letters or spaces)

Example
general
Stringsuggested
linklink

A link to the message, obtained by right-clicking on the message and clicking "Copy Message Link".

Example
https://discord.com/channels/501310750074077215/528927344690200576/939015301813637201
URLsuggested