Template:cite Discord: Difference between revisions

From sona pona, the Toki Pona wiki
Content added Content deleted
No edit summary
(descriptions)
Line 6: Line 6:
"example": "sonjalang",
"example": "sonjalang",
"type": "string",
"type": "string",
"suggested": true
"suggested": true,
"label": "Username",
"description": "Speaker's username (without @ symbol)"
},
},
"name": {
"name": {
"example": "{{tok|[[jan Sonja]]}}",
"example": "{{tok|[[jan Sonja]]}}",
"type": "string",
"type": "string",
"required": true
"required": true,
"label": "Name",
"description": "Speaker's Toki Pona name or legal name (not always the same as Discord display name)"
},
},
"server": {
"server": {
"example": "{{tp|[[ma pona pi toki pona]]}}",
"example": "{{tp|[[ma pona pi toki pona]]}}",
"type": "string",
"type": "string",
"required": true
"required": true,
"label": "Server",
"description": "Name of server"
},
},
"channel": {
"channel": {
"example": "pana-sona",
"example": "pana-sona",
"type": "string",
"type": "string",
"required": true
"required": true,
"label": "Channel",
"description": "Name of channel (without # symbol)"
},
},
"quote": {
"quote": {
"example": "visually i resemble a deer",
"example": "visually i resemble a deer",
"type": "string",
"type": "string",
"suggested": true
"suggested": true,
"label": "Quote",
"description": "Relevant part of message (if long, place in a separate paragraph after template)"
},
},
"retrieved": {
"retrieved": {
"example": "16 October 2023",
"example": "16 October 2023",
"type": "date",
"type": "date",
"suggested": true
"suggested": true,
"label": "Retrieval date",
"description": "Date the citation was added"
},
},
"url": {
"url": {
"example": "https://discord.com/channels/301377942062366741/301378960468738050/805912264334508132",
"example": "https://discord.com/channels/301377942062366741/301378960468738050/805912264334508132",
"type": "url",
"type": "url",
"required": true
"required": true,
"label": "URL",
"description": "Link to the message"
},
},
"message type": {
"message type": {
"example": "Informal poll",
"example": "Informal poll",
"default": "Message",
"default": "Message",
"type": "string"
"type": "string",
"label": "Message type",
"description": "Noun to use instead of \"Message\", first letter uppercase"
},
},
"thread": {
"thread": {
"type": "string",
"type": "string",
"suggested": true
"suggested": true,
"label": "Thread",
"description": "Name of thread, if applicable"
}
}
},
},
Line 58: Line 76:
"retrieved",
"retrieved",
"message type"
"message type"
]
],
"description": "Use in a <ref> tag to cite a Discord message. The message date will automatically be calculated from the link."
}
}
</templatedata>
</templatedata>

Revision as of 14:30, 17 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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Namename

Speaker's Toki Pona name or legal name (not always the same as Discord display name)

Example
{{tok|[[jan Sonja]]}}
Stringrequired
Usernameusername

Speaker's username (without @ symbol)

Example
sonjalang
Stringsuggested
URLurl

Link to the message

Example
https://discord.com/channels/301377942062366741/301378960468738050/805912264334508132
URLrequired
Serverserver

Name of server

Example
{{tp|[[ma pona pi toki pona]]}}
Stringrequired
Channelchannel

Name of channel (without # symbol)

Example
pana-sona
Stringrequired
Threadthread

Name of thread, if applicable

Stringsuggested
Quotequote

Relevant part of message (if long, place in a separate paragraph after template)

Example
visually i resemble a deer
Stringsuggested
Retrieval dateretrieved

Date the citation was added

Example
16 October 2023
Datesuggested
Message typemessage type

Noun to use instead of "Message", first letter uppercase

Default
Message
Example
Informal poll
Stringoptional