සැකිල්ල:Quote tweet/doc

විකිපීඩියා වෙතින්

Usage[සංස්කරණය]

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

Sample usage:

date parameter should be reformatted to look like:
1 Jan 1970 or Jan 1, 1970.

Tweeter One Twitter
@tweeter1

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

23 අප්‍රේ 2024[1]

date parameter should be reformatted to look like:
1 Jan 1970 or Jan 1, 1970.

Tweeter 2 Twitter
@tweeter2

Vote Very Spotty Party or risk a Stripy government.

23 අප්‍රේ 2024[2]

{{Quote tweet
|date=23 අප්‍රේ 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=23 අප්‍රේ 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)[සංස්කරණය]

  1. Tweeter One [@tweeter1] (දෝෂය: අනීතික වේලාව). "I totally disagree! Only the Mildly Spotty Party is a serious contender in this election" (Tweet) – via Twitter. {{cite web}}: Check date values in: |date= (help)CS1 maint: numeric names: authors list (link)
  2. Tweeter 2 [@tweeter2] (දෝෂය: අනීතික වේලාව). "Vote Very Spotty Party or risk a Stripy government" (Tweet) – via Twitter. {{cite web}}: Check date values in: |date= (help)CS1 maint: numeric names: authors list (link)


TemplateData[සංස්කරණය]

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.

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[සංස්කරණය]

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


"https://si.wikipedia.org/w/index.php?title=සැකිල්ල:Quote_tweet/doc&oldid=563718" වෙතින් සම්ප්‍රවේශනය කෙරිණි