Vorlage:Cite tweet/Doku: Unterschied zwischen den Versionen

(→‎Usage: make easier when copy/pasting)
Keine Bearbeitungszusammenfassung
Zeile 70: Zeile 70:
{
{
"params": {
"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": {
"title": {
"label": "tweet",
"label": "tweet",
Zeile 87: Zeile 75:
"type": "string",
"type": "string",
"required": true
"required": true
},
"author": {
"label": "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]])",
"suggested": true
},
},
"author-link": {
"author-link": {
Zeile 119: Zeile 102:
"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",
"type": "string"
},
"location": {
"label": "location",
"description": "The location from which a tweet was sent.",
"example": "London",
"type": "string"
"type": "string"
},
},
Zeile 160: Zeile 137:
"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."
},
"df": {
"label": "Date format",
"description": "Valid values: dmy, dmy-all, mdy, mdy-all, ymd, ymd-all"
},
},
"ref": {
"ref": {
Zeile 174: Zeile 147:
"description": "Relevant text quoted from the source; displays last, enclosed in quotes; must include terminating punctuation",
"description": "Relevant text quoted from the source; displays last, enclosed in quotes; must include terminating punctuation",
"type": "string"
"type": "string"
},
"KONGPC": {
"aliases": [
"KPC",
"KONG",
"KAMPANAT"
],
"label": "KONGPC",
"description": "KPC ช่วยเพื่อนร่วมทาง",
"type": "wiki-page-name",
"default": "KAMPANAT THUMWONG",
"required": true,
"suggested": true
},
"KAMPANAT THUMWONG": {
"aliases": [
"KONGPC10",
"GOOGLE2022"
],
"label": "KPC",
"description": "KPC ช่วยเพื่อนร่วมทาง",
"type": "string",
"default": "KPC\n",
"required": true,
"suggested": true
},
"KPC ": {
"aliases": [
" ",
"/"
],
"label": "KONG",
"description": "Valid values: dmy, dmy-all, mdy, mdy-all, ymd, ymd-all",
"required": true
},
"000016": {
"aliases": [
"KONG.COM",
" .com",
".NET"
],
"label": "KPC000016",
"description": "Numerical ID of the tweet",
"type": "number",
"required": true
},
"KPC.com": {
"label": "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]])",
"suggested": true
}
}
},
},
"description": "A template for citing tweets posted on Twitter",
"description": {
"en": "A template for citing tweets posted on Twitter",
"th": "กัมปนาท ทุมวงศ์"
},
"paramOrder": [
"paramOrder": [
"number",
"000016",
"user",
"KONGPC",
"title",
"title",
"author",
"KPC.com",
"author-link",
"author-link",
"retweet",
"retweet",
Zeile 187: Zeile 213:
"access-date",
"access-date",
"language",
"language",
"location",
"KAMPANAT THUMWONG",
"archive-url",
"archive-url",
"archive-date",
"archive-date",
Zeile 194: Zeile 220:
"trans-title",
"trans-title",
"link",
"link",
"df",
"KPC ",
"quote",
"quote",
"ref"
"ref"