Template: Cite tweet
{{{user}}} ({{{date}}}). "{{{title}}}" (Tweet) – via Twitter.
Notice | Tweets are largely not acceptable as sources. Tweets and other self-published material may sometimes be acceptable, if the conditions specified at WP:SPS or WP:TWITTER are met. For further information, see the Wikipedia:Verifiability policy and the Wikipedia:Identifying reliable sources guideline. |
A template for citing tweets posted on Twitter.
Usage
Template:Citation Style documentation/
|
|
16px Note: When known, the author's real name should be specified in the |author=
parameter (or |last=
and |first=
). If their real name is not known, then the tweet is probably not an acceptable usage of a self-published source.
Examples
{{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!" (Tweet) – via Twitter.
{{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!" (Tweet) – via Twitter.
{{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!" (Tweet). Retweeted by Wikimedia Foundation [Wikimedia] – via Twitter.
Note that if |last=
is used, |author=
is ignored:
{{Cite tweet |user=Pigsonthewing |last=Mabbett |first=Andy |author=Redundant Author Name Ignored |number=564068436633214977 |date = 7 February 2015 |title=This is an example tweet. Hello, Wikipedians! |retweet=Wikimedia Foundation [Wikimedia]}}
- Mabbett, Andy [Pigsonthewing] (7 February 2015). "This is an example tweet. Hello, Wikipedians!" (Tweet). Retweeted by Wikimedia Foundation [Wikimedia] – via Twitter.
Error detection
- 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!" (Tweet) – via Twitter. Missing or empty |user= (help); Missing or empty |number= (help); Missing or empty |date= (help)
- 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
TemplateData
See the monthly error report for this template.
TemplateData for Cite tweet
<templatedata> { "params": { "number": { "label": "number", "description": "Numerical ID of the tweet", "type": "number", "required": true }, "user": { "label": "username", "description": "Twitter account name, without the @", "type": "string", "required": true }, "title": { "label": "tweet", "description": "Entire content of the tweet, including hashtags (#), at signs (@), and links", "type": "string", "required": true }, "author": { "label": "author", "description": "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)", "suggested": true }, "author-link": { "aliases": [ "authorlink" ], "label": "author's article", "description": "Title of existing Wikipedia article about the author" }, "retweet": { "label": "retweeted by", "description": "The reliable source who retweeted the tweet, if the original tweeter is not anyone particularly notable. May be wikilinked." }, "date": { "label": "date", "description": "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.", "required": true }, "access-date": { "aliases": [ "accessdate" ], "label": "access date", "description": "The full date when the tweet was accessed; do not wikilink" }, "language": { "label": "language", "description": "The language in which the tweet is written, if not in English.", "example": "fr", "type": "string" }, "archive-url": { "label": "archive URL", "aliases": [ "archiveurl" ], "description": "The URL of an archived copy of a web page, if or in case the URL becomes unavailable; requires 'archive-date'", "type": "string" }, "archive-date": { "label": "archive date", "aliases": [ "archivedate" ], "description": "Date when the original URL was archived; do not wikilink", "type": "string" }, "dead-url": { "label": "dead URL", "aliases": [ "deadurl" ], "description": "If set to 'no', the title display is adjusted; useful for when the URL is archived preemptively but still live", "type": "string" }, "script-title": { "label": "script tweet", "description": "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:...", "example": "ja:東京タワー" }, "trans-title": { "label": "translated tweet", "description": "An English language translation, if the tweet cited is in a foreign language; use of 'language' parameter is recommended" }, "link": { "label": "Link to Twitter article?", "description": "Set to \"no\" to not link to the Wikipedia article for Twitter. Useful for preventing overlinking when more than one tweet is cited." } }, "description": "A template for citing tweets posted on Twitter" } </templatedata>
Redirects
- {{Cite twitter}}
The above documentation is transcluded from Template:Cite tweet/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |