Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox track: Difference between revisions

Template page
No edit summary
Zai (talk | contribs)
m remove crop
Line 83: Line 83:
       | Unknown }} }}
       | Unknown }} }}
|-
|-
| colspan="2" class="infobox-image" style="text-align:center; padding:5px;" | <div style="width: 280px; height: 160px; margin: 0 auto; overflow: hidden; display: flex; align-items: center; justify-content: center;">
| colspan="2" class="infobox-image" style="text-align:center; padding:5px;" |  
<div style="width: 100%;">
{{ShowImage|https://{{#switch:{{lc:{{{site|tmnf}}}}}
{{ShowImage|https://{{#switch:{{lc:{{{site|tmnf}}}}}
         | tmuf    = tmuf.exchange/trackshow/{{#external_value:id}}/image/1
         | tmuf    = tmuf.exchange/trackshow/{{#external_value:id}}/image/1
Line 97: Line 96:
         | 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>
|-
|-
! Game || {{{game|{{#switch: {{lc:{{{site|}}}}}
! Game || {{{game|{{#switch: {{lc:{{{site|}}}}}

Revision as of 21:35, 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)
}}
Contents