Changes

Jump to navigation Jump to search
37 bytes added ,  09:57, 30 January 2022
m
update to https
Line 1: Line 1: −
<includeonly>[http://www.tm-forum.com/viewtopic.php?t={{{t|{{{1}}}}}} {{{2|{{{1|TM forum topic}}}}}}]</includeonly><noinclude>
+
[https://www.tm-forum.com{{#if: {{{1|}}} |/viewtopic.php?t={{{1}}} {{{2|TM forum topic}}}|/ TM forum}}]<noinclude>
 
== Purpose ==
 
== Purpose ==
Create a link to a topic at the [http://www.tm-forum.com/ TrackMania forum].
+
Create a link to a topic or to the main index at the [https://www.tm-forum.com/ TrackMania forum].
    
<u>Usage</u>
 
<u>Usage</u>
: '''{{c|<nowiki>{{tmforum|t=somenumber|somename}}</nowiki>}}'''
   
: '''{{c|<nowiki>{{tmforum|somenumber|somename}}</nowiki>}}'''
 
: '''{{c|<nowiki>{{tmforum|somenumber|somename}}</nowiki>}}'''
 
: '''{{c|<nowiki>{{tmforum|somenumber}}</nowiki>}}'''
 
: '''{{c|<nowiki>{{tmforum|somenumber}}</nowiki>}}'''
 +
: '''{{c|<nowiki>{{tmforum}}</nowiki>}}'''
    
where ''somenumber'' is the topic ID and ''somename'' the topic title or the name you want to give to the link. The topic ID is a number unique to each topic. For example, in this URL:
 
where ''somenumber'' is the topic ID and ''somename'' the topic title or the name you want to give to the link. The topic ID is a number unique to each topic. For example, in this URL:
: {{c|<nowiki>http://www.tm-forum.com/viewtopic.php?f=28&t=28315</nowiki>}}
+
: {{c|<nowiki>https://www.tm-forum.com/viewtopic.php?f=28&t=28315</nowiki>}}
 
the topic ID is 28315.
 
the topic ID is 28315.
   −
* If no title is given, the template uses a generic "TM forum topic" title.
+
* If no title is given, the template uses a generic "TM forum topic" title; if no ID is given, it uses "TM forum" as title.
    
=== Source ===
 
=== Source ===

Navigation menu