Importer, Bürokraten, Moderatoren (CommentStreams), flow-bot, Oberflächenadministratoren, Push-Abonnementverwalter, Oversighter, Administratoren, Kampagnenbearbeiter (Hochladeassistent)
853
Bearbeitungen
(Undid revision 1093539873 by Kailash29792 (talk). this is not a required parameter. See the documentation and the code) |
K (Xineohp1506 verschob die Seite Vorlage:Cite tweet/doc nach Vorlage:Cite tweet/Doku, ohne dabei eine Weiterleitung anzulegen) |
||
(6 dazwischenliegende Versionen von 4 Benutzern werden nicht angezeigt) | |||
Zeile 4: | Zeile 4: | ||
{{High-use}} | {{High-use}} | ||
{{CS1 wrapper |type= |base=Cite web}} | {{CS1 wrapper |type= |base=Cite web}} | ||
{{Template redirect|Cite twitter}} | |||
{{Lua|Module:Cite tweet}} | {{Lua|Module:Cite tweet}} | ||
Zeile 60: | Zeile 61: | ||
*:: {{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 tweet date depends on {{para|number}} for | * The tweet date depends on {{para|number}} for tweets posted after November 4, 2010; if the optional {{para|date}} parameter is used, and the date is off by more than a day from the calculated date, an error is displayed. | ||
* Templates are checked for {{para|ref|harv}}, which is an error. The {{para|ref}} parameter must use {{tl|harvid}} in the value. | * Templates are checked for {{para|ref|harv}}, which is an error. The {{para|ref}} parameter must use {{tl|harvid}} in the value. | ||
* The template also checks for parameters that are unsupported (e.g. misspellings of parameter names). | * The template also checks for parameters that are unsupported (e.g. misspellings of parameter names). | ||
Zeile 71: | Zeile 72: | ||
"params": { | "params": { | ||
"number": { | "number": { | ||
"label": "number", | "label": "Tweet number", | ||
"description": "Numerical ID of the tweet", | "description": "Numerical ID of the tweet", | ||
"type": "number", | "type": "number", | ||
Zeile 77: | Zeile 78: | ||
}, | }, | ||
"user": { | "user": { | ||
"label": " | "label": "User handle", | ||
"description": "Twitter account name, without the @", | "description": "Twitter account name, without the @", | ||
"type": "string", | "type": "string", | ||
Zeile 83: | Zeile 84: | ||
}, | }, | ||
"title": { | "title": { | ||
"label": " | "label": "Tweet contents", | ||
"description": "Partial or entire content of the tweet, optionally including hashtags (#), at signs (@), and links. Note: double quote marks (\") should be replaced with single quote marks (') because the entire title will display surrounded by double quotes.", | "description": "Partial or entire content of the tweet, optionally including hashtags (#), at signs (@), and links. Note: double quote marks (\") should be replaced with single quote marks (') because the entire title will display surrounded by double quotes.", | ||
"type": "string", | "type": "string", | ||
Zeile 89: | Zeile 90: | ||
}, | }, | ||
"author": { | "author": { | ||
"label": "author", | "label": "Tweet author", | ||
"description": "Author's real name, if known. If not known, then the tweet is probably not an acceptable usage of a self-published source (see [[WP:SPS]])", | "description": "Author's real name, if known. If not known, then the tweet is probably not an acceptable usage of a self-published source (see [[WP:SPS]])", | ||
"suggested": true | "suggested": true, | ||
"type": "string" | |||
}, | }, | ||
"author-link": { | "author-link": { | ||
Zeile 97: | Zeile 99: | ||
"authorlink" | "authorlink" | ||
], | ], | ||
"label": " | "label": "Author's article", | ||
"description": "Title of existing Wikipedia article about the author" | "description": "Title of existing Wikipedia article about the author", | ||
"type": "wiki-page-name" | |||
}, | }, | ||
"retweet": { | "retweet": { | ||
"label": " | "label": "Retweeted by", | ||
"description": "The reliable source who retweeted the tweet, if the original tweeter is not anyone particularly notable. May be wikilinked." | "description": "The reliable source who retweeted the tweet, if the original tweeter is not anyone particularly notable. May be wikilinked." | ||
}, | }, | ||
"date": { | "date": { | ||
"label": " | "label": "Date", | ||
"description": " | "description": "Date of the tweet; do not wikilink; do not include time.", | ||
"type": "date", | |||
"suggested": true | |||
}, | }, | ||
"access-date": { | "access-date": { | ||
Zeile 112: | Zeile 117: | ||
"accessdate" | "accessdate" | ||
], | ], | ||
"label": " | "label": "Access date", | ||
"description": "The full date when the tweet was accessed; do not wikilink" | "description": "The full date when the tweet was accessed; do not wikilink", | ||
"type": "date", | |||
"suggested": true | |||
}, | }, | ||
"language": { | "language": { | ||
"label": " | "label": "Language", | ||
"description": "The language in which the tweet is written, if not in English.", | "description": "The language in which the tweet is written, if not in English.", | ||
"example": "fr", | "example": "fr", | ||
Zeile 122: | Zeile 129: | ||
}, | }, | ||
"location": { | "location": { | ||
"label": "location", | "label": "Tweet location", | ||
"description": "The location from which a tweet was sent.", | "description": "The location from which a tweet was sent.", | ||
"example": "London", | "example": "London", | ||
Zeile 128: | Zeile 135: | ||
}, | }, | ||
"archive-url": { | "archive-url": { | ||
"label": " | "label": "Archive URL", | ||
"aliases": [ | "aliases": [ | ||
"archiveurl" | "archiveurl" | ||
], | ], | ||
"description": "The URL of an archived copy of a web page, if or in case the URL becomes unavailable; requires 'archive-date'", | "description": "The URL of an archived copy of a web page, if or in case the URL becomes unavailable; requires 'archive-date'", | ||
"type": " | "type": "url" | ||
}, | }, | ||
"archive-date": { | "archive-date": { | ||
"label": " | "label": "Archive date", | ||
"aliases": [ | "aliases": [ | ||
"archivedate" | "archivedate" | ||
], | ], | ||
"description": "Date when the original URL was archived; do not wikilink", | "description": "Date when the original URL was archived; do not wikilink", | ||
"type": " | "type": "date" | ||
}, | }, | ||
"url-status": { | "url-status": { | ||
Zeile 149: | Zeile 156: | ||
}, | }, | ||
"script-title": { | "script-title": { | ||
"label": "script | "label": "Tweet script", | ||
"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:...", | "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:東京タワー" | "example": "ja:東京タワー", | ||
"type": "string" | |||
}, | }, | ||
"trans-title": { | "trans-title": { | ||
"label": " | "label": "Translated tweet", | ||
"description": "An English language translation, if the tweet cited is in a foreign language; use of 'language' parameter is recommended" | "description": "An English language translation, if the tweet cited is in a foreign language; use of 'language' parameter is recommended", | ||
"type": "string" | |||
}, | }, | ||
"link": { | "link": { | ||
"label": "Link to Twitter article?", | "label": "Link to Twitter article?", | ||
"description": "Set to \"no\" to not link to the Wikipedia article for Twitter. Useful for preventing overlinking when more than one tweet is cited." | "description": "Set to \"no\" to not link to the Wikipedia article for Twitter. Useful for preventing overlinking when more than one tweet is cited.", | ||
"type": "boolean" | |||
}, | }, | ||
"df": { | "df": { | ||
"label": "Date format", | "label": "Date format", | ||
"description": "Valid values: dmy, dmy-all, mdy, mdy-all, ymd, ymd-all" | "description": "Valid values: dmy, dmy-all, mdy, mdy-all, ymd, ymd-all", | ||
"type": "string" | |||
}, | }, | ||
"ref": { | "ref": { | ||
"label": "Ref", | "label": "Ref anchor", | ||
"description": "An anchor identifier; can be made the target of wikilinks to full references", | "description": "An anchor identifier; can be made the target of wikilinks to full references", | ||
"type": "string" | "type": "string" | ||
Zeile 197: | Zeile 208: | ||
"quote", | "quote", | ||
"ref" | "ref" | ||
] | ], | ||
"format": "inline" | |||
} | } | ||
</templatedata> | </templatedata> | ||
== See also == | == See also == |
Bearbeitungen