Difference between revisions of "Template:Tmx"

From Mania Tech Wiki
Jump to: navigation, search
(Created page with "<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}}} {{{...")
 
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= TMNForever|u= United|n= Nations|s= Sunrise|o= Original|}}]</includeonly><noinclude>
+
<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>
 
== 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 the [http://www.tm-exchange.com/ TrackMania Exchange].

Revision as of 14:02, 6 June 2017

Purpose

Create a link to a track or section at the 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.