Template:Cite tweet: Difference between revisions

From TetrisWiki
Jump to navigation Jump to search
Created page with "{{cite web | url = {{#ifeq: {{{number|}}}{{{user|}}} | {{{number}}}{{{user}}} | https://twitter.com/{{{user}}}/status/{{{number}}} | https://twitter.com/ }} | title..."
 
Replaced content with "<includeonly>{{#invoke:cite tweet|main}}</includeonly><noinclude>{{documentation}}</noinclude>"
Tag: Replaced
 
(2 intermediate revisions by 2 users not shown)
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">&#59;</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>&#124;user=</kbd> ([[Template:Cite_tweet#Error_detection|help]]){{#ifeq: {{{number|}}}{{{date|}}} | {{{number}}}{{{date}}}||&#59;}}</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>&#124;ref=</kbd> ([[Template:Cite_tweet#Error_detection|help]]){{#if:{{{date|}}}||&#59;}}</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>&#124;number=</kbd> ([[Template:Cite_tweet#Error_detection|help]]){{#if:{{{date|}}}||&#59;}}</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>&#124;date=</kbd> ([[Template:Cite_tweet#Error_detection|help]])</span>{{main other|[[Category:Cite tweet templates with errors]]}} }}</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 15:58, 5 December 2024