Template:cite Discord: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1:
{{cite web|url={{{url}}}|title={{#if:{{{title|}}}|{{{title}}} <nowiki />}}<nowiki>[</nowiki>{{ucfirst:{{{message type|message}}}}} posted{{#if:{{{thread|}}}|<nowiki/> in the <code>#{{#replace:{{{thread}}}|#}}</code> thread}} in the <code>#{{#replace:{{{channel}}}|#}}</code> channel in the {{{server}}} Discord server<nowiki>]</nowiki>|delimiters={{{delimiters|}}}|trans-title={{{trans-title|}}}|language={{{lang|{{{language|}}}}}}|author={{{name|{{{author|}}}}}}|username={{#if:{{{username|}}}|@{{#replace:{{{username}}}|@}}}}|date={{{date|@{{#expr:trunc({{#explode:{{{url}}}|/|-1}}/4194304000)+1420070400}}}}}|website={{{website|Discord}}}|publisher={{{publisher|}}}|archive-url={{{archive-url|}}}|archive-date={{{archive-date|}}}|access-date={{{retrieved|{{{access-date|}}}}}}|quote={{{quote|}}}}}<noinclude>
 
==Documentation==
Line 11:
 
To change the word "Message", add this parameter: <code>|message type=</code>
[[Category:Citation templates]]
 
===Template data===
Line 134 ⟶ 135:
"description": "Included for compatibility with {{cite web}}",
"type": "date",
"deprecated": true
},
"delimiters": {
"label": "Delimiters",
"description": "Included for compatibility with {{cite web}}",
"type": "string",
"deprecated": true
}
Line 147 ⟶ 154:
"channel",
"server",
"delimiters",
"trans-title",
"language",