m (Found another missing space) Tag: 2017 source edit |
TheMas3212 (talk | contribs) m (attempt to unbrake template) Tags: Reverted 2017 source edit |
||
Line 225: | Line 225: | ||
}} | }} | ||
|#default={{t|format run data}}: <span style="color: red;">No such run "{{{2|}}}"</span>}}</includeonly></onlyinclude> | |#default={{t|format run data}}: <span style="color: red;">No such run "{{{2|}}}"</span>}}}</includeonly></onlyinclude> | ||
Calls another template of your choosing with the data about the specified run as template arguments. | Calls another template of your choosing with the data about the specified run as template arguments. |
Revision as of 01:37, 19 January 2024
Calls another template of your choosing with the data about the specified run as template arguments.
The first parameter to this template is the name of the template to call, and the second is the ID of the run to look up.
For example, {{format run data|showcase|SML2 Memory Tour}}
produces:
|NESBot Wizards and Warriors=
Wizards & Warriors III: Kuros: Visions of Power any% | |
---|---|
Game(s) | Wizards & Warriors III: Kuros: Visions of Power |
Platform(s) | [https://tasvideos.org/Platforms#NintendoEntertainmentSystemFamicom NES] |
Author(s) | Ferret_Warlord, Dacicus |
Lead(s) | |
Presenter(s) | DarkKobold |
Video(s) | Speedgame Main Marathon History (YouTube) |
|SMB1 and 2U and 2J and 3=
Super Mario Bros. 1, 2, LL, 3 One Controller Four Games | |
---|---|
Game(s) | Super Mario Bros. 1, 2, LL, 3 |
Platform(s) | [https://tasvideos.org/Platforms#NintendoEntertainmentSystemFamicom NES] |
Author(s) | agwawaf |
Lead(s) | micro500, dwangoAC |
Presenter(s) | dwangoAC, MeGotsThis, ogNdrahciR |
Video(s) | TASVideos (YouTube), GDQ (YouTube) |
|SMB3 Any=
Super Mario Bros. 3 Any% | |
---|---|
Game(s) | Super Mario Bros. 3 |
Platform(s) | [https://tasvideos.org/Platforms#NintendoEntertainmentSystemFamicom NES] |
Author(s) | Masterjun, ais523, Lord_Tom, Tompa, Total |
Lead(s) | dwangoAC |
Presenter(s) | dwangoAC, MeGotsThis, ogNdrahciR, mitchflowerpower |
Video(s) | TASVideos (YouTube), GDQ (YouTube) |
|SMB3 Hot Pocket=
Super Mario Bros. 3 Hot Pocket% | |
---|---|
Game(s) | Super Mario Bros. 3 |
Platform(s) | [https://tasvideos.org/Platforms#NintendoEntertainmentSystemFamicom NES] |
Author(s) | mitchflowerpower |
Lead(s) | {dwangoAC |
Presenter(s) | dwangoAC, MeGotsThis, ogNdrahciR, mitchflowerpower |
Video(s) | TASVideos (YouTube), GDQ (YouTube) |
|SMB3 Final Kaizo=
Super Mario Bros. 3 Final Kaizo% | |
---|---|
Game(s) | Super Mario Bros. 3 |
Platform(s) | [https://tasvideos.org/Platforms#NintendoEntertainmentSystemFamicom NES] |
Author(s) | mitchflowerpower |
Lead(s) | {dwangoAC |
Presenter(s) | dwangoAC, MeGotsThis, ogNdrahciR, mitchflowerpower |
Video(s) | TASVideos (YouTube), GDQ (YouTube) |
|SML2 Memory Tour=
Super Mario Land 2 Memory Tour Showcase | |
---|---|
Game(s) | Super Mario Land 2 |
Platform(s) | [https://tasvideos.org/Platforms#GameBoy Game Boy] |
Author(s) | link_7777 |
Lead(s) | dwangoAC |
Presenter(s) | dwangoAC, link_7777 |
Video(s) | TASVideos (YouTube), GDQ (YouTube) |
|SSBB=
Super Smash Bros. Brawl any%, 1 player | |
---|---|
Game(s) | Super Smash Bros. Brawl |
Platform(s) | [https://tasvideos.org/Platforms#Wii Wii] |
Author(s) | DyllonStej |
Lead(s) | dwangoAC, Dom |
Presenter(s) | dwangoAC, DK Adventure |
Video(s) |
|Super Metroid Encode=
Super Metroid any% | |
---|---|
Game(s) | Super Metroid |
Platform(s) | [https://tasvideos.org/Platforms#SuperNintendoEntertainmentSystemSuperFamicom SNES] |
Author(s) | Sniq |
Lead(s) | |
Presenter(s) | dwangoAC, DarkXoa, Stump |
Video(s) | GDQ (YouTube) |
|VVVVVV 20 Trinkets=
VVVVVV 20 Trinkets, No Death | |
---|---|
Game(s) | VVVVVV |
Platform(s) | [https://tasvideos.org/Platforms#Windows Windows] |
Author(s) | Masterjun, Mundungu |
Lead(s) | dwangoAC |
Presenter(s) | dwangoAC, Mundungu |
Video(s) | TASVideos (YouTube), GDQ (YouTube) |
|VVVVVV Game End Glitch=
VVVVVV Game End Glitch | |
---|---|
Game(s) | VVVVVV |
Platform(s) | [https://tasvideos.org/Platforms#Windows Windows] |
Author(s) | Masterjun, Mundungu |
Lead(s) | dwangoAC |
Presenter(s) | dwangoAC, Mundungu |
Video(s) | TASVideos (YouTube), GDQ (YouTube) |
|#default={{format run data}}: No such run "SML2 Memory Tour"}}} ...equivalent to this call:
{{showcase |anchor=SML2 Memory Tour |author={{TASVideosU|link_7777}} |game-name=Super Mario Land 2 |lead=[[dwangoAC]] |platform={{TASVideos|/Platforms#GameBoy|Game Boy}} |presenter=dwangoAC, link_7777 |recording={{YouTube video|1GF_LFPz34U|TASVideos (YouTube)}}, {{YouTube video|1=EHfw-BEuRO8?time_continue=429|2=GDQ (YouTube)}} |run-branch=Memory Tour Showcase |tasvideos-game=452 |tasvideos-movie-template=TASVideosUF |tasvideos-movie-value=31714711949576163 }}
This page holds only the data; the specified template (can be in any namespace) must provide the "implementation".
Passing e.g. :Page/subpage
as the first argument will transclude a main namespace article, as per usual.
You can also omit it e.g. {{format run data|2=SML2 Memory Tour}}
and it will default to calling {{showcase}}.
(Omitting the second argument will produce an error, exactly as if you had passed a nonexistent ID.)
The "callback" template can make use of the following parameters:
anchor
: (always present) The same ID passed to this template for the lookup. The intention is to use the same ID as a section anchor, as {{showcase}} does.appearance
: (always present) The name of the relevant event appearance page, or the name of a redirect to it.author
: (always present) A rich text list of the run/playaround's authors.game-name
: (always present) The full name of the game, as plain text.game-pub-year
: (always present) The year the game was published, as plain text.lead
: (always present) A rich text list of the people who oversaw the presentation at the event.platform
: (always present) The system/platform the game is for, currently as rich text.presenter
: (always present) A rich text list of the people who presented at the event.recording
: (always present) A rich text list of links to videos.run-branch
: (always present) The 'branch' or 'goal' of the run, e.g.100%
,credits warp
,playaround
.tasvideos-game
: (always present) The game's ID on TASVideos (without the 'G' suffix).tasvideos-movie-template
: (always present) The name of one of the {{TASVideos}} family of templates, e.g.TASVideosM
.tasvideos-movie-value
: (always present) Depending on the value oftasvideos-movie-template
:- when it's {{TASVideosM}}, this is the run's publication ID on TASVideos (without the 'M' suffix);
- when it's {{TASVideos}}, this is the relative URI of some page on TASVideos that pertains to this run (i.e. without the
https://tasvideos.org
prefix); - in any case it should be passed on to the template specified by
tasvideos-movie-template
without processing.
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.
Calls another template of your choosing with the data about the specified run as template arguments.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Callback Template Name | 1 | name of template or article to be transcluded with data as arguments
| Page name | suggested |
Run 'Lookup' ID | 2 | the string that uniquely identifies a particular presentation of a run/playaround | String | required |