قالب:Cite tweet

@{{{user}}} ({{{date}}}). "{{{title}}}" (Tweet) – via Twitter. {{cite web}}: |author= has generic name (help); Cite has empty unknown parameter: |dead-url= (help)

Template documentation[view] [edit] [history] [purge]

A template for citing tweets posted on Twitter.

Usage

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 purge the page.

Required parameters only, in horizontal format
{{cite tweet |user= |number= |date= |title= }}
Full parameter set in horizontal format
{{cite tweet |author= (or |last= and |first=) |author-link= |user= |number= |date= |title= |script-title= |trans-title= |language= |retweet= |link= |access-date= |archive-url= |archive-date= |dead-url=}}

ملف:Pictogram voting info.svg 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 web}}: Cite has empty unknown parameter: |dead-url= (help)

{{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 web}}: Cite has empty unknown parameter: |dead-url= (help)

{{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. {{cite web}}: Cite has empty unknown parameter: |dead-url= (help)

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. {{cite web}}: Cite has empty unknown parameter: |dead-url= (help)

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. {{cite web}}: Cite has empty unknown parameter: |dead-url= (help)

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. {{cite web}}: |author= has numeric name (help); Cite has empty unknown parameter: |dead-url= (help) 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

This is the بيانات القالب documentation for this template used by المحرر المرئي وأدوات أخرى.

See the monthly error report for this template.

TemplateData for Cite tweet

A template for citing tweets posted on Twitter

وسائط القالب

وسيطوصفنوعحالة
numbernumber

Numerical ID of the tweet

رقممطلوب
usernameuser

Twitter account name, without the @

نصمطلوب
tweettitle

Entire content of the tweet, including hashtags (#), at signs (@), and links

نصمطلوب
authorauthor

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]])

غير معروفمقترح
author's articleauthor-link authorlink

Title of existing Wikipedia article about the author

غير معروفاختياري
retweeted byretweet

The reliable source who retweeted the tweet, if the original tweeter is not anyone particularly notable. May be wikilinked.

غير معروفاختياري
datedate

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.

غير معروفمطلوب
access dateaccess-date accessdate

The full date when the tweet was accessed; do not wikilink

غير معروفاختياري
languagelanguage

The language in which the tweet is written, if not in English.

مثال
fr
نصاختياري
archive URLarchive-url archiveurl

The URL of an archived copy of a web page, if or in case the URL becomes unavailable; requires 'archive-date'

نصاختياري
archive datearchive-date archivedate

Date when the original URL was archived; do not wikilink

نصاختياري
dead URLdead-url deadurl

If set to 'no', the title display is adjusted; useful for when the URL is archived preemptively but still live

نصاختياري
script tweetscript-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:...

مثال
ja:東京タワー
غير معروفاختياري
translated tweettrans-title

An English language translation, if the tweet cited is in a foreign language; use of 'language' parameter is recommended

غير معروفاختياري
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.

غير معروفاختياري

Redirects

  1. {{Cite twitter}}