More actions
Skycrafter (talk | contribs) No edit summary |
Skycrafter (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
{{#if:{{{trackId|}}} | {{#if:{{{trackId|}}} | ||
| {{#get_web_data: | | {{#get_web_data: | ||
| url = https://tmnf.exchange/api/replays?trackId= | | url = https://tmnf.exchange/api/replays?trackId=2233&count=1&fields=ReplayId%2CUser.UserId%2CUser.Name%2CReplayTime&best=1 | ||
| data = wr_time = $.Results[0].ReplayTime, wr_player = $.Results[0].User.Name | | data = wr_time = $.Results[0].ReplayTime, wr_player = $.Results[0].User.Name | ||
| format = json with jsonpath | | format = json with jsonpath |
Revision as of 12:31, 14 August 2025
Usage
This is the infobox template for video games. To use it, copy and paste the following code into an article:
{{Infobox video game | title = Track Title | image = Example.jpg | game = TrackMania Game | author = Track Author | worldrecord = XX.YY by Player | authormedal = Author Medal | goldmedal = Gold Medal | silvermedal = Silver Medal | bronzemedal = Bronze Medal | release_date = YYYY-MM-DD | link = TrackMania Exchange link }}