Difference between revisions of "Template:MHrecipe"

From MHWiki
(adjust link; bummer that the UI revamp broke the ability to open a specific recipe)
(drop link for now)
Line 8: Line 8:
  
 
EDIT: As of the crafting tab UI changes on 23 April 2014, I am unable to figure out how to pop up a specific recipe.  The [[Book of Living Recipes]] in-game links are also broken - if those get fixed, we can make the same change to this template.
 
EDIT: As of the crafting tab UI changes on 23 April 2014, I am unable to figure out how to pop up a specific recipe.  The [[Book of Living Recipes]] in-game links are also broken - if those get fixed, we can make the same change to this template.
</noinclude><includeonly>[{{MHdomain}}/inventory.php?tab=2&recipe={{{1}}} {{{2|Link}}}]</includeonly>
+
</noinclude><includeonly><!--[{{MHdomain}}/inventory.php?tab=2&recipe={{{1}}} {{{2|Link}}}]-->{{2}}</includeonly>

Revision as of 12:12, 26 May 2014

This template is used to link to the in-game Recipe Book entry for a recipe. The first argument is the portion of the link after the recipe=. The second argument is the text to display as the link, defaulting to "Link".

Example:

{{MHrecipe|white_cheddar}}

produces this Link to the White Cheddar recipe box.

Knowing a recipe link requires crafting it first; if you have crafted a recipe not already linked, you can view the html source of this page and search for the name/type pair at the end of each addRecipe() directive.

EDIT: As of the crafting tab UI changes on 23 April 2014, I am unable to figure out how to pop up a specific recipe. The Book of Living Recipes in-game links are also broken - if those get fixed, we can make the same change to this template.