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
Undo revision 1366 by Skycrafter (talk)
Tag: Undo
No edit summary
Line 60: Line 60:
   | [[File:{{{image}}}|250px]]
   | [[File:{{{image}}}|250px]]
   | {{#if:{{#external_value:id|}}  
   | {{#if:{{#external_value:id|}}  
       | https://{{#switch:{{lc:{{{site|tmnf}}}}}
       | {{ShowImage|
          | tmuf    = tmuf.exchange
          https://{{#switch:{{lc:{{{site|tmnf}}}}}
          | tmnf    = tmnf.exchange
            | tmuf    = tmuf.exchange
          | original = original.tm-exchange.com
            | tmnf    = tmnf.exchange
          | sunrise  = sunrise.tm-exchange.com
            | original = original.tm-exchange.com
          | nations  = nations.tm-exchange.com
            | sunrise  = sunrise.tm-exchange.com
          | #default = tmnf.exchange
            | nations  = nations.tm-exchange.com
        }}/trackshow/{{#external_value:id}}/image/1
            | #default = tmnf.exchange
          }}/trackshow/{{#external_value:id}}/image/1
        }}
       | [[File:Unknown.png|250px]]
       | [[File:Unknown.png|250px]]
     }}
     }}

Revision as of 20:26, 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
}}
Contents