Difference between revisions of "Template:Cite tweet/doc"
[unchecked revision] | [unchecked revision] |
(add {{TemplateData header}} before <templatedata>) |
Aeverinezinn (talk | contribs) m (30 revisions from wikipedia:Template:Cite tweet/doc) |
||
(7 intermediate revisions by 5 users not shown) | |||
Line 12: | Line 12: | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
| | | | ||
− | : <code><nowiki>{{ | + | : <code><nowiki>{{cite tweet |user= |number= |date= |title= }}</nowiki></code> |
{{end}} | {{end}} | ||
{{csdoc|usage full}} | {{csdoc|usage full}} | ||
− | : <code><nowiki>{{ | + | : <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]]. | ||
Line 32: | Line 32: | ||
*:: {{Cite tweet|title=I'm an incomplete citation!}} | *:: {{Cite tweet|title=I'm an incomplete citation!}} | ||
* The tweet URL depends on {{para|user}} and {{para|number}}; if either or both are missing, the URL defaults to <nowiki>https://twitter.com/</nowiki> | * The tweet URL depends on {{para|user}} and {{para|number}}; if either or both are missing, the URL defaults to <nowiki>https://twitter.com/</nowiki> | ||
+ | * The template also checks for parameters that are unsupported (e.g. misspellings of parameter names). | ||
* Errors are tracked in [[:Category:Cite tweet templates with errors]] | * Errors are tracked in [[:Category:Cite tweet templates with errors]] | ||
Line 90: | Line 91: | ||
"example": "fr", | "example": "fr", | ||
"type": "string" | "type": "string" | ||
+ | }, | ||
+ | "archive-url": { | ||
+ | "label": "archive URL", | ||
+ | "aliases": [ | ||
+ | "archiveurl" | ||
+ | ], | ||
+ | "description": "The URL of an archived copy of a web page, if or in case the URL becomes unavailable; requires 'archive-date'", | ||
+ | "type": "string" | ||
+ | }, | ||
+ | "archive-date": { | ||
+ | "label": "archive date", | ||
+ | "aliases": [ | ||
+ | "archivedate" | ||
+ | ], | ||
+ | "description": "Date when the original URL was archived; do not wikilink", | ||
+ | "type": "string" | ||
+ | }, | ||
+ | "dead-url": { | ||
+ | "label": "dead URL", | ||
+ | "aliases": [ | ||
+ | "deadurl" | ||
+ | ], | ||
+ | "description": "If set to 'no', the title display is adjusted; useful for when the URL is archived preemptively but still live", | ||
+ | "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> | ||
Line 105: | Line 140: | ||
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
[[Category:Citation Style 1 meta-templates|T]] | [[Category:Citation Style 1 meta-templates|T]] | ||
+ | [[Category:Wikipedia:Twitter]] | ||
}}</includeonly> | }}</includeonly> |
Latest revision as of 06:37, 14 June 2016
This is a documentation subpage for Template:Cite tweet. It contains usage information, categories and other content that is not part of the original template page. |
Tweets are largely not acceptable as sources. Tweets and other self-published material may sometimes be acceptable, if the conditions specified at WP:SPS or WP:TWITTER are met. For further information, see the Wikipedia:Verifiability policy and the Wikipedia:Identifying reliable sources guideline. |
A template for citing tweets posted on Twitter.
Usage[edit]
Template:Citation Style documentation/usage
Template:End Template:Citation Style documentation/usage full
Template:End
Note: When known, the author's real name should be specified in the Examples[edit]
Error detection[edit]
Parameters[edit]This is the TemplateData documentation for this template used by VisualEditor and other tools.
TemplateData for Cite tweet A template for citing tweets posted on Twitter
Redirects[edit]
See also[edit]
|