Template:Cite tweet/doc
This is a documentation subpage for Template:Cite tweet. It contains usage information, categories and other content that is not part of the original template page. |
Tweets are largely not acceptable as sources. Tweets and other self-published material may sometimes be acceptable, if the conditions specified at PBC:SPS or PBC:TWITTER are met. For further information, see the PBC:Verifiability policy and the PBC:Identifying reliable sources guideline. |
A template for citing tweets posted on Twitter.
Usage[edit source]
Copy a blank version to use. All parameter names must be in lowercase. Use the "|" (pipe) character between each parameter. Delete unused parameters to avoid clutter in the edit window. Some samples may include the current date. If the date is not current, then
the page.
|
|
Template:A 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 source]
{{Cite tweet |user=Pigsonthewing |number=564068436633214977 |date = 7 February 2015 |title=This is an example tweet. Hello, PBCdians! }}
- Pigsonthewing (7 February 2015). "This is an example tweet. Hello, PBCdians!" (Tweet) – via Twitter.
{{Cite tweet |user=Pigsonthewing |author=Andy Mabbett |number=564068436633214977 |date = 7 February 2015 |title=This is an example tweet. Hello, PBCdians! }}
- Andy Mabbett [Pigsonthewing] (7 February 2015). "This is an example tweet. Hello, PBCdians!" (Tweet) – via Twitter.
{{Cite tweet |user=Pigsonthewing |author=Andy Mabbett |number=564068436633214977 |date = 7 February 2015 |title=This is an example tweet. Hello, PBCdians! |retweet=PBC}}
- Andy Mabbett [Pigsonthewing] (7 February 2015). "This is an example tweet. Hello, PBCdians!" (Tweet). Retweeted by PBC – via Twitter.
Error detection[edit source]
- 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[edit source]
See the monthly error report for this template.
TemplateData for Cite tweet
A template for citing tweets posted on Twitter
Parameter | Description | Type | Status | |
---|---|---|---|---|
number | number | Numerical ID of the tweet | Number | required |
username | user | Twitter account name, without the @ | String | required |
tweet | title | Entire content of the tweet, including hashtags (#), at signs (@), and links | 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]]) | Unknown | suggested |
author's article | author-link authorlink | Title of existing PBC article about the author | Unknown | optional |
retweeted by | retweet | The reliable source who retweeted the tweet, if the original tweeter is not anyone particularly notable. May be wikilinked. | 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. | Unknown | required |
access date | access-date accessdate | The full date when the tweet was accessed; do not wikilink | Unknown | optional |
language | language | The language in which the tweet is written, if not in English.
| 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' | String | optional |
archive date | archive-date archivedate | Date when the original URL was archived; do not wikilink | 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 | 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:...
| 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 | Unknown | optional |
Link to Twitter article? | link | Set to "no" to not link to the PBC article for Twitter. Useful for preventing overlinking when more than one tweet is cited. | Unknown | optional |
Redirects[edit source]
- {{Cite twitter}}