1,179 bytes added
, 13:57, 6 June 2017
<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= TMNForever|u= United|n= Nations|s= Sunrise|o= Original|}}]</includeonly><noinclude>
== Purpose ==
Create a link to a track or section at the [http://www.tm-exchange.com/ TrackMania Exchange].
<u>Usage</u>
: '''{{c|<nowiki>{{tmx|section|trackID|trackName}}</nowiki>}}'''
: '''{{c|<nowiki>{{tmx|section}}</nowiki>}}'''
: '''{{c|<nowiki>{{tmx}}</nowiki>}}'''
where ''section'' is the TMX section from:
* '''{{c|f}}''': TMNForever
* '''{{c|u}}''': United
* '''{{c|n}}''': Nations
* '''{{c|s}}''': Sunrise
* '''{{c|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:
: {{c|<nowiki>https://united.tm-exchange.com/main.aspx?action=trackshow&id=38427#auto</nowiki>}}
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.
[[Category:External link templates]]
</noinclude>