Template:Cite tweet/doc: Difference between revisions
Rollback edit(s) by 78.95.62.106 (talk) to rev. 967279802 by IdreamofJeanie: Vandalism (RedWarn rev14) |
Johnrdorazio (talk | contribs) m 1 revision imported |
||
(No difference)
|
Latest revision as of 10:11, August 21, 2020
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 usually unacceptable as sources. Tweets and other self-published material may 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. |
This template is used on approximately 30,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template is a Citation Style 1 wrapper template based on {{Cite web}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
A template for citing tweets posted on Twitter.
Usage
Copy a blank version to use. Almost all parameter names are supported only in lower case (some initialisms, such as |isbn=
have upper-case aliases like |ISBN=
, which are acceptable for use). Use the "|" (pipe) character between each parameter. Unused parameters may be deleted to avoid clutter in the edit window. Some samples on this documentation page may include the current date. If the date is not current, then the page.
|
|
' 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.
Using {{sfn}} and {{harvid}}
To use this template with shortened footnotes (e.g. the {{sfn}} template), add |ref=
with {{harvid}} in the parameter value, like this:
{{cite tweet | ref = {{harvid|Porck|2017}} | last = Porck | first = Thijs | user = thijsporck | number = 889205416596471811 | date = 23 July 2017 | title = Spotted in Marvel's Doctor Strange: Sutton Hoo Helmet replica! | access-date = 5 December 2017 }}
This reference would be cited as {{sfn|Porck|2017}}
.
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.
If the author has a Wikipedia article, use of |author-link=
is recommended:
{{cite tweet |user=elonmusk |author-link=Elon Musk |number=743097337782763521 |date=June 15, 2016 |title=Looks like thrust was low on 1 of 3 landing engines. High g landings v sensitive to all engines operating at max.}}
- Elon Musk [@elonmusk] (June 15, 2016). "Looks like thrust was low on 1 of 3 landing engines. High g landings v sensitive to all engines operating at max" (Tweet) – 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: - The tweet URL depends on
|user=
and|number=
; if either or both are missing, the URL defaults to https://twitter.com/ - Templates are checked for
|ref=harv
, which is an error. The|ref=
parameter must use {{harvid}} in the value. - 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
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 | Partial or entire content of the tweet, optionally including hashtags (#), at signs (@), and links. Note: double quote marks (") should be replaced with single quote marks (') because the entire title will display surrounded by double quotes. | 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 Wikipedia 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 |
location | location | The location from which a tweet was sent.
| 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 |
URL status | url-status | If set to 'live', the title displays as the live link; if set to dead, the title displays as the archive link | 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 Wikipedia article for Twitter. Useful for preventing overlinking when more than one tweet is cited. | Unknown | optional |
Date format | df | Valid values: dmy, dmy-all, mdy, mdy-all | Unknown | optional |
Redirects
{{Cite twitter}}
See also
{{tweet}}