Changes

Jump to: navigation, search

Template:Cite tweet

2,925 bytes added, 01:50, 14 May 2018
adding location per talk page request
{{cite web
| url = {{#ifeq: {{{number|}}}{{{user|}}} | {{{number}}}{{{user}}} | https://twitter.com/{{{user}}}/status/{{{number}}} | https://twitter.com/ }}
| title = {{#invoke:String|replace|source={{{title|<noinclude>&#123;&#123;&#123;title&#125;&#125;&#125;</noinclude>}}} |pattern=https*:// |replace=|plain=false}}
| 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|}}} }}}
| dead-url = {{{dead-url|{{{deadurl|}}} }}}
| ref = {{{ref|}}}
}}<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>
Anonymous user

Navigation menu