Jump to content

Template:JADSCite: Difference between revisions

From Joepedia
No edit summary
No edit summary
 
(13 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: [{{{url}}} “{{{message}}}” in {{{channel}}} by {{{author}}}{{#if:{{{time|}}}| at {{#timel: c | @{{{time}}}}}}}].
<!---->[[File:Discord.svg|25px|alt=JADS|link=]] JADS message: [{{{1}}} “{{{message}}}” in {{{channel}}}] {{Attribution|{{{author}}}}}{{#if:{{{time|}}}|&nbsp;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": {
"url": {
"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": "string",
"type": "url",
"required": true
"required": true
},
},
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": "number",
"type": "string",
"suggested": true
"suggested": true
}
}
Line 46: Line 56:
"format": "inline",
"format": "inline",
"paramOrder": [
"paramOrder": [
"url",
"1",
"message",
"message",
"channel",
"channel",

Latest revision as of 08:45, 25 January 2025

JADS 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 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.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Link1 url link

The link to the message.

Example
https://discord.com/channels/308515582817468420/...
URLrequired
Messagemessage

The text of the message.

Stringrequired
Channelchannel

The channel or thread the message was sent in

Suggested values
#general #cringe-cafe #dragons-den Jenshin Den
Stringsuggested
Authorauthor

The author of the JADS message.

Stringrequired
Timetime

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)

Stringsuggested