(Create template) |
m (Add to category) Tag: 2017 source edit |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude><includeonly>{{TASVideos|{{{1}}}M|{{{2|{{{1}}}M}}}}}</includeonly></onlyinclude> | <onlyinclude><includeonly>{{TASVideos|/{{{1}}}M|{{{2|{{{1}}}M}}}}}</includeonly></onlyinclude> | ||
Label defaults to the movie | Link to a published movie on TASVideos. <code><nowiki>{{TASVideosM|668|click here}}</nowiki></code> ⟶ {{TASVideosM|668|click here}} | ||
Label defaults to the movie ID (e.g. "668M") if omitted. | |||
{{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> | |||
[[Category:General-use_inline_templates]] |
Latest revision as of 07:00, 4 November 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.
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 |