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:TASVideos: Difference between revisions

Template page
m (Add TemplateData)
m (Support leading '/')
Line 1: Line 1:
<onlyinclude><includeonly>[https://tasvideos.org/{{{1}}} {{{2|TASVideos}}}]</includeonly></onlyinclude>
<onlyinclude><includeonly>[https://tasvideos.org{{#ifeq:{{#sub:{{{1}}}|0|1}}|/||/}}{{{1}}} {{{2|TASVideos}}}]</includeonly></onlyinclude>


Link to TASVideos.org. <code><nowiki>{{TASVideos|EmulatorResources|click here}}</nowiki></code> &longrightarrow; {{TASVideos|EmulatorResources|click here}}
Link to TASVideos.org. <code><nowiki>{{TASVideos|/EmulatorResources|click here}}</nowiki></code> &longrightarrow; {{TASVideos|/EmulatorResources|click here}}


Label defaults to "TASVideos" if omitted. Don't forget to use explicit <code>1=</code> and <code>2=</code> if the path contains an '='. The first argument isn't escaped automatically, as that wouldn't preserve '/'; you can use the [[mw:Help:Magic_words#urlencode|<code>{{<nowiki/>urlencode}}</code> magic word]] if necessary.
Label defaults to "TASVideos" if omitted. Don't forget to use explicit <code>1=</code> and <code>2=</code> if the path contains an '='. The first argument isn't escaped automatically, as that wouldn't preserve '/'; you can use the [[mw:Help:Magic_words#urlencode|<code>{{<nowiki/>urlencode}}</code> magic word]] if necessary.
Line 14: Line 14:
"type": "url",
"type": "url",
"required": true,
"required": true,
"description": "omit protocol+domain and the leading '/' of the path",
"description": "omit protocol+domain",
"example": "EmulatorResources"
"example": "EmulatorResources"
},
},

Revision as of 14:03, 30 October 2023


Link to TASVideos.org. {{TASVideos|/EmulatorResources|click here}}click here

Label defaults to "TASVideos" if omitted. Don't forget to use explicit 1= and 2= if the path contains an '='. The first argument isn't escaped automatically, as that wouldn't preserve '/'; you can use the {{urlencode}} magic word if necessary.

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 TASVideos.org.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
URI1

omit protocol+domain

Example
EmulatorResources
URLrequired
Label text2

no description

Default
TASVideos
Example
click here
Lineoptional