Template:JADSCite: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<span style="line-height: 25px"> | <span style="line-height: 25px"> | ||
<!---->[[File:Discord.svg|25px|alt=JADS|link=]] JADS message: [{{{ | <!---->[[File:Discord.svg|25px|alt=JADS|link=]] JADS message: [{{{1}}} “{{{message}}}” in {{{channel}}}] {{Attribution|{{{author}}}}}{{#if:{{{time|}}}| at {{Datetime|{{{time|}}}}}}}. | ||
</span><noinclude> | </span><noinclude> | ||
== Example == | |||
E.g: | |||
<nowiki>{{JADSCite|https://discord.com/channels/308515582817468420/666328917237563419/745829311428296785|message=Jom can go fuck himself. He's unfit to lead.|channel=#share-stuff-you-made|author=Joseph Anderson|time=@1597893540}}</nowiki> | |||
{{JADSCite|https://discord.com/channels/308515582817468420/666328917237563419/745829311428296785|message=Jom can go fuck himself. He's unfit to lead.|channel=#share-stuff-you-made|author=Joseph Anderson|time=@1597893540}} | |||
== Template Data == | |||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
" | "1": { | ||
"aliases": [ | |||
"url", | |||
"link" | |||
], | |||
"label": "Link", | "label": "Link", | ||
"description": "The link to the message.", | "description": "The link to the message.", | ||
"example": "https://discord.com/channels/308515582817468420/...", | "example": "https://discord.com/channels/308515582817468420/...", | ||
"type": " | "type": "url", | ||
"required": true | "required": true | ||
}, | }, | ||
Line 30: | Line 40: | ||
"suggested": true, | "suggested": true, | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
"general", | "#general", | ||
"cringe-cafe", | "#cringe-cafe", | ||
"dragons-den", | "#dragons-den", | ||
"Jenshin Den" | "Jenshin Den" | ||
] | ] | ||
Line 38: | Line 48: | ||
"time": { | "time": { | ||
"label": "Time", | "label": "Time", | ||
"description": "The timestamp the message was sent at.", | "description": "The timestamp the message was sent at. This can be a ISO 8601 (2025-01-25T06:11:03) or an @ then a UNIX timestamp (@1597893540)", | ||
"type": " | "type": "string", | ||
"suggested": true | "suggested": true | ||
} | } | ||
Line 46: | Line 56: | ||
"format": "inline", | "format": "inline", | ||
"paramOrder": [ | "paramOrder": [ | ||
" | "1", | ||
"message", | "message", | ||
"channel", | "channel", |
Latest revision as of 08:45, 25 January 2025
JADS message: [{{{1}}} “{{{message}}}” in {{{channel}}}] by [[{{{author}}}|{{{author}}}]].
Example
E.g:
{{JADSCite|https://discord.com/channels/308515582817468420/666328917237563419/745829311428296785|message=Jom can go fuck himself. He's unfit to lead.|channel=#share-stuff-you-made|author=Joseph Anderson|time=@1597893540}}
JADS message: “Jom can go fuck himself. He's unfit to lead.” in #share-stuff-you-made by
Joseph Anderson at 20 August 2020 03:19.
Template Data
Cite a message in JADS.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Link | 1 url link | The link to the message.
| URL | required |
Message | message | The text of the message. | String | required |
Channel | channel | The channel or thread the message was sent in
| String | suggested |
Author | author | The author of the JADS message. | String | required |
Time | time | The timestamp the message was sent at. This can be a ISO 8601 (2025-01-25T06:11:03) or an @ then a UNIX timestamp (@1597893540) | String | suggested |