Difference between revisions of "Template:Mpforump"

From Mania Tech Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>[https://forum.maniaplanet.com/viewtopic.php?p={{{p|{{{1}}}}}}#p{{{p|{{{1}}}}}} {{{2|MP forum post}}}]</includeonly><noinclude> == Purpose == Create a link to a s...")
 
m (simplify params)
Line 1: Line 1:
<includeonly>[https://forum.maniaplanet.com/viewtopic.php?p={{{p|{{{1}}}}}}#p{{{p|{{{1}}}}}} {{{2|MP forum post}}}]</includeonly><noinclude>
+
<includeonly>[https://forum.maniaplanet.com/viewtopic.php?p={{{1}}}#p{{{1}}} {{{2|MP forum post}}}]</includeonly><noinclude>
 
== Purpose ==
 
== Purpose ==
 
Create a link to a single post at the [https://forum.maniaplanet.com/ ManiaPlanet forum].
 
Create a link to a single post at the [https://forum.maniaplanet.com/ ManiaPlanet forum].
  
 
<u>Usage</u>
 
<u>Usage</u>
: '''{{c|<nowiki>{{mpforump|p=somenumber|somename}}</nowiki>}}'''
 
 
: '''{{c|<nowiki>{{mpforump|somenumber|somename}}</nowiki>}}'''
 
: '''{{c|<nowiki>{{mpforump|somenumber|somename}}</nowiki>}}'''
 
: '''{{c|<nowiki>{{mpforump|somenumber}}</nowiki>}}'''
 
: '''{{c|<nowiki>{{mpforump|somenumber}}</nowiki>}}'''

Revision as of 19:50, 5 June 2017

Purpose

Create a link to a single post at the ManiaPlanet forum.

Usage

{{mpforump|somenumber|somename}}
{{mpforump|somenumber}}

where somenumber is the post ID and somename the post title or the name you want to give to the link. The post ID is a number unique to each post. For example, in these URLs:

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

the post ID is 137687.

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

Source

This template is adapted from {{mpforum}}.