Template:JADSCite: Difference between revisions

No edit summary
No edit summary
 
(9 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: [{{{1}}} “{{{message}}}” in {{{channel}}} by {{{author}}}{{#if:{{{time|}}}|&nbsp;at {{#timel: Y-m-d H:i | @{{{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 ==
== Example ==
E.g:  
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=Joe|time=1597893540}}</nowiki>
   <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=Joe|time=1597893540}}
{{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 ==
== Template Data ==
Line 48: 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
}
}