Vorlage:Cite tweet/Doku: Unterschied zwischen den Versionen
document new parameters
(Add all the parameters to the example) |
(document new parameters) |
||
| Zeile 15: | Zeile 15: | ||
{{end}} | {{end}} | ||
{{csdoc|usage full}} | {{csdoc|usage full}} | ||
: <code><nowiki>{{cite tweet |author= |author-link= |user= |number= |date= |title= |retweet= |access-date | : <code><nowiki>{{cite tweet |author= |author-link= |user= |number= |date= |title= |script-title= |trans-title= |language= |retweet= |access-date= |archive-url= |archive-date= |dead-url=}}</nowiki></code> | ||
{{end}} | {{end}} | ||
{{A note|1=}} When known, the author's real name should be specified in the {{para|author}} parameter. If their real name is not known, then the tweet is probably not an [[WP:SPS|acceptable usage of a self-published source]]. | {{A note|1=}} When known, the author's real name should be specified in the {{para|author}} parameter. If their real name is not known, then the tweet is probably not an [[WP:SPS|acceptable usage of a self-published source]]. | ||
| Zeile 114: | Zeile 114: | ||
"description": "If set to 'no', the title display is adjusted; useful for when the URL is archived preemptively but still live", | "description": "If set to 'no', the title display is adjusted; useful for when the URL is archived preemptively but still live", | ||
"type": "string" | "type": "string" | ||
}, | |||
"script-title": { | |||
"label": "script tweet", | |||
"description": "For tweets in languages that do not use a Latin-based alphabet (Arabic, Chinese, Cyrillic, Greek, Hebrew, Japanese, Korean, Vietnamese, etc). Prefix with two-character ISO639-1 language code followed by a colon, e.g. for Japanese use: ja:...", | |||
"example": "ja:東京タワー" | |||
}, | |||
"trans-title": { | |||
"label": "translated tweet", | |||
"description": "An English language translation, if the tweet cited is in a foreign language; use of 'language' parameter is recommended" | |||
} | } | ||
}, | }, | ||
"description": "A template for citing tweets posted on Twitter" | "description": "A template for citing tweets posted on Twitter", | ||
"format": null | |||
} | } | ||
</templatedata> | </templatedata> | ||