m (Use a nicer-looking arrow) |
m (Add TemplateData) |
||
Line 1: | Line 1: | ||
<onlyinclude><includeonly>{{TASVideos|{{{1}}}M|{{{2|{{{1}}}M}}}}}</includeonly></onlyinclude> | <onlyinclude><includeonly>{{TASVideos|{{{1}}}M|{{{2|{{{1}}}M}}}}}</includeonly></onlyinclude> | ||
Link to a published movie on TASVideos. <code><nowiki>{{TASVideosM|668|click here}}</nowiki></code> ⟶ {{TASVideosM|668|click here}} | Link to a published movie on TASVideos. <code><nowiki>{{TASVideosM|668|click here}}</nowiki></code> ⟶ {{TASVideosM|668|click here}} | ||
Line 6: | Line 7: | ||
{{related templates TASVideos}} | {{related templates TASVideos}} | ||
{{TemplateData preamble}}<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Publication ID", | |||
"type": "number", | |||
"required": true, | |||
"description": "omit trailing 'M'", | |||
"example": "668" | |||
}, | |||
"2": { | |||
"label": "Label text", | |||
"type": "line", | |||
"example": "click here", | |||
"default": "{{{1}}}M (value of Publication ID parameter with the 'M' added back)" | |||
} | |||
}, | |||
"description": "Link to a published movie on TASVideos.", | |||
"paramOrder": [ | |||
"1", | |||
"2" | |||
], | |||
"format": "inline" | |||
} | |||
</templatedata> |
Revision as of 23:42, 29 October 2023
Link to a published movie on TASVideos. {{TASVideosM|668|click here}}
⟶ click here
Label defaults to the movie id (e.g. "668M") if omitted.
This takes the same number of characters as {{TASVideos|668M}}
, but please avoid that in order to keep the S/N ratio of its transclusion list high.
All templates for linking to TASVideos.org:
- {{TASVideos}}
- {{TASVideosFP}}—forum post
- {{TASVideosFT}}—forum topic (thread)
- {{TASVideosG}}—game hub
- {{TASVideosM}}—publication (movie)
- {{TASVideosPF}}—platform
- {{TASVideosU}}—user
- {{TASVideosUF}}—userfile
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 published movie on TASVideos.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Publication ID | 1 | omit trailing 'M'
| Number | required |
Label text | 2 | no description
| Line | optional |