More actions
Skycrafter (talk | contribs) No edit summary |
Skycrafter (talk | contribs) fixed image display Tag: Reverted |
||
Line 60: | Line 60: | ||
| [[File:{{{image}}}|250px]] | | [[File:{{{image}}}|250px]] | ||
| {{#if:{{#external_value:id|}} | | {{#if:{{#external_value:id|}} | ||
| https://{{#switch:{{lc:{{{site|tmnf}}}}} | | <img src="https://{{#switch:{{lc:{{{site|tmnf}}}}} | ||
| tmuf = tmuf.exchange | | tmuf = tmuf.exchange | ||
| tmnf = tmnf.exchange | | tmnf = tmnf.exchange | ||
Line 67: | Line 67: | ||
| nations = nations.tm-exchange.com | | nations = nations.tm-exchange.com | ||
| #default = tmnf.exchange | | #default = tmnf.exchange | ||
}}/trackshow/{{#external_value:id}}/image/1 | }}/trackshow/{{#external_value:id}}/image/1" width="250" alt="Track screenshot for {{#external_value:name}}" /> | ||
| [[File:Unknown.png|250px]] | | [[File:Unknown.png|250px]] | ||
}} | }} |
Revision as of 19:16, 14 August 2025
Usage
This is the infobox template for tracks. To use it, copy and paste the following code into an article (trackId is required, site is tmnf by default):
{{Infobox track | trackId = 123456 | site = tmuf, tmnf, original, sunrise, nations | 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 | lastupdated = YYYY-MM-DD | activity = YYYY-MM-DD | awardscomments= XXX / YYY | link = TrackMania Exchange link }}