Template:TweetCitation: Difference between revisions
From Transcendence AU Wiki
imported>StarlightSystem (Created template) |
imported>StarlightSystem (Parameters should be numbered) |
||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
3 = date published, formatted as Date Month Year (e.g. 14 Jan 2015)<br/> | 3 = date published, formatted as Date Month Year (e.g. 14 Jan 2015)<br/> | ||
4 = hyperlink | 4 = hyperlink | ||
</noinclude> | <templatedata> | ||
{ | |||
"params": { | |||
"1": { | |||
"label": "Username", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"2": { | |||
"label": "Full text of tweet", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"3": { | |||
"label": "Date published", | |||
"description": "formatted as Date Month Year (e.g. 14 Jan 2015)", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"4": { | |||
"label": "Hyperlink", | |||
"type": "url", | |||
"required": true | |||
} | |||
}, | |||
"description": "Renders to a citation for a tweet.", | |||
"paramOrder": [ | |||
"1", | |||
"2", | |||
"3", | |||
"4" | |||
] | |||
} | |||
</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 |