Template:LoH/ForgeRecipe: Difference between revisions

From zoywiki.com
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
|
|
{{{recipe}}}
{{{recipe}}}
{{LoH/ForgeEnd}}
{{LoH/ForgeEnd}}<noinclude>
==Documentation==
 
This is the template used for displaying LoH forge recipes. Here's a quick rundown of the parameters:
 
* card: The name of the card produced by this recipe. Note that you should use this parameter even if what you're producing is an item, not a card.
* display: If this recipe produces a card, leave this parameter out -- the template will automatically produce a link to the card. If this recipe produces an item, then set this to how you want the item to be displayed, including a link. For instance, <nowiki>display='''[[LoH/Legacy Coins|Legacy Coins]]''' x10</nowiki>
* type: The type of the forge recipe (Mission, Brawl, Packs, PvP, Other).
* recipe: The actual contents of the recipe. This should look something like this:
<pre><nowiki>
recipe={{LoH/ForgeItemListBegin}}
{{LoH/CraftingItem|Bust of Aloysius Zeroth}}
{{LoH/CraftingEnd}}
</nowiki></pre>
There is a family of templates that you can use for displaying the ingredients:
* CraftingItem: for a recipe using a single item
* CraftingRow: for a set of six colored items; specify the name of the item family (without any colors) as the parameter
* CraftingCard: for a recipe using a single card
* CraftingTwoItems, CraftingThreeItems, CraftingFourItems: for recipes using two, three, or four different items; specify the items as the parameters
* CraftingEquipmentPlusItem: for recipes combining a piece of equipment with an item
* CraftingCardPlusFive: for a recipe consisting of a card and five other items (currently only Turn Back the Clock, but there may be more).

Revision as of 15:09, 5 May 2013

Forge Recipe: {{{card}}}
Card Recipe Type Recipe
[{{fullurl:LoH/cards/{{{card}}}}} {{{card}}}] {{{type}}}

{{{recipe}}}

Documentation

This is the template used for displaying LoH forge recipes. Here's a quick rundown of the parameters:

  • card: The name of the card produced by this recipe. Note that you should use this parameter even if what you're producing is an item, not a card.
  • display: If this recipe produces a card, leave this parameter out -- the template will automatically produce a link to the card. If this recipe produces an item, then set this to how you want the item to be displayed, including a link. For instance, display='''[[LoH/Legacy Coins|Legacy Coins]]''' x10
  • type: The type of the forge recipe (Mission, Brawl, Packs, PvP, Other).
  • recipe: The actual contents of the recipe. This should look something like this:
recipe={{LoH/ForgeItemListBegin}}
{{LoH/CraftingItem|Bust of Aloysius Zeroth}}
{{LoH/CraftingEnd}}

There is a family of templates that you can use for displaying the ingredients:

  • CraftingItem: for a recipe using a single item
  • CraftingRow: for a set of six colored items; specify the name of the item family (without any colors) as the parameter
  • CraftingCard: for a recipe using a single card
  • CraftingTwoItems, CraftingThreeItems, CraftingFourItems: for recipes using two, three, or four different items; specify the items as the parameters
  • CraftingEquipmentPlusItem: for recipes combining a piece of equipment with an item
  • CraftingCardPlusFive: for a recipe consisting of a card and five other items (currently only Turn Back the Clock, but there may be more).