(First attempt at a game page template) |
m (Add to category) Tag: 2017 source edit |
||
(5 intermediate revisions by 2 users 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}} | ||
<templatedata> | |||
Label defaults to the game ID (e.g. "17G") if omitted. | |||
{{related templates TASVideos}} | |||
{{TemplateData preamble}}<templatedata> | |||
{ | { | ||
"params": { | "params": { | ||
" | "1": { | ||
" | "label": "Game ID", | ||
" | "type": "number", | ||
" | "required": true, | ||
"description": "omit trailing 'G'", | |||
"example": "17" | |||
}, | }, | ||
"Label text": | "2": { | ||
"label": "Label text", | |||
"type": "line", | |||
"example": "click here", | "example": "click here", | ||
"default": "{{{1}}}G (value of Game ID parameter with the 'G' added back)" | |||
"default": " | |||
} | } | ||
}, | }, | ||
"description": " Link to a TASVideos | "description": "Link to a game hub on TASVideos.", | ||
"paramOrder": [ | |||
"1", | |||
"2" | |||
], | |||
"format": "inline" | "format": "inline" | ||
} | } | ||
</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 |