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 purge the page.
Ta̱mpi̱let:EndNote: 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.
Unlike most citation templates, the |date= parameter is optional. This is because the date can be calculated directly from the Tweet's ID using Module:TwitterSnowflake (wrapped with Template:TwitterSnowflake).
If the |date= parameter is off by more than one day from what the calculated date is, the template will output an error. This can be fixed by removing or correcting the date parameter.
If the Tweet was posted before November 4, 2010, the date cannot be calculated from the ID Ta̱mpi̱let:-- the template will output an error if no date is provided.
{{Cite tweet |author=Andy Mabbett |user=Pigsonthewing |number=564068436633214977 |title=This is an example tweet. Hello, Wikipedians! |retweet=Wikimedia Foundation [Wikimedia]}}
If the author has a Wikipedia article, use of |author-link= is recommended: {{Cite tweet |author=Elon Musk |author-link=Elon Musk |user=elonmusk |number=743097337782763521 |title=Looks like thrust was low on 1 of 3 landing engines. High g landings v sensitive to all engines operating at max.}}
Note that if |last= is used, |author= is ignored: {{Cite tweet |last=Mabbett |first=Andy |author=Redundant Author Name Ignored |user=Pigsonthewing |number=564068436633214977 |title=This is an example tweet. Hello, Wikipedians! |retweet=Wikimedia Foundation [Wikimedia]}}
This tweet was posted before November 4, 2010, so |date= is necessary: {{Cite tweet |user=jack |number=20 |title=just setting up my twttr |date=Mar 21, 2006 }}
The tweet URL depends on |user= and |number=; if either or both are missing, the URL defaults to https://twitter.com/
The tweet date depends on |number= for Tweets posted after November 4, 2010, if the given date parameter is off by more than a day from the calculated date, an error is displayed
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).
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.
This template prefers inline formatting of parameters.
Parameter
Description
Type
Status
Tweet number
number
Numerical ID of the tweet
Number
required
User handle
user
Twitter account name, without the @
String
required
Tweet contents
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
Tweet 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]])
String
suggested
Author's article
author-linkauthorlink
Title of existing Wikipedia article about the author
Page name
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.
Date
suggested
Access date
access-dateaccessdate
The full date when the tweet was accessed; do not wikilink
Date
suggested
Language
language
The language in which the tweet is written, if not in English.
Example
fr
String
optional
Tweet location
location
The location from which a tweet was sent.
Example
London
String
optional
Archive URL
archive-urlarchiveurl
The URL of an archived copy of a web page, if or in case the URL becomes unavailable; requires 'archive-date'
URL
optional
Archive date
archive-datearchivedate
Date when the original URL was archived; do not wikilink
Date
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
Tweet script
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:...
Example
ja:東京タワー
String
optional
Translated tweet
trans-title
An English language translation, if the tweet cited is in a foreign language; use of 'language' parameter is recommended
String
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.