|
|
Line 1: |
Line 1: |
| {{cite web
| | <includeonly>{{#invoke:cite tweet|main}}</includeonly><noinclude>{{documentation}}</noinclude> |
| | url = {{#ifeq: {{{number|}}}{{{user|}}} | {{{number}}}{{{user}}} | https://twitter.com/{{{user}}}/status/{{{number}}} | https://twitter.com/ }}
| |
| | title = {{{title|}}}
| |
| | script-title = {{{script-title|}}}
| |
| | trans-title = {{{trans-title|}}}
| |
| | language = {{{language|}}}
| |
| | author = {{#if: {{{last|}}} |
| |
| {{#if: {{{first|}}} |
| |
| {{{last}}}, {{{first}}} [@{{{user|}}}] |
| |
| {{{last}}} [@{{{user|}}}]
| |
| }} |
| |
| {{#if: {{{author|}}} |
| |
| {{{author}}} [@{{{user|}}}] |
| |
| {{#if: {{{author-link|}}} |
| |
| {{{author-link}}} [@{{{user|}}}] |
| |
| @{{{user|<noinclude>{{{user}}} ({{{date}}})</noinclude>}}}
| |
| }}
| |
| }}
| |
| }}
| |
| | author-link = {{{author-link|{{{authorlink|}}} }}}
| |
| | others = {{#if:{{{retweet|}}}|Retweeted by {{{retweet}}}}}
| |
| | date = {{{date|}}}
| |
| | via = {{#ifeq:{{{link|}}}|no|Twitter|[[Twitter]]}}
| |
| | type = Tweet
| |
| | location = {{{location|}}}
| |
| | access-date = {{{access-date|{{{accessdate|}}} }}}
| |
| | archive-date = {{{archive-date|{{{archivedate|}}} }}}
| |
| | archive-url = {{{archive-url|{{{archiveurl|}}} }}}
| |
| | url-status = {{{url-status|{{{dead-url|{{{deadurl|}}}}}}}}}
| |
| | ref = {{{ref|}}}
| |
| | df = {{{df|}}}
| |
| }}<includeonly><!--
| |
| | |
| == Error checking ==
| |
| No title -->{{#if:{{{title|}}}{{{script-title|}}}||{{#ifeq: {{{user|}}}{{{number|}}}{{{date|}}} | {{{user}}}{{{number}}}{{{date}}}||<span style="font-size:100%" class="error citation-comment">;</span>}}{{main other|[[Category:Cite tweet templates with errors]]}} }}<!--
| |
| (Note: error message is provided by CS1 module)
| |
| | |
| No user --> {{#if:{{{user|}}}||<span style="font-size:100%" class="error citation-comment">Missing or empty <kbd>|user=</kbd> ([[Template:Cite_tweet#Error_detection|help]]){{#ifeq: {{{number|}}}{{{date|}}} | {{{number}}}{{{date}}}||;}}</span>{{main other|[[Category:Cite tweet templates with errors]]}} }}<!--
| |
| | |
| ref=harv instead of harvid --> {{#ifeq:{{{ref|}}}|harv|<span style="font-size:100%" class="error citation-comment">Harvid template must be used with <kbd>|ref=</kbd> ([[Template:Cite_tweet#Error_detection|help]]){{#if:{{{date|}}}||;}}</span>{{main other|[[Category:Cite tweet templates with errors]]}} }}<!--
| |
| | |
| No number --> {{#if:{{{number|}}}||<span style="font-size:100%" class="error citation-comment">Missing or empty <kbd>|number=</kbd> ([[Template:Cite_tweet#Error_detection|help]]){{#if:{{{date|}}}||;}}</span>{{main other|[[Category:Cite tweet templates with errors]]}} }}<!--
| |
| | |
| No date --> {{#if:{{{date|}}}||<span style="font-size:100%" class="error citation-comment">Missing or empty <kbd>|date=</kbd> ([[Template:Cite_tweet#Error_detection|help]])</span>{{main other|[[Category:Cite tweet templates with errors]]}} }}</includeonly><noinclude>{{documentation}}[[Category:Utility templates]][[Category:Citation templates]]</noinclude>
| |