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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Username | Username | no description | String | required |
Full text of tweet | Full text of tweet | no description | String | required |
Date published | Date published | formatted as Date Month Year (e.g. 14 Jan 2015) | String | required |
Hyperlink | Hyperlink | no description | URL | required |