Difference between revisions of "Template:Mpforum"

From Mania Tech Wiki
Jump to navigation Jump to search
m (param fix)
m (simplify params)
Line 1: Line 1:
<includeonly>[https://forum.maniaplanet.com/viewtopic.php?t={{{t|{{{1}}}}}} {{{2|MP forum topic}}}]</includeonly><noinclude>
+
<includeonly>[https://forum.maniaplanet.com/viewtopic.php?t={{{1}}} {{{2|MP forum topic}}}]</includeonly><noinclude>
 
== Purpose ==
 
== Purpose ==
 
Create a link to a topic at the [https://forum.maniaplanet.com/ ManiaPlanet forum].
 
Create a link to a topic at the [https://forum.maniaplanet.com/ ManiaPlanet forum].
  
 
<u>Usage</u>
 
<u>Usage</u>
: '''{{c|<nowiki>{{mpforum|t=somenumber|somename}}</nowiki>}}'''
 
 
: '''{{c|<nowiki>{{mpforum|somenumber|somename}}</nowiki>}}'''
 
: '''{{c|<nowiki>{{mpforum|somenumber|somename}}</nowiki>}}'''
 
: '''{{c|<nowiki>{{mpforum|somenumber}}</nowiki>}}'''
 
: '''{{c|<nowiki>{{mpforum|somenumber}}</nowiki>}}'''

Revision as of 19:47, 5 June 2017

Purpose

Create a link to a topic at the ManiaPlanet forum.

Usage

{{mpforum|somenumber|somename}}
{{mpforum|somenumber}}

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:

https://forum.maniaplanet.com/viewtopic.php?f=465&t=15761

the topic ID is 15761.

  • If no title is given, the template uses a generic "MP forum topic" title.

Source

This template is adapted from DoomWiki.org.