(Make consistent with other TASVideos template pages) |
m (Add to category) Tag: 2017 source edit |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude><includeonly>{{TASVideos|/{{{1}}}G|{{{2|{{{1}}}G}}}}}</includeonly></onlyinclude> | |||
Link to a game hub on TASVideos. <code><nowiki>{{TASVideosG|17|click here}}</nowiki></code> ⟶ {{TASVideosG|17|click here}} | |||
Link to a | |||
Label defaults to the game | Label defaults to the game ID (e.g. "17G") if omitted. | ||
{{related templates TASVideos}} | {{related templates TASVideos}} | ||
Line 15: | Line 14: | ||
"type": "number", | "type": "number", | ||
"required": true, | "required": true, | ||
"description": " | "description": "omit trailing 'G'", | ||
"example": " | "example": "17" | ||
}, | }, | ||
"2": { | "2": { | ||
Line 22: | Line 21: | ||
"type": "line", | "type": "line", | ||
"example": "click here", | "example": "click here", | ||
"default": " | "default": "{{{1}}}G (value of Game ID parameter with the 'G' added back)" | ||
} | } | ||
}, | }, | ||
"description": "Link to a TASVideos | "description": "Link to a game hub on TASVideos.", | ||
"paramOrder": [ | "paramOrder": [ | ||
"1", | "1", | ||
Line 33: | Line 32: | ||
} | } | ||
</templatedata> | </templatedata> | ||
[[Category:General-use_inline_templates]] |
Latest revision as of 07:00, 4 November 2023
Link to a game hub on TASVideos. {{TASVideosG|17|click here}}
⟶ click here
Label defaults to the game ID (e.g. "17G") 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 game hub on TASVideos.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Game ID | 1 | omit trailing 'G'
| Number | required |
Label text | 2 | no description
| Line | optional |