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
make image not super big
add mood and remove activity (no one cares about that)
Line 299: Line 299:
       | N/A
       | N/A
     }} }}
     }} }}
|-
! Mood || {{#if: {{#external_value:mood|}}
  | {{#switch: {{#external_value:mood}}
      | 0 = Sunrise
      | 1 = Day
      | 2 = Sunset
      | 3 = Night
      | #default = {{#external_value:mood}}
    }}
  | Unknown
}}
|-
|-
! Uploaded || {{#if:{{{release_date|}}}
! Uploaded || {{#if:{{{release_date|}}}
Line 311: Line 322:
   | {{#if:{{#external_value:updated_at|}}  
   | {{#if:{{#external_value:updated_at|}}  
       | {{#time:Y-m-d G:i:s e|{{#external_value:updated_at}}}}
       | {{#time:Y-m-d G:i:s e|{{#external_value:updated_at}}}}
      | N/A
    }} }}
|-
! Activity || {{#if:{{{activity|}}}
  | {{{activity}}}
  | {{#if:{{#external_value:activity_at|}}
      | {{#time:Y-m-d G:i:s e|{{#external_value:activity_at}}}}
       | N/A
       | N/A
     }} }}
     }} }}

Revision as of 16: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)
}}
Contents