Vorlage:Cite tweet/Doku: Unterschied zwischen den Versionen

K
Sentence case in templatedata
(Undid revision 1093539873 by Kailash29792 (talk). this is not a required parameter. See the documentation and the code)
K (Sentence case in templatedata)
Zeile 71: Zeile 71:
"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 77:
},
},
"user": {
"user": {
"label": "username",
"label": "User handle",
"description": "Twitter account name, without the @",
"description": "Twitter account name, without the @",
"type": "string",
"type": "string",
Zeile 83: Zeile 83:
},
},
"title": {
"title": {
"label": "tweet",
"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 89:
},
},
"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 98:
"authorlink"
"authorlink"
],
],
"label": "author's article",
"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": "retweeted by",
"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": "date",
"label": "Date",
"description": "date of the tweet; do not wikilink; do not include time."
"description": "Date of the tweet; do not wikilink; do not include time.",
"type": "date",
"suggested": true
},
},
"access-date": {
"access-date": {
Zeile 112: Zeile 116:
"accessdate"
"accessdate"
],
],
"label": "access date",
"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": "language",
"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 128:
},
},
"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 134:
},
},
"archive-url": {
"archive-url": {
"label": "archive URL",
"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": "string"
"type": "url"
},
},
"archive-date": {
"archive-date": {
"label": "archive date",
"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": "string"
"type": "date"
},
},
"url-status": {
"url-status": {
Zeile 149: Zeile 155:
},
},
"script-title": {
"script-title": {
"label": "script tweet",
"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": "translated tweet",
"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 207:
"quote",
"quote",
"ref"
"ref"
]
],
"format": "inline"
}
}
</templatedata>
</templatedata>
Anonymer Benutzer