Template:TweetCitation: Difference between revisions

From Transcendence AU Wiki
imported>StarlightSystem
(Created template)
 
imported>StarlightSystem
(Added TemplateData for TweetCitation)
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": {
"Username": {
"type": "string",
"required": true
},
"Full text of tweet": {
"type": "string",
"required": true
},
"Date published": {
"type": "string",
"required": true,
"description": "formatted as Date Month Year (e.g. 14 Jan 2015)"
},
"Hyperlink": {
"type": "url",
"required": true
}
},
"description": "Renders to a citation for a tweet.",
"paramOrder": [
"Username",
"Full text of tweet",
"Date published",
"Hyperlink"
]
}
</templatedata></noinclude>

Revision as of 18:27, 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
UsernameUsername

no description

Stringrequired
Full text of tweetFull text of tweet

no description

Stringrequired
Date publishedDate published

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

Stringrequired
HyperlinkHyperlink

no description

URLrequired