Template:TweetCitation: Difference between revisions
From Transcendence AU Wiki
imported>StarlightSystem (Added TemplateData for TweetCitation) |
imported>StarlightSystem (Parameters should be numbered) |
||
Line 7: | Line 7: | ||
{ | { | ||
"params": { | "params": { | ||
" | "1": { | ||
"label": "Username", | |||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | }, | ||
"Full text of tweet" | "2": { | ||
"label": "Full text of tweet", | |||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | }, | ||
"Date published": | "3": { | ||
"label": "Date published", | |||
"description": "formatted as Date Month Year (e.g. 14 Jan 2015)", | |||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | }, | ||
" | "4": { | ||
"label": "Hyperlink", | |||
"type": "url", | "type": "url", | ||
"required": true | "required": true | ||
Line 27: | Line 31: | ||
"description": "Renders to a citation for a tweet.", | "description": "Renders to a citation for a tweet.", | ||
"paramOrder": [ | "paramOrder": [ | ||
" | "1", | ||
" | "2", | ||
" | "3", | ||
" | "4" | ||
] | ] | ||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> |
Latest revision as of 18:34, 30 July 2023
1 = username
2 = full text of tweet
3 = date published, formatted as Date Month Year (e.g. 14 Jan 2015)
4 = hyperlink
Renders to a citation for a tweet.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Username | 1 | no description | String | required |
Full text of tweet | 2 | no description | String | required |
Date published | 3 | formatted as Date Month Year (e.g. 14 Jan 2015) | String | required |
Hyperlink | 4 | no description | URL | required |