Difference between revisions of "Template:Tmx"

From Mania Tech Wiki
Jump to: navigation, search
m (make link visible)
 
Line 1: Line 1:
<includeonly>[http://{{#switch: {{{1|}}} |f=tmnforever|u=united|n=nations|s=sunrise|o=original|www}}.tm-exchange.com{{#if: {{{2|}}} |/main.aspx?action=trackshow&id={{{2}}} {{{3}}}|/ TMX{{#switch: {{{1|}}} |f=&nbsp;TMNForever|u=&nbsp;United|n=&nbsp;Nations|s=&nbsp;Sunrise|o=&nbsp;Original|}}}}]</includeonly><noinclude>
+
[http://{{#switch: {{{1|}}} |f=tmnforever|u=united|n=nations|s=sunrise|o=original|www}}.tm-exchange.com{{#if: {{{2|}}} |/main.aspx?action=trackshow&id={{{2}}} {{{3}}}|/ TMX{{#switch: {{{1|}}} |f=&nbsp;TMNForever|u=&nbsp;United|n=&nbsp;Nations|s=&nbsp;Sunrise|o=&nbsp;Original|}}}}]<noinclude>
 
== Purpose ==
 
== Purpose ==
Create a link to a track or section at the [http://www.tm-exchange.com/ TrackMania Exchange].
+
Create a link to a track or section at [http://www.tm-exchange.com/ TrackMania Exchange].
  
 
<u>Usage</u>
 
<u>Usage</u>

Latest revision as of 14:21, 6 June 2017

TMX

Purpose

Create a link to a track or section at TrackMania Exchange.

Usage

{{tmx|section|trackID|trackName}}
{{tmx|section}}
{{tmx}}

where section is the TMX section from:

  • f: TMNForever
  • u: United
  • n: Nations
  • s: Sunrise
  • o: Original

The track ID is a number unique to each track and trackName is the title you want to give to the link. For example, in this URL:

https://united.tm-exchange.com/main.aspx?action=trackshow&id=38427#auto

the track ID is 38427.

  • If no trackID and trackName are given, the template uses a generic "TMX <Section>" title; if no section is given, it uses "TMX" as title.