8,101
edits
mNo edit summary |
No edit summary |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1:
{{
==Documentation==
This template is a variant of [[Template:cite web]] for citing Discord messages. While all of the parameters for that template still work here, this version has more convenient parameters that can be used instead.
<pre>
<ref>{{cite Discord|url=|channel=|server=|author=|username=|access-date=|quote=}}</ref>
</pre>
If the message is within a thread, add this parameter: <code>|thread=</code>
To change the word "Message", add this parameter: <code>|message type=</code>
[[Category:Citation templates]]
===Template data===
<templatedata>
{
Line 6 ⟶ 20:
"example": "sonjalang",
"type": "string",
"label": "Username",
"description": "
"required": true
},
"server": {
"example": "{{tp|
"type": "string",
"required": true,
"label": "Server",
"description": "
},
"channel": {
"example": "{{tok|pana-sona}}",
"type": "string",
"required": true,
"label": "Channel",
"description": "
},
"quote": {
"example": "visually i resemble a deer",
"type": "
"suggested": true,
"label": "Quote",
"description": "
},
"url": {
"example": "
"type": "url",
"required": true,
"label": "URL",
"description": "
},
"message type": {
Line 57:
"type": "string",
"label": "Message type",
"description": "Noun to use instead of \"Message\"
},
"thread": {
Line 63:
"suggested": true,
"label": "Thread",
"description": "
},
"author": {
"aliases": [
"name"
],
"label": "Author",
"description": "Author's Toki Pona name or legal name. Not always the same as their current Discord display name.",
"example": "{{tok|[[jan Sonja]]}}",
"type": "line",
"suggested": true
},
"access-date": {
"aliases": [
"retrieved"
],
"label": "Access date",
"description": "Full date when the message was accessed",
"example": "16 October 2023",
"type": "date",
"suggested": true
},
"title": {
"label": "Title",
"description": "Included for compatibility with {{cite web}}",
"type": "string",
"deprecated": "|message type=|thread=|channel=|server="
},
"date": {
"label": "Source date",
"description": "Included for compatibility with {{cite web}}",
"type": "date",
"deprecated": "Automatically calculated from the URL"
},
"website": {
"label": "Website name",
"description": "Included for compatibility with {{cite web}}",
"type": "string",
"default": "Discord",
"deprecated": true
},
"publisher": {
"label": "Publisher",
"description": "Included for compatibility with {{cite web}}",
"type": "string",
"deprecated": true
},
"trans-title": {
"label": "Translated title",
"description": "Included for compatibility with {{cite web}}",
"type": "string",
"deprecated": true
},
"language": {
"aliases": [
"lang"
],
"label": "Language",
"description": "Included for compatibility with {{cite web}}",
"type": "string",
"deprecated": true
},
"archive-url": {
"label": "Archive URL",
"description": "Included for compatibility with {{cite web}}",
"type": "url",
"deprecated": true
},
"archive-date": {
"label": "Archive date",
"description": "Included for compatibility with {{cite web}}",
"type": "date",
"deprecated": true
},
"delimiters": {
"label": "Delimiters",
"description": "Included for compatibility with {{cite web}}",
"type": "string",
"deprecated": true
}
},
"paramOrder": [
"
"username",
"date",
"url",
"
"
"thread",
"channel",
"server",
"delimiters",
"trans-title",
"language",
"quote",
"
"
"archive-url",
"archive-date",
"access-date"
],
"description": "
}
</templatedata>
|