951 bytes added
, 14:20, 6 June 2017
[https://{{#switch: {{{1|}}} |t=tm|s=sm|www}}.mania-exchange.com{{#if: {{{2|}}} |/s/tr/{{{2}}} {{{3}}}|/ MX{{#switch: {{{1|}}} |t= TM2|s= SM|}}}}]<noinclude>
== Purpose ==
Create a link to a track or section at [http://www.mania-exchange.com/ Mania Exchange].
<u>Usage</u>
: '''{{c|<nowiki>{{mx|section|mapID|mapName}}</nowiki>}}'''
: '''{{c|<nowiki>{{mx|section}}</nowiki>}}'''
: '''{{c|<nowiki>{{mx}}</nowiki>}}'''
where ''section'' is the MX section from:
* '''{{c|t}}''': TM2 (TrackMania 2)
* '''{{c|s}}''': SM (ShootMania)
The map ID is a number unique to each map and mapName is the title you want to give to the link. For example, in this URL:
: {{c|<nowiki>https://tm.mania-exchange.com/tracks/99234/tmu-stadiume</nowiki>}}
the map ID is 99234.
* If no mapID and mapName are given, the template uses a generic "MX <Section>" title; if no section is given, it uses "MX" as title.
[[Category:External link templates]]
</noinclude>