(Create template) |
m (Add docs and TemplateData) |
||
Line 1: | Line 1: | ||
[https://www.twitch.tv/videos/{{{1}}} {{{2|Twitch VOD}}}] | <onlyinclude><includeonly>[https://www.twitch.tv/videos/{{{1}}} {{{2|Twitch VOD}}}]</includeonly></onlyinclude> | ||
Link to a specific video on Twitch. <code><nowiki>{{Twitch VOD|562371263|click here}}</nowiki></code> ⟶ {{Twitch VOD|562371263|click here}} | |||
{{TemplateData preamble}}<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Video ID", | |||
"example": "562371263", | |||
"type": "url", | |||
"required": true | |||
}, | |||
"2": { | |||
"label": "Label text", | |||
"type": "line", | |||
"example": "click here", | |||
"default": "Twitch VOD" | |||
} | |||
}, | |||
"description": "Link to a specific video on Twitch.", | |||
"format": "inline" | |||
} | |||
</templatedata> |
Revision as of 14:42, 30 October 2023
Link to a specific video on Twitch. {{Twitch VOD|562371263|click here}}
⟶ click here
The below documentation is automatically generated from JSON. It can be changed by editing this page, but note that it's only the documentation (for the visual editor)—the actual template part must also be edited, manually.
Link to a specific video on Twitch.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Video ID | 1 | no description
| URL | required |
Label text | 2 | no description
| Line | optional |