This template is used to cite posts/tweets on X/Twitter.
Usage
- Common form for cases where little is known about authorship of the page (with current date)
{{cite X |user= |id= |title= |accessdate=2026-01-16 }}
- Using last, first (with current date)
{{cite X |user= |id= |title= |accessdate=2026-01-16 |last= |first= |authorlink= |date= |year= |month= |language= |archiveurl= |archivedate= |quote= }}
- Using author (with current date)
{{cite X |user= |id= |title= |accessdate=2026-01-16 |author= |authorlink= |date= |year= |month= |language= |archiveurl= |archivedate= |quote= }}
- Using non-linked retrieved date, last, first
{{cite X |user= |id= |title= |accessmonthday= |accessyear= |last= |first= |authorlink= |date= |year= |month= |language= |archiveurl= |archivedate= |quote= }}
- Using non-linked retrieved date, author
{{cite X |user= |id= |title= |accessmonthday= |accessyear= |author= |authorlink= |date= |year= |month= |language= |archiveurl= |archivedate= |quote= }}
- All parameters
{{cite X
|last =
|first =
|author =
|authorlink =
|user =
|id =
|title =
|archiveurl =
|archivedate =
|date =
|dateformat =
|month =
|year =
|accessdate =
|accessdaymonth =
|accessmonthday =
|accessyear =
|language =
|quote =
}}
Required parameters
- user: user of post.
- id: ID number of post.
- title: Content of post.
For producing a wikilinked date of retrieval:
- accessdate: Full date when item was accessed, in ISO 8601 YYYY-MM-DD format, for example "accessdate = 2006-02-17". Must not be wikilinked
For producing a non-wikilinked date of retrieval:
- accessmonthday and accessyear: Month and day when item was accessed, for example "accessmonthday = May 10", and year when item was accessed, for example "accessyear = 2005".
TemplateData
Cites posts from X/Twitter.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| ID number | id number | Numerical ID of the post | Number | required |
| User handle | user | The account name, without the @ | String | required |
| Contents | title | Partial or entire content of the post, 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 |
| Last name | last | Surname of the author | Line | optional |
| First name | first | Given name of the author | Line | optional |
| Author | author | Name of the author; prefer the first name and last name parameters instead when possible | Line | suggested |
| Author link | authorlink | Title of article about the author on the wiki (if there is one) | Page name | optional |
| Source date | date | Date the source was published | Line | suggested |
| Archive URL | archiveurl archive-url | Archived copy of the web page | URL | suggested |
| Archive date | archivedate archive-date | Date the page was archived | Line | suggested |
| Access date | accessdate access-date | Date the URL was accessed | Line | suggested |
| Language | language | Language in which the source is written, if not English | Line | optional |
| Date format | dateformat | Format of the date
| Line | optional |
| Quote | quote | Relevant text quoted from the cited source, including terminating punctuation | String | optional |
See also
- Template:Cite tweet on Wikipedia
| The above documentation is transcluded from Template:Cite X/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. |