Vorlage:Cite tweet/Doku: Unterschied zwischen den Versionen
update parameters
K (change category;) |
(update parameters) |
||
| Zeile 5: | Zeile 5: | ||
== Usage == | == Usage == | ||
;<code><nowiki>{{Cite tweet |user=Pigsonthewing |number=564068436633214977 |date = 7 February 2015 |quote=This is an example tweet. }}</nowiki></code> | ;<code><nowiki>{{Cite tweet |user=Pigsonthewing |number=564068436633214977 |date = 7 February 2015 |quote=This is an example tweet. }}</nowiki></code> | ||
:{{Cite tweet |user=Pigsonthewing |number=564068436633214977 |date = 7 February 2015 |quote=This is an example tweet. }} | :{{Cite tweet |user=Pigsonthewing |number=564068436633214977 |date = 7 February 2015 |quote=This is an example tweet. }} | ||
| Zeile 21: | Zeile 20: | ||
== Parameters == | == Parameters == | ||
<templatedata> | |||
{ | |||
"params": { | |||
"number": { | |||
"label": "number", | |||
"description": "Numerical ID of the tweet", | |||
"type": "number", | |||
"required": true | |||
}, | |||
"user": { | |||
"label": "username", | |||
"description": "Twitter account name, without the @", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"title": { | |||
"label": "Tweet", | |||
"description": "Entire content of the tweet, including hashtags (#), at signs (@), and links", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"author": { | |||
"label": "author", | |||
"description": "Author's name, if known", | |||
"suggested": true | |||
}, | |||
"author-link": { | |||
"aliases": [ | |||
"authorlink" | |||
], | |||
"label": "Author's article", | |||
"description": "Title of existing Wikipedia article about the author" | |||
}, | |||
"retweet": { | |||
"label": "retweeted by", | |||
"description": "The reliable source who retweeted the tweet, if the original tweeter is not anyone particularly notable. May be wikilinked." | |||
}, | |||
"date": { | |||
"label": "date", | |||
"description": "date of the tweet; do not wikilink; do not include time. Note: a tweet's timestamp is in your local timezone, and may need to be adjusted to UTC.", | |||
"required": true | |||
}, | |||
"access-date": { | |||
"aliases": [ | |||
"accessdate" | |||
], | |||
"label": "access date", | |||
"description": "The full date when the tweet was accessed; do not wikilink" | |||
} | |||
}, | |||
"description": "A template for citing tweets posted on Twitter" | |||
} | |||
</templatedata> | |||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | ||
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||