More actions
Skycrafter (talk | contribs) test 4 Tag: Reverted |
Skycrafter (talk | contribs) test5 Tag: Reverted |
||
| Line 84: | Line 84: | ||
|- | |- | ||
| colspan="2" class="infobox-image" style="text-align:center; padding:5px;" | | | colspan="2" class="infobox-image" style="text-align:center; padding:5px;" | | ||
<div style="width: 280px; height: 160px; margin: 0 auto; | <div style=" | ||
width: 280px; | |||
height: 160px; | |||
margin: 0 auto; | |||
background-color: #eee; | |||
background-position: center; | |||
background-size: contain; | |||
background-repeat: no-repeat; | |||
background-image: url('{{ShowImage|https://{{#switch:{{lc:{{{site|tmnf}}}}} | |||
| tmuf = tmuf.exchange/trackshow/{{#external_value:id}}/image/1 | | tmuf = tmuf.exchange/trackshow/{{#external_value:id}}/image/1 | ||
| tmnf = tmnf.exchange/trackshow/{{#external_value:id}}/image/1 | | tmnf = tmnf.exchange/trackshow/{{#external_value:id}}/image/1 | ||
| Line 97: | Line 104: | ||
| tm2020 = trackmania.exchange/mapimage/{{#external_value:id}}/1 | | tm2020 = trackmania.exchange/mapimage/{{#external_value:id}}/1 | ||
| #default = tmnf.exchange/trackshow/{{#external_value:id}}/image/1 | | #default = tmnf.exchange/trackshow/{{#external_value:id}}/image/1 | ||
}}}} | }}}}');"> | ||
</div> | </div> | ||
|- | |- | ||
Revision as of 22:29, 31 January 2026
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, tmo, sunrise, tms, nations, tmn, tm2, tm2020 (Default: tmnf)
| title = Track Title (Optional)
| image = Example.jpg (Optional)
| game = TrackMania Game (Optional)
}}