Vorlage:Quote tweet/Doku

Aus skandinavien-wiki.net
< Vorlage:Quote tweet
Version vom 31. Januar 2021, 17:16 Uhr von wpen>GKFX (Create documentation)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)

Usage

Template to display a quote tweet, i.e. a tweet that quotes another tweet. Sample usage:

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

User icon 1.svg
Tweeter One Twitter
@tweeter1

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

23 Dez. 2024[1]

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

User icon 3.svg
Tweeter 2 Twitter
@tweeter2

Vote Very Spotty Party or risk a Stripy government.

23 Dez. 2024[2]

{{Quote tweet
|date=23 Dez. 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 Dez. 2024|name2=Tweeter 2|username2=tweeter2|id2=20
|text2=Vote Very Spotty Party or risk a Stripy government.
|image=User icon 2.svg
}}

References (sample)

  1. Tweeter One [@tweeter1] (Fehler: Ungültige Zeitangabe). "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)
  2. Tweeter 2 [@tweeter2] (Fehler: Ungültige Zeitangabe). "Vote Very Spotty Party or risk a Stripy government" (Tweet) – via Twitter. {{cite web}}: Check date values in: |date= (help)

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See the monthly parameter usage report for this template.

TemplateData for Quote tweet

Template to display a quote tweet, i.e. a tweet that quotes another tweet.

Vorlagenparameter

ParameterBeschreibungTypStatus
Align leftleft

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

Unbekanntoptional
Display as blockblock

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

Unbekanntoptional
Widthwidth

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

Standard
250px, or 500px if displayed as a block.
Mehrzeiliger Textoptional
Display name 1name

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

Mehrzeiliger Texterforderlich
Prevent categorizationnocategory

Do not use in articles. For documentation pages only.

Unbekanntoptional
Username 1username

The username of the quoting author.

Mehrzeiliger Texterforderlich
Date 1date

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

Datumerforderlich
Text 1text

Text of the quoting tweet

Wikitexterforderlich
ID 1ID

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

Beispiel
20
Zahlenwertvorgeschlagen
Reference 2reference ref

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

Einzeiliger Textoptional
Author image 1image

An image filename to represent the profile picture

Dateioptional
In reply to 1replyto

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

Mehrzeiliger Textoptional
Language code 1language lang

The two letter language code of the quoting tweet.

Beispiel
"de" for German
Mehrzeiliger Textoptional
Translation 1translation

Translation into English of the quoting tweet if required.

Wikitextoptional
Display name 2name2

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

Mehrzeiliger Texterforderlich
Username 2username2

The username of the quoted author.

Mehrzeiliger Texterforderlich
Date 2date2

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

Datumerforderlich
Text 2text2

Text of the quoted tweet

Wikitexterforderlich
ID 2ID2

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

Beispiel
20
Zahlenwertvorgeschlagen
Reference 2reference2 ref2

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

Einzeiliger Textoptional
Author image 2image2

An image filename to represent the profile picture

Dateioptional
In reply to 2replyto2

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

Mehrzeiliger Textoptional
Language code 2language2 lang2

The two letter language code of the quoted tweet.

Beispiel
"de" for German
Mehrzeiliger Textoptional
Translation 2translation2

Translation into English of the quoted tweet if required.

Wikitextoptional