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": {
"Username": {
"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
"description": "formatted as Date Month Year (e.g. 14 Jan 2015)"
},
},
"Hyperlink": {
"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": [
"Username",
"1",
"Full text of tweet",
"2",
"Date published",
"3",
"Hyperlink"
"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.

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
Username1

no description

Stringrequired
Full text of tweet2

no description

Stringrequired
Date published3

formatted as Date Month Year (e.g. 14 Jan 2015)

Stringrequired
Hyperlink4

no description

URLrequired