Vorlage:Tweet: Unterschied zwischen den Versionen
KKeine Bearbeitungszusammenfassung |
(Nominated for deletion; see Wikipedia:Templates for discussion#Template:Tweet. (TW)) |
||
Zeile 1: | Zeile 1: | ||
{{tfd|Tweet}} | |||
<div style="background-color: #e3fff1; border: 1px solid #8caa9b; margin: 2em 0 1em; padding: 0.5em 1em; vertical-align: middle;"><!-- | <div style="background-color: #e3fff1; border: 1px solid #8caa9b; margin: 2em 0 1em; padding: 0.5em 1em; vertical-align: middle;"><!-- | ||
Version vom 21. März 2011, 03:57 Uhr
You can remove this notice at any time by removing the {{Tweet}} template.
![Template-info.png](https://upload.wikimedia.org/wikipedia/commons/thumb/e/e2/Template-info.png/50px-Template-info.png)
You can remove this notice at any time by removing the {{Tweet}} template.
This template allows relevant tweets to be easily quoted within articles with a citation automatically generated, using {{cite tweet}}
.
Using this template is better than a screen-shot of a tweet because the text is accessible to screen readers.
It is an alternative to standard quotation templates because it displays all relevant information about the tweet (date of posting, user's name, user's handle, etc). For quote tweets, use {{quote tweet}}; alternatively, simply pass the quoted tweet, as a second Tweet template, to the |reference=
parameter in this template.
Usage
Full blank syntax
{{Tweet | name = | username = | replyto = | lang = | text = | translation = | date = | ID = | reference = | archive-url = | archive-date = | url-status = | image = | block = | left = | width = }}
Parameters
|name=
user's name as it appears at the top of the tweet|username=
user's @ handle (without the @)|replyto=
optional: username tweet is replying to|lang=
optional: language code of the tweet if non-English|text=
content of the tweet|translation=
optional: English translation of tweet if original tweet non-English|date=
date of the tweet formatted according to MOS:DATE, should be used with tweets posted before November 4, 2010|ID=
number at the end of the tweet URL|reference=
optional: the template automatically creates a reference, but one can be provided to use instead. See 2nd example.|archive-url=
optional: URL of an archived copy of the tweet. Ignored if|reference=
is used.|archive-date=
optional: date of the archived copy. Ignored if|reference=
is used.|url-status=
optional: if set to 'live', the title displays as the live link; if set to 'dead', the title displays as the archive link. Ignored if|reference=
is used.|image=
optional: image or logo associated with Twitter account|block=
optional: any value displays tweet as block with 500px width as default (text above and below, doesn't flow around).|left=
optional: any value makes tweet aligned left|width=
optional: custom tweet width, default is 220px
Examples
Tweets in english
{{Tweet}}
You can remove this notice at any time by removing the {{Tweet}} template.
{{Tweet/sandbox}}
{{Tweet}}
You can remove this notice at any time by removing the {{Tweet}} template.
{{Tweet/sandbox}}
Tweets in another language
It is possible to include tweets written in another language other than English by adding the language
parameter and including the List of ISO 639-1 codes of the language.
{{Tweet}}
You can remove this notice at any time by removing the {{Tweet}} template.
{{Tweet/sandbox}}
It's also possible to translate the tweet.
{{Tweet}}
You can remove this notice at any time by removing the {{Tweet}} template.
{{Tweet/sandbox}}
TemplateData
This template allows relevant tweets to be easily quoted within articles, with a citation automatically generated using the template, "cite tweet". Using this template is better than a screen-shot of a tweet because the text is accessible to screen readers. It is an alternative to standard quotation templates because it displays all relevant information about the tweet (date of posting, user's name, user's handle, etc) in a way that reflects Twitter's design language. For quote tweets use Template:Quote tweet.
Parameter | Beschreibung | Typ | Status | |
---|---|---|---|---|
block | block | Any value displays tweet as block (text above and below, doesn't flow around). Overrides left parameter | Zeichenfolge | optional |
width | width | Custom tweet width
| Zeichenfolge | optional |
left | left | Any value makes tweet aligned left | Zeichenfolge | optional |
name | name | User's name as it appears at the top of the tweet | Zeichenfolge | erforderlich |
username | username | User's Twitter handle. Do not include the @ symbol. | Unbekannt | erforderlich |
date | date | Date of the tweet formatted according to MOS:DATE | Datum | erforderlich |
text | text | Content of the tweet | Zeichenfolge | erforderlich |
ID | ID id | The number at the end of the tweet URL | Nummer | vorgeschlagen |
reference | reference ref | A custom reference can be provided to use instead of the automatically generated one
| Zeichenfolge | optional |
image | image | Image or logo associated with twitter account | Datei | optional |
replyto | replyto | Username the tweet is replying to | Zeichenfolge | optional |
lang | lang language | language code of original tweet
| Zeichenfolge | optional |
translation | translation | english translation of the tweet | Unbekannt | optional |
nocategory | nocategory | keine Beschreibung | Unbekannt | optional |
archive-url | archive-url | keine Beschreibung | Unbekannt | optional |
archive-date | archive-date | keine Beschreibung | Unbekannt | optional |
url-status | url-status | keine Beschreibung | Unbekannt | optional |
See also
- {{Cite tweet}} – for citing tweets
- {{Quote tweet}} – for tweets that quote another tweet
References
- ↑ @{{{username}}}. "{{{text}}}" (Tweet) – via Twitter. Missing or empty |number= (help)
- ↑ @{{{username}}}. "{{{text}}}" (Tweet) – via Twitter. Missing or empty |number= (help)
- ↑ @{{{username}}}. "{{{text}}}" (Tweet) – via Twitter. Missing or empty |number= (help)
- ↑ @{{{username}}}. "{{{text}}}" (Tweet) – via Twitter. Missing or empty |number= (help)
- Die obige Dokumentation wurde aus der Seite Vorlage: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.
- Zur Vorlage gibt es eine Experimentierseite.
- Testseite anlegen -Editnotice anlegen -Wartungsseite anlegen
- Liste der Unterseiten