Difference between revisions of "Template:MHP"

From MHWiki
(Simplified template - no need for variable link text; if users really want this, they can easily make their own link w/o tempalte)
m (use MHdomain)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>[http://apps.facebook.com/mousehunt/hunterprofile.php?snuid={{{1}}} Hunter Profile]</includeonly>
+
<includeonly>[{{MHdomain}}/hunterprofile.php?snuid={{{1}}} {{{2}}}]</includeonly><noinclude>This template is to easily link to a MouseHunt Profile from the Wiki.
<noinclude>
 
This template is to easily link to a MouseHunt Profile from the Wiki.
 
  
 
==  Usage ==
 
==  Usage ==
 
Insert the following code wherever you want it to appear on your user page.
 
Insert the following code wherever you want it to appear on your user page.
  
<pre>{{MHP|facebook_id}}</pre>
+
<pre>{{MHP|facebook_id|link title}}</pre>
  
 
In place of "facebook_id" enter the number at the end of your Hunter Profile link on Facebook (e.g. if your link was <nowiki> http://apps.facebook.com/mousehunt/hunterprofile.php?snuid=123456789</nowiki> you would enter '''123456789''').
 
In place of "facebook_id" enter the number at the end of your Hunter Profile link on Facebook (e.g. if your link was <nowiki> http://apps.facebook.com/mousehunt/hunterprofile.php?snuid=123456789</nowiki> you would enter '''123456789''').
 
</noinclude>
 
</noinclude>

Latest revision as of 16:02, 13 February 2013

This template is to easily link to a MouseHunt Profile from the Wiki.

Usage

Insert the following code wherever you want it to appear on your user page.

{{MHP|facebook_id|link title}}

In place of "facebook_id" enter the number at the end of your Hunter Profile link on Facebook (e.g. if your link was http://apps.facebook.com/mousehunt/hunterprofile.php?snuid=123456789 you would enter 123456789).