A template for citing tweets posted on Twitter.
Template:Citation Style documentation/usage
Required parameters only, in horizontal format
-
{{cite tweet |user= |number= |date= |title= }}
Template:End
Template:Citation Style documentation/usage full
-
{{cite tweet |author= |author-link= |user= |number= |date= |title= |script-title= |trans-title= |language= |retweet= |access-date= |archive-url= |archive-date= |dead-url=}}
Template:End
Note: When known, the author's real name should be specified in the |author= parameter. If their real name is not known, then the tweet is probably not an acceptable usage of a self-published source.
Examples[edit]
{{Cite tweet |user=Pigsonthewing |number=564068436633214977 |date = 7 February 2015 |title=This is an example tweet. Hello, Wikipedians! }}
- Pigsonthewing (7 February 2015). This is an example tweet. Hello, Wikipedians!.
{{Cite tweet |user=Pigsonthewing |author=Andy Mabbett |number=564068436633214977 |date = 7 February 2015 |title=This is an example tweet. Hello, Wikipedians! }}
- Andy Mabbett [Pigsonthewing] (7 February 2015). This is an example tweet. Hello, Wikipedians!.
{{Cite tweet |user=Pigsonthewing |author=Andy Mabbett |number=564068436633214977 |date = 7 February 2015 |title=This is an example tweet. Hello, Wikipedians! |retweet=Wikimedia Foundation [Wikimedia]}}
- Andy Mabbett [Pigsonthewing] (7 February 2015). This is an example tweet. Hello, Wikipedians!.
Error detection[edit]
- The parameters
|user= , |number= , |date= , and |title= are required. If omitted or left blank, errors will be reported. For example:
-
{{Cite tweet|title=I'm an incomplete citation!}}
- I'm an incomplete citation!.
- The tweet URL depends on
|user= and |number= ; if either or both are missing, the URL defaults to https://twitter.com/
- The template also checks for parameters that are unsupported (e.g. misspellings of parameter names).
- Errors are tracked in Category:Cite tweet templates with errors
Parameters[edit]
A template for citing tweets posted on Twitter Template parameters Parameter | Description | Type | Status |
---|
number | number | Numerical ID of the tweet - Default
- empty
- Example
- empty
- Auto value
- empty
| Number | required |
---|
username | user | Twitter account name, without the @ - Default
- empty
- Example
- empty
- Auto value
- empty
| String | required |
---|
tweet | title | Entire content of the tweet, including hashtags (#), at signs (@), and links - Default
- empty
- Example
- empty
- Auto value
- empty
| String | required |
---|
author | author | Author's real name, if known. If not known, then the tweet is probably not an acceptable usage of a self-published source (see [[WP:SPS]]) - Default
- empty
- Example
- empty
- Auto value
- empty
| Unknown | suggested |
---|
author's article | author-link authorlink | Title of existing Wikipedia article about the author - Default
- empty
- Example
- empty
- Auto value
- empty
| Unknown | optional |
---|
retweeted by | retweet | The reliable source who retweeted the tweet, if the original tweeter is not anyone particularly notable. May be wikilinked. - Default
- empty
- Example
- empty
- Auto value
- empty
| Unknown | optional |
---|
date | date | date of the tweet; do not wikilink; do not include time. Note: a tweet's timestamp is in your local timezone, and may need to be adjusted to UTC. - Default
- empty
- Example
- empty
- Auto value
- empty
| Unknown | required |
---|
access date | access-date accessdate | The full date when the tweet was accessed; do not wikilink - Default
- empty
- Example
- empty
- Auto value
- empty
| Unknown | optional |
---|
language | language | The language in which the tweet is written, if not in English. - Default
- empty
- Example
- fr
- Auto value
- empty
| String | optional |
---|
archive URL | archive-url archiveurl | The URL of an archived copy of a web page, if or in case the URL becomes unavailable; requires 'archive-date' - Default
- empty
- Example
- empty
- Auto value
- empty
| String | optional |
---|
archive date | archive-date archivedate | Date when the original URL was archived; do not wikilink - Default
- empty
- Example
- empty
- Auto value
- empty
| String | optional |
---|
dead URL | dead-url deadurl | If set to 'no', the title display is adjusted; useful for when the URL is archived preemptively but still live - Default
- empty
- Example
- empty
- Auto value
- empty
| String | optional |
---|
script tweet | script-title | For tweets in languages that do not use a Latin-based alphabet (Arabic, Chinese, Cyrillic, Greek, Hebrew, Japanese, Korean, Vietnamese, etc). Prefix with two-character ISO639-1 language code followed by a colon, e.g. for Japanese use: ja:... - Default
- empty
- Example
- ja:東京タワー
- Auto value
- empty
| Unknown | optional |
---|
translated tweet | trans-title | An English language translation, if the tweet cited is in a foreign language; use of 'language' parameter is recommended - Default
- empty
- Example
- empty
- Auto value
- empty
| Unknown | optional |
---|
Redirects[edit]
- {{Cite twitter}}
See also[edit]
|