Jump to content

Template:Quote tweet/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

Template to display a quote tweet, i.e. a tweet that quotes another tweet. For ordinary tweets use {{tweet}}.

Sample usage:

Tweeter One Twitter
@tweeter1

I totally disagree! Only the Mildly Spotty Party is a serious contender in this election.

28 Nov 2024[1]

Tweeter 2 Twitter
@tweeter2

Vote Very Spotty Party or risk a Stripy government.

28 Nov 2024[2]

{{Quote tweet
|date=28 Nov 2024|name=Tweeter One|username=tweeter1|id=20
|text=I totally disagree! Only the Mildly Spotty Party is a serious contender in this election.
|date2=28 Nov 2024|name2=Tweeter 2|username2=tweeter2|id2=20
|text2=Vote Very Spotty Party or risk a Stripy government.
|image=User icon 1.svg|image2=User icon 3.svg
}}

References (sample)

[edit]
  1. ^ Tweeter One [@tweeter1] (28 Nov 2024). "I totally disagree! Only the Mildly Spotty Party is a serious contender in this election" (Tweet) – via Twitter.
  2. ^ Tweeter 2 [@tweeter2] (28 Nov 2024). "Vote Very Spotty Party or risk a Stripy government" (Tweet) – via Twitter.{{cite web}}: CS1 maint: numeric names: authors list (link)


TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Quote tweet in articles based on its TemplateData.

TemplateData for Quote tweet

Template to display a quote tweet, i.e. a tweet that quotes another tweet. For ordinary tweets use Template:Tweet.

Template parameters

ParameterDescriptionTypeStatus
Align leftleft

If set to any value, align the tweet left. Default is right-alignment.

Unknownoptional
Display as blockblock

Makes the template occupy space across the whole column it is in.

Unknownoptional
Widthwidth

The maximum width of the tweet in any CSS units, e.g. 300px.

Default
250px, or 500px if displayed as a block.
Stringoptional
Display name 1name

The display name of the quoting tweeter as it appears on Twitter

Stringrequired
Prevent categorizationnocategory

Do not use in articles. For documentation pages only.

Unknownoptional
Username 1username

The username of the quoting author.

Stringrequired
Date 1date

The date of the quoting tweet, in the format 1 Jan 1970 or Jan 1, 1970.

Daterequired
Text 1text

Text of the quoting tweet

Contentrequired
ID 1ID

The ID number of the quoting tweet; look at the end of its URL. Overridden by Reference 1.

Example
20
Numbersuggested
Reference 2reference ref

A full reference tag (Including <ref>) for the quoted tweet. Alternatively use ID2.

Lineoptional
Author image 1image

An image filename to represent the profile picture

Fileoptional
In reply to 1replyto

The username of the person replied to by the quoting tweet, if any

Stringoptional
Language code 1language lang

The two letter language code of the quoting tweet.

Example
"de" for German
Stringoptional
Translation 1translation

Translation into English of the quoting tweet if required.

Contentoptional
Display name 2name2

The display name of the quoted tweeter as it appears on Twitter

Stringrequired
Username 2username2

The username of the quoted author.

Stringrequired
Date 2date2

The date of the quoted tweet, in the format 1 Jan 1970 or Jan 1, 1970.

Daterequired
Text 2text2

Text of the quoted tweet

Contentrequired
ID 2ID2

The ID number of the quoted tweet; look at the end of its URL. Overridden by Reference 2.

Example
20
Numbersuggested
Reference 2reference2 ref2

A full reference tag (Including <ref>) for the quoted tweet. Alternatively use ID2.

Lineoptional
Author image 2image2

An image filename to represent the profile picture

Fileoptional
In reply to 2replyto2

The username of the person replied to by the quoted tweet, if any

Stringoptional
Language code 2language2 lang2

The two letter language code of the quoted tweet.

Example
"de" for German
Stringoptional
Translation 2translation2

Translation into English of the quoted tweet if required.

Contentoptional

See also

[edit]
  • {{Tweet}}, for tweets which do not quote other tweets