Template:cite Discord: Difference between revisions

Content added Content deleted
(fix quote)
No edit summary
Line 1: Line 1:
{{#if:{{{name|}}}|{{{name}}}{{#if:{{{username|}}}|<nowiki/> [@{{{username}}}]}}|{{#if:{{{username|}}}|@{{{username}}}|{{Error|User not specified}}}}}} ({{#time:d F Y|@{{#expr:trunc({{#explode:{{{url}}}|/|-1}}/4194304000)+1420070400}}}}). [{{{url}}} {{{message type|Message}}}] posted in the <code>#{{{channel}}}</code> {{{message type|channel}}} in the {{{server}}} Discord server.{{#if:{{{quote|}}}|<nowiki/> "{{{quote}}}".}} ''Discord''.{{#if:{{{retrieved|}}}|<nowiki/> Retrieved {{{retrieved}}}.}}<noinclude>
{{#if:{{{name|}}}|{{{name}}}{{#if:{{{username|}}}|<nowiki/> [@{{{username}}}]}}|{{#if:{{{username|}}}|@{{{username}}}|{{Error|User not specified}}}}}} ({{#time:d F Y|@{{#expr:trunc({{#explode:{{{url}}}|/|-1}}/4194304000)+1420070400}}}}). [{{{url}}} {{{message type|Message}}}] posted{{#if:{{{thread|}}}|<nowiki/> in the <code>#{{{thread}}}</code> thread}} in the <code>#{{{channel}}}</code> channel in the {{{server}}} Discord server.{{#if:{{{quote|}}}|<nowiki/> "{{{quote}}}".}} ''Discord''.{{#if:{{{retrieved|}}}|<nowiki/> Retrieved {{{retrieved}}}.}}<noinclude>
<templatedata>
<templatedata>
{
{
Line 34: Line 34:
"type": "url",
"type": "url",
"required": true
"required": true
},
"channel type": {
"example": "thread",
"default": "channel"
},
},
"message type": {
"message type": {
"example": "Informal poll",
"example": "Informal poll",
"default": "Message"
"default": "Message"
},
"thread": {
"type": "string",
"suggested": true
}
}
},
},
Line 50: Line 50:
"server",
"server",
"channel",
"channel",
"thread",
"quote",
"quote",
"retrieved",
"retrieved",
"message type",
"message type"
"channel type"
]
]
}
}