The first video in the TASBot Re: (TASBot Revisited) series is out! TASBot Re: Gradius covers our first run from AGDQ 2014.

Historians wanted: Inquire here.

Template:TASVideosG: Difference between revisions

Template page
(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>


<noinclude>
Link to a game hub on TASVideos. <code><nowiki>{{TASVideosG|17|click here}}</nowiki></code> &longrightarrow; {{TASVideosG|17|click here}}
<templatedata>
 
Label defaults to the game ID (e.g. "17G") if omitted.
 
{{related templates TASVideos}}
 
{{TemplateData preamble}}<templatedata>
{
{
"params": {
"params": {
"Game ID": {
"1": {
"description": "Game page ID",
"label": "Game ID",
"example": "17",
"type": "number",
"type": "number"
"required": true,
"description": "omit trailing 'G'",
"example": "17"
},
},
"Label text": {
"2": {
"label": "Label text",
"type": "line",
"example": "click here",
"example": "click here",
"type": "string",
"default": "{{{1}}}G (value of Game ID parameter with the 'G' added back)"
"default": "TASVideos game page"
}
}
},
},
"description": " Link to a TASVideos Game page. {{TASVideosG|17|click here}} ⟶ click here ",
"description": "Link to a game hub on TASVideos.",
"paramOrder": [
"1",
"2"
],
"format": "inline"
"format": "inline"
}
}
</templatedata>
</templatedata>
</noinclude>
 
[[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:


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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Game ID1

omit trailing 'G'

Example
17
Numberrequired
Label text2

no description

Default
{{{1}}}G (value of Game ID parameter with the 'G' added back)
Example
click here
Lineoptional