Difference between revisions of "Template:MHinfo"

From MHWiki
(new template)
 
m (update MHdomain (no http required))
Line 3: Line 3:
 
Example:
 
Example:
 
  <nowiki>{{MHinfo|brie_cheese}}</nowiki>
 
  <nowiki>{{MHinfo|brie_cheese}}</nowiki>
produces the link [http://{{MHdomain}}/item.php?item_type=brie_cheese MouseHunt Info Page] to the [[Brie]] cheese info page.
+
produces the link [{{MHdomain}}/item.php?item_type=brie_cheese MouseHunt Info Page] to the [[Brie]] cheese info page.
  
 
You may find it helpful to look at the [https://spreadsheets.google.com/ccc?key=0AhuvVLgjT3r-dGdWS1VzZ2NNQ2VyeGhJRlJQbmtXTXc&hl=en&authkey=CJKmw7cJ#gid=0 MouseHunt Items Spreadsheet].
 
You may find it helpful to look at the [https://spreadsheets.google.com/ccc?key=0AhuvVLgjT3r-dGdWS1VzZ2NNQ2VyeGhJRlJQbmtXTXc&hl=en&authkey=CJKmw7cJ#gid=0 MouseHunt Items Spreadsheet].
</noinclude><includeonly>[http://{{MHdomain}}/item.php?item_type={{{1}}} {{{2|MouseHunt Info Page}}}]</includeonly>
+
</noinclude><includeonly>[{{MHdomain}}/item.php?item_type={{{1}}} {{{2|MouseHunt Info Page}}}]</includeonly>

Revision as of 06:07, 11 February 2013

This template is used to link to the in-game Larry's Loot Lexicon entry for an item. The first argument is the portion of the link after the item_type=. The second argument is the text to display as the link, defaulting to "MouseHunt Info Page".

Example:

{{MHinfo|brie_cheese}}

produces the link MouseHunt Info Page to the Brie cheese info page.

You may find it helpful to look at the MouseHunt Items Spreadsheet.