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>#{{{ |
{{#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": { |
|||
⚫ | |||
"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", |
||
⚫ | |||
"quote", |
"quote", |
||
"retrieved", |
"retrieved", |
||
"message type" |
"message type" |
||
"channel type" |
|||
] |
] |
||
} |
} |
Revision as of 09:28, 17 October 2023
User not specified (Error: Invalid time.). [{{{url}}} Message] posted in the #{{{channel}}}
channel in the {{{server}}} Discord server. Discord.
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | no description
| String | required |
username | username | no description
| String | optional |
url | url | no description
| URL | required |
server | server | no description
| String | required |
channel | channel | no description
| String | required |
thread | thread | no description | String | suggested |
quote | quote | no description
| String | optional |
retrieved | retrieved | no description
| Date | optional |
message type | message type | no description
| Unknown | optional |