Zum Inhalt springen

Vorlage:Tweet/Doku: Unterschied zwischen den Versionen

add templatedata
(change to ID)
(add templatedata)
Zeile 81: Zeile 81:
{{clear}}
{{clear}}
{{tweet|name=Donald J. Trump|username=realDonaldTrump|date=Jan 5 2018|text=I authorized Zero access to White House (actually turned him down many times) for author of phony book! I never spoke to him for book. Full of lies, misrepresentations and sources that don't exist. Look at this guy's past and watch what happens to him and Sloppy Steve [Bannon]!|reference=<ref name="zero">{{cite web |url=http://www.foxnews.com/politics/2018/01/05/trump-tweets-explosive-white-house-tell-all-full-lies.html |first=Ryan |last=Gaydos |title=Trump tweets explosive White House tell-all 'full of lies'|date=January 5, 2018 |website=Fox News |accessdate=January 5, 2018 |deadurl=no|archiveurl=https://web.archive.org/web/20180105122005/http://www.foxnews.com/politics/2018/01/05/trump-tweets-explosive-white-house-tell-all-full-lies.html |archivedate=January 5, 2018 |df=mdy-all}}</ref>|block=yes|width=600px}}
{{tweet|name=Donald J. Trump|username=realDonaldTrump|date=Jan 5 2018|text=I authorized Zero access to White House (actually turned him down many times) for author of phony book! I never spoke to him for book. Full of lies, misrepresentations and sources that don't exist. Look at this guy's past and watch what happens to him and Sloppy Steve [Bannon]!|reference=<ref name="zero">{{cite web |url=http://www.foxnews.com/politics/2018/01/05/trump-tweets-explosive-white-house-tell-all-full-lies.html |first=Ryan |last=Gaydos |title=Trump tweets explosive White House tell-all 'full of lies'|date=January 5, 2018 |website=Fox News |accessdate=January 5, 2018 |deadurl=no|archiveurl=https://web.archive.org/web/20180105122005/http://www.foxnews.com/politics/2018/01/05/trump-tweets-explosive-white-house-tell-all-full-lies.html |archivedate=January 5, 2018 |df=mdy-all}}</ref>|block=yes|width=600px}}
==TemplateData==
<templatedata>
{
"params": {
"block": {
"label": "block",
"description": "Any value displays tweet as block (text above and below, doesn't flow around). Overrides left parameter",
"type": "string"
},
"width": {
"label": "width",
"description": "Custom tweet width",
"example": "300px"
},
"left": {
"label": "left",
"description": "Any value makes tweet aligned left"
},
"name": {
"label": "name",
"description": "User's name as it appears at the top of the tweet",
"type": "string",
"required": true
},
"username": {
"label": "username",
"description": "User's Twitter handle. Do not include the @ symbol.",
"required": true
},
"date": {
"label": "date",
"description": "Date of the tweet formatted according to MOS:DATE",
"type": "date",
"required": true
},
"text": {
"label": "text",
"description": "Content of the tweet",
"type": "string",
"required": true
},
"ID": {
"aliases": [
"id"
],
"label": "ID",
"description": "The number at the end of the tweet URL",
"type": "number",
"suggested": true
},
"reference": {
"label": "reference",
"description": "A custom reference can be provided to use instead of the automatically generated one",
"example": "<ref>custom reference</ref>"
},
"image": {
"label": "image",
"description": "Image or logo associated with twitter account",
"type": "wiki-file-name"
},
"unverified": {
"label": "unverified",
"description": "Any value results in removal of verified check mark",
"type": "string"
},
"replyto": {
"label": "replyto",
"description": "Username the tweet is replying to",
"type": "string"
}
},
"description": "This template allows relevant tweets to be easily quoted within articles, with a citation automatically generated using the template, \"cite tweet\".\n\nUsing this template is better than a screen-shot of a tweet because the text is accessible to screen readers.\n\nIt 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."
}
</templatedata>


== Refs ==
== Refs ==