Vorlage:Quote tweet: Unterschied zwischen den Versionen
(←Created page with '<includeonly><blockquote class="{{#if:{{{left|}}}|floatleft|floatright}}" style="max-width: 100%; width: 500px; min-width: 220px; background-color: #F9F9F9; padd...') |
Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
<includeonly><blockquote class="{{#if:{{{left|}}}|floatleft|floatright}}" style="max-width: 100%; width: 500px; min-width: 220px; background-color: #F9F9F9; padding: 10px; border-radius: 4px; border: 1px solid #dbdbdb; font-size: .9375rem; line-height: 1.3333; | |||
{{#if: {{{block|}}} | |||
|display: block; margin: 12.25px 40px; max-width: {{{width|500px}}}; | |||
|{{#if: {{{left|}}} | |||
|clear: left; float: left; margin: 0.5em 1.4em 0.8em 0; | |||
|clear: right; float: right; margin: 0.5em 0 0.8em 1.4em; | |||
}} max-width: {{{width|220px}}}; | |||
}}"> | |||
{{#if: {{{name|}}}||{{Formatting error|Missing <u>name</u> parameter.<br>|nocategory={{{nocategory|}}}}}}}<!-- | |||
-->{{#if: {{{username|}}}||{{Formatting error|Missing <u>username</u> parameter.<br>|nocategory={{{nocategory|}}}}}}}<!-- | |||
-->{{#if: {{{date|}}}||{{Formatting error|Missing <u>date</u> parameter.<br>|nocategory={{{nocategory|}}}}}}}<!-- | |||
-->{{#if: {{{text|}}}||{{Formatting error|Missing <u>text</u> parameter.<br>|nocategory={{{nocategory|}}}}}}}<!-- | |||
-->{{#ifeq: {{extract|{{{date|}}}|show=format}} | dmy | |||
||{{#ifeq: {{extract|{{{date|}}}|show=format}} | mdy | |||
||{{Formatting error|<u>date</u> parameter should be [[MOS:DATE|reformatted]] to look like:<br>''1 Jan 1970'' or ''Jan 1, 1970''.<br>|nocategory={{{nocategory|}}}}} | |||
}} | |||
}}<!-- | |||
-->{{#if: {{{ID|{{{id|{{{reference|{{{ref|}}}}}}}}}}}} | |||
||{{Formatting error|<u>reference</u> or <u>ID</u> parameter required.<br>|nocategory={{{nocategory|}}}}} | |||
}} | |||
<table role="presentation" style="line-height: 1em; width: 100%; font-size: 90%;"> | |||
<tr> | |||
{{#if: {{{image|}}} | |||
|<td rowspan=2 style="padding-right: 5px; width: 28px;"> | |||
<div style="height: 28px; width: 28px; padding: 0; border-radius: 50%; overflow: hidden;"> | |||
[[File:{{{image|}}}|left|28px]] | |||
</div> | |||
</td> | |||
|}} | |||
<th style="text-align: left; white-space: nowrap;">{{{name|}}}</th> | |||
<td style="text-align: right; color: #4C545C;">[[Twitter]]</td> | |||
</tr> | |||
<tr> | |||
<td style="color: #4C545C; white-space: nowrap; font-size: .0.822rem;">@{{{username|}}}</td> | |||
</tr> | |||
</table> | |||
{{#if: {{{replyto|}}}| | |||
<div style="color: #4C545C; font-size: 85%;"> | |||
Replying to @{{{replyto|}}} | |||
</div> | |||
|}} | |||
{{#if: {{{lang|{{{language|}}}}}} | |||
|<div style='font-size: 90%; color: #1c2022; text-align: left'> | |||
{{lang-{{{lang|{{{language|}}}}}}|{{{text|}}}}} | |||
</div> | |||
|<div style='font-size: 90%; color: #1c2022; text-align: left'> | |||
{{{text|}}} | |||
</div> | |||
}} | |||
{{#if: {{{translation|}}}| | |||
<hr style="height: 0; border: 0; border-top: 1px solid #aaa; margin: 10px 0 10px 0;"> | |||
<div style="font-size: 90%;"> | |||
{{{translation|}}} | |||
</div> | |||
|}} | |||
<div style="color: #4C545C; font-size: 90%;"> | |||
{{{date|}}}<!-- | |||
-->{{{reference|{{{ref | |||
|{{#tag:ref|{{cite tweet|user= {{{username}}} |author= {{{name|}}} |number= {{{ID|{{{id|}}}}}} |date= {{{date}}} |title= {{#invoke:String|replace|{{{text}}}|%s+| |plain=false}} }} }} | |||
}}}}}} | |||
</div> | |||
</blockquote></includeonly><noinclude> | |||
{{documentation}} | |||
</noinclude> | |||
<includeonly><blockquote class="{{#if:{{{left|}}}|floatleft|floatright}}" style="max-width: 100%; width: 500px; min-width: 220px; background-color: #F9F9F9; padding: 10px; border-radius: 4px; border: 1px solid #dbdbdb; font-size: .9375rem; line-height: 1.3333; | <includeonly><blockquote class="{{#if:{{{left|}}}|floatleft|floatright}}" style="max-width: 100%; width: 500px; min-width: 220px; background-color: #F9F9F9; padding: 10px; border-radius: 4px; border: 1px solid #dbdbdb; font-size: .9375rem; line-height: 1.3333; | ||
{{#if: {{{block|}}} | {{#if: {{{block|}}} | ||
Version vom 9. Oktober 2020, 01:21 Uhr
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 @tweeter1 I totally disagree! Only the Mildly Spotty Party is a serious contender in this election.
17 Feb. 2026[1]
date parameter should be reformatted to look like:
1 Jan 1970 or Jan 1, 1970.
Tweeter One @tweeter1 I totally disagree! Only the Mildly Spotty Party is a serious contender in this election.
17 Feb. 2026[2]
{{Quote tweet
|date=17 Feb. 2026|name=Tweeter One|username=tweeter1|id=20
|text=I totally disagree! Only the Mildly Spotty Party is a serious contender in this election.
|date2=17 Feb. 2026|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)
- ↑ Tweeter One [@tweeter1] (17 Feb. 2026). "I totally disagree! Only the Mildly Spotty Party is a serious contender in this election" (Tweet) – via Twitter.
- ↑ Tweeter One [@tweeter1] (17 Feb. 2026). "I totally disagree! Only the Mildly Spotty Party is a serious contender in this election" (Tweet) – via Twitter.
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.
| Parameter | Beschreibung | Typ | Status | |
|---|---|---|---|---|
| Align left | left | If set to any value, align the tweet left. Default is right-alignment. | Unbekannt | optional |
| Display as block | block | Makes the template occupy space across the whole column it is in. | Unbekannt | optional |
| Width | width | The maximum width of the tweet in any CSS units, e.g. 300px.
| Mehrzeiliger Text | optional |
| Display name 1 | name | The display name of the quoting tweeter as it appears on Twitter | Mehrzeiliger Text | erforderlich |
| Prevent categorization | nocategory | Do not use in articles. For documentation pages only. | Unbekannt | optional |
| Username 1 | username | The username of the quoting author. | Mehrzeiliger Text | erforderlich |
| Date 1 | date | The date of the quoting tweet, in the format 1 Jan 1970 or Jan 1, 1970. | Datum | erforderlich |
| Text 1 | text | Text of the quoting tweet | Wikitext | erforderlich |
| ID 1 | ID | The ID number of the quoting tweet; look at the end of its URL. Overridden by Reference 1.
| Zahlenwert | vorgeschlagen |
| Reference 2 | reference ref | A full reference tag (Including <ref>) for the quoted tweet. Alternatively use ID2. | Einzeiliger Text | optional |
| Author image 1 | image | An image filename to represent the profile picture | Datei | optional |
| In reply to 1 | replyto | The username of the person replied to by the quoting tweet, if any | Mehrzeiliger Text | optional |
| Language code 1 | language lang | The two letter language code of the quoting tweet.
| Mehrzeiliger Text | optional |
| Translation 1 | translation | Translation into English of the quoting tweet if required. | Wikitext | optional |
| Display name 2 | name2 | The display name of the quoted tweeter as it appears on Twitter | Mehrzeiliger Text | erforderlich |
| Username 2 | username2 | The username of the quoted author. | Mehrzeiliger Text | erforderlich |
| Date 2 | date2 | The date of the quoted tweet, in the format 1 Jan 1970 or Jan 1, 1970. | Datum | erforderlich |
| Text 2 | text2 | Text of the quoted tweet | Wikitext | erforderlich |
| ID 2 | ID2 | The ID number of the quoted tweet; look at the end of its URL. Overridden by Reference 2.
| Zahlenwert | vorgeschlagen |
| Reference 2 | reference2 ref2 | A full reference tag (Including <ref>) for the quoted tweet. Alternatively use ID2. | Einzeiliger Text | optional |
| Author image 2 | image2 | An image filename to represent the profile picture | Datei | optional |
| In reply to 2 | replyto2 | The username of the person replied to by the quoted tweet, if any | Mehrzeiliger Text | optional |
| Language code 2 | language2 lang2 | The two letter language code of the quoted tweet.
| Mehrzeiliger Text | optional |
| Translation 2 | translation2 | Translation into English of the quoted tweet if required. | Wikitext | optional |
See also
- {{Tweet}}, for tweets which do not quote other tweets
- Die obige Dokumentation wurde aus der Seite Vorlage:Quote tweet/Doku eingefügt. (bearbeiten | Versionsgeschichte) Die Kategorien für diese Vorlage sollten in der Dokumentation eingetragen werden. Die Interwiki-Links sollten auf Wikidata eingepflegt werden.
- Testseite anlegen -Editnotice anlegen -Wartungsseite anlegen
- Liste der Unterseiten
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 @tweeter1 I totally disagree! Only the Mildly Spotty Party is a serious contender in this election.
17 Feb. 2026[1]
date parameter should be reformatted to look like:
1 Jan 1970 or Jan 1, 1970.
Tweeter One @tweeter1 I totally disagree! Only the Mildly Spotty Party is a serious contender in this election.
17 Feb. 2026[2]
{{Quote tweet
|date=17 Feb. 2026|name=Tweeter One|username=tweeter1|id=20
|text=I totally disagree! Only the Mildly Spotty Party is a serious contender in this election.
|date2=17 Feb. 2026|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)
- ↑ Tweeter One [@tweeter1] (17 Feb. 2026). "I totally disagree! Only the Mildly Spotty Party is a serious contender in this election" (Tweet) – via Twitter.
- ↑ Tweeter One [@tweeter1] (17 Feb. 2026). "I totally disagree! Only the Mildly Spotty Party is a serious contender in this election" (Tweet) – via Twitter.
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.
| Parameter | Beschreibung | Typ | Status | |
|---|---|---|---|---|
| Align left | left | If set to any value, align the tweet left. Default is right-alignment. | Unbekannt | optional |
| Display as block | block | Makes the template occupy space across the whole column it is in. | Unbekannt | optional |
| Width | width | The maximum width of the tweet in any CSS units, e.g. 300px.
| Mehrzeiliger Text | optional |
| Display name 1 | name | The display name of the quoting tweeter as it appears on Twitter | Mehrzeiliger Text | erforderlich |
| Prevent categorization | nocategory | Do not use in articles. For documentation pages only. | Unbekannt | optional |
| Username 1 | username | The username of the quoting author. | Mehrzeiliger Text | erforderlich |
| Date 1 | date | The date of the quoting tweet, in the format 1 Jan 1970 or Jan 1, 1970. | Datum | erforderlich |
| Text 1 | text | Text of the quoting tweet | Wikitext | erforderlich |
| ID 1 | ID | The ID number of the quoting tweet; look at the end of its URL. Overridden by Reference 1.
| Zahlenwert | vorgeschlagen |
| Reference 2 | reference ref | A full reference tag (Including <ref>) for the quoted tweet. Alternatively use ID2. | Einzeiliger Text | optional |
| Author image 1 | image | An image filename to represent the profile picture | Datei | optional |
| In reply to 1 | replyto | The username of the person replied to by the quoting tweet, if any | Mehrzeiliger Text | optional |
| Language code 1 | language lang | The two letter language code of the quoting tweet.
| Mehrzeiliger Text | optional |
| Translation 1 | translation | Translation into English of the quoting tweet if required. | Wikitext | optional |
| Display name 2 | name2 | The display name of the quoted tweeter as it appears on Twitter | Mehrzeiliger Text | erforderlich |
| Username 2 | username2 | The username of the quoted author. | Mehrzeiliger Text | erforderlich |
| Date 2 | date2 | The date of the quoted tweet, in the format 1 Jan 1970 or Jan 1, 1970. | Datum | erforderlich |
| Text 2 | text2 | Text of the quoted tweet | Wikitext | erforderlich |
| ID 2 | ID2 | The ID number of the quoted tweet; look at the end of its URL. Overridden by Reference 2.
| Zahlenwert | vorgeschlagen |
| Reference 2 | reference2 ref2 | A full reference tag (Including <ref>) for the quoted tweet. Alternatively use ID2. | Einzeiliger Text | optional |
| Author image 2 | image2 | An image filename to represent the profile picture | Datei | optional |
| In reply to 2 | replyto2 | The username of the person replied to by the quoted tweet, if any | Mehrzeiliger Text | optional |
| Language code 2 | language2 lang2 | The two letter language code of the quoted tweet.
| Mehrzeiliger Text | optional |
| Translation 2 | translation2 | Translation into English of the quoted tweet if required. | Wikitext | optional |
See also
- {{Tweet}}, for tweets which do not quote other tweets
- Die obige Dokumentation wurde aus der Seite Vorlage:Quote tweet/Doku eingefügt. (bearbeiten | Versionsgeschichte) Die Kategorien für diese Vorlage sollten in der Dokumentation eingetragen werden. Die Interwiki-Links sollten auf Wikidata eingepflegt werden.
- Testseite anlegen -Editnotice anlegen -Wartungsseite anlegen
- Liste der Unterseiten