Difference between revisions of "Template:Cite tweet"

From Bronies.wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{ #if: {{{user|}}}{{{number|}}} | {{#if: {{#if: {{{title|}}} | {{#if: {{{work|}}} | 1 }} }} | |You must specify the '''''user = ''''' a...")
 
(Fix incorrect parameter names.)
Line 2: Line 2:
 
#if: {{{user|}}}{{{number|}}}  
 
#if: {{{user|}}}{{{number|}}}  
 
   | {{#if:  
 
   | {{#if:  
     {{#if: {{{title|}}}
+
     {{#if: {{{user|}}}
       | {{#if: {{{work|}}} | 1 }}
+
       | {{#if: {{{number|}}} | 1 }}
 
     }}
 
     }}
 
     |
 
     |
     |You must specify the '''''user = ''''' and tweet '''''number = ''''' when using {{[[Template:cite tweet|cite tweet]]}}. {{#if: {{NAMESPACE}}
+
     |You must specify the <code>user</code> and tweet <code>number</code> parameters when using {{[[Template:cite tweet|cite tweet]]}}. {{#if: {{NAMESPACE}}
 
       |
 
       |
 
       | [[Category:Articles with broken citations]]
 
       | [[Category:Articles with broken citations]]

Revision as of 23:42, 3 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
}}