Difference between revisions of "Template:Cite tweet"

From Bronies.wiki
Jump to navigation Jump to search
(Change tweet text if statement logic.)
m (+cat)
 
(One intermediate revision by the same user not shown)
Line 19: Line 19:
 
   |  [https://twitter.com/{{{user}}}/{{{number}}} “{{{text}}}”] (Tweet).
 
   |  [https://twitter.com/{{{user}}}/{{{number}}} “{{{text}}}”] (Tweet).
 
   |  [https://twitter.com/{{{user}}}/{{{number}}} A tweet.]
 
   |  [https://twitter.com/{{{user}}}/{{{number}}} A tweet.]
}}
+
}}{{
 
 
{{
 
 
#if: {{{date|}}}  
 
#if: {{{date|}}}  
 
   |  Posted on {{#time:F j, Y | {{{date}}} }}.
 
   |  Posted on {{#time:F j, Y | {{{date}}} }}.
Line 29: Line 27:
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 +
[[Category:Citation templates|Tweet]]
 
</noinclude>
 
</noinclude>

Latest revision as of 16:39, 5 October 2020

This documentation is transcluded from Template:Cite tweet/doc and needs to be edited separately.

This template is used when referencing a tweet posted on Twitter.

Usage

At a minimum, you must provide the username (without leading @-sign) and the numerical ID for the tweet, which is part of the tweet's URL.

{{Cite tweet
| user=tarastrong
| number=640541460992028672
}}

This alone isn't very useful, however. If possible, expand to fill all of the metadata, particularly the tweet content (including any mentions and hashtags, but without parsing those to wikitext) and the date it was posted.

{{Cite tweet
| user=tarastrong
| author=Tara Strong
| number=640541460992028672
| text=He's a Brony! @rupertgrintnet @FANEXPOCANADA
| date=2015-09-06
| accessdate=2020-10-04
}}