Template:cite Discord: Difference between revisions
Content added Content deleted
(Created page with "{{#if:{{{display name|}}}|{{{display name}}}{{#if:{{{username|}}}| [@{{{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|}}} "{{{quote}}}".}} ''Discord''.{{#if:{{{retrieved|}}}| Retrieved {{{re...") |
(rename {{{display name}}} to {{{name}}} for accuracy and flexibility) |
||
Line 1: | Line 1: | ||
{{#if:{{{ |
{{#if:{{{name|}}}|{{{name}}}{{#if:{{{username|}}}| [@{{{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|}}} "{{{quote}}}".}} ''Discord''.{{#if:{{{retrieved|}}}| Retrieved {{{retrieved}}}.}}<noinclude> |
||
<templatedata> |
<templatedata> |
||
{ |
{ |
||
Line 7: | Line 7: | ||
"type": "string" |
"type": "string" |
||
}, |
}, |
||
" |
"name": { |
||
"example": "{{tok|[[jan Sonja]]}}", |
"example": "{{tok|[[jan Sonja]]}}", |
||
"type": "string", |
"type": "string", |
||
Line 45: | Line 45: | ||
}, |
}, |
||
"paramOrder": [ |
"paramOrder": [ |
||
" |
"name", |
||
"username", |
"username", |
||
"url", |
"url", |
Revision as of 19:13, 16 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 |
quote | quote | no description
| String | optional |
retrieved | retrieved | no description
| Date | optional |
message type | message type | no description
| Unknown | optional |
channel type | channel type | no description
| Unknown | optional |