m (Use a nicer-looking arrow) |
m (Add TemplateData) |
||
Line 1: | Line 1: | ||
<onlyinclude><includeonly>{{TASVideos|Users/Profile/{{urlencode:{{{1}}}|PATH}}|{{{2|{{{1}}}}}}}}</includeonly></onlyinclude> | <onlyinclude><includeonly>{{TASVideos|Users/Profile/{{urlencode:{{{1}}}|PATH}}|{{{2|{{{1}}}}}}}}</includeonly></onlyinclude> | ||
Link to someone's TASVideos user profile. <code><nowiki>{{TASVideosU|dwangoAC|click here}}</nowiki></code> ⟶ {{TASVideosU|dwangoAC|click here}} | Link to someone's TASVideos user profile. <code><nowiki>{{TASVideosU|dwangoAC|click here}}</nowiki></code> ⟶ {{TASVideosU|dwangoAC|click here}} | ||
Line 5: | Line 6: | ||
{{related templates TASVideos}} | {{related templates TASVideos}} | ||
{{TemplateData preamble}}<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Username", | |||
"type": "string", | |||
"required": true, | |||
"example": "dwangoAC" | |||
}, | |||
"2": { | |||
"label": "Label text", | |||
"type": "line", | |||
"example": "click here", | |||
"default": "{{{1}}} (value of Username parameter)" | |||
} | |||
}, | |||
"description": "Link to someone's TASVideos user profile.", | |||
"paramOrder": [ | |||
"1", | |||
"2" | |||
], | |||
"format": "inline" | |||
} | |||
</templatedata> |
Revision as of 23:33, 29 October 2023
Link to someone's TASVideos user profile. {{TASVideosU|dwangoAC|click here}}
⟶ click here
Label defaults to the username 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 someone's TASVideos user profile.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Username | 1 | no description
| String | required |
Label text | 2 | no description
| Line | optional |