More actions
Skycrafter (talk | contribs) No edit summary |
Added dynamic categorization |
||
(4 intermediate revisions by one other user not shown) | |||
Line 57: | Line 57: | ||
| Unknown }} }} | | Unknown }} }} | ||
|- | |- | ||
| colspan="2" class="infobox-image" | | colspan="2" class="infobox-image" | {{ShowImage|https://{{#switch:{{lc:{{{site|tmnf}}}}} | ||
| tmuf = tmuf.exchange | |||
| tmnf = tmnf.exchange | |||
| original = original.tm-exchange.com | |||
| sunrise = sunrise.tm-exchange.com | |||
| nations = nations.tm-exchange.com | |||
| #default = tmnf.exchange | |||
}}/trackshow/{{#external_value:id}}/image/1}} | |||
}} | |||
|- | |- | ||
! Game || {{{game|{{#switch: {{lc:{{{site|}}}}} | ! Game || {{{game|{{#switch: {{lc:{{{site|}}}}} | ||
Line 171: | Line 163: | ||
|- | |- | ||
|} | |} | ||
[[Category:{{uc:{{{site|tmnf}}}}} Tracks]] | |||
[[Category:Tracks|{{PAGENAME}}]] | [[Category:Tracks|{{PAGENAME}}]] | ||
[[Category:{{#switch:{{lc:{{{site|tmnf}}}}} | |||
| tmuf = TMUF | |||
| tmnf = TMNF | |||
| original = TMO | |||
| sunrise = TMS | |||
| nations = TMN | |||
| #default = TMNF | |||
}} Tracks|{{PAGENAME}}]] | |||
</includeonly><noinclude> | </includeonly><noinclude> | ||
== Usage == | == Usage == | ||
Line 179: | Line 180: | ||
{{Infobox track | {{Infobox track | ||
| trackId = 123456 | | trackId = 123456 | ||
| site = tmuf, tmnf, original, sunrise, nations | | site = tmuf, tmnf, original, sunrise, nations (Default: tmnf) | ||
| title = Track Title | | title = Track Title (Optional) | ||
| image = Example.jpg | | image = Example.jpg (Optional) | ||
| game = TrackMania Game | | game = TrackMania Game (Optional) | ||
}} | }} | ||
</pre> | </pre> |
Latest revision as of 21:43, 14 August 2025
Usage[edit]
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, sunrise, nations (Default: tmnf) | title = Track Title (Optional) | image = Example.jpg (Optional) | game = TrackMania Game (Optional) }}