Template:RecipeTable/RecipeRow

From Warcraft Wiki
Jump to navigation Jump to search

This template creates a standardised row for use in profession recipe and pattern tables.

Instructions

  1. Create either a {{RecipeBox}}, {{Proftip}}, {{Enchant}}, or {{Embroid}} on the page that is being linked.
  2. Create a table with seven columns.
  3. In each row, fetch and use the data with {{#using:Minor Mana Potion#Alchemy|RecipeTable/RecipeRow}}

See {{RecipeBox}} for detailed instructions of all the possible attributes. This table is designed to use the same ones.

Example

{| class="darktable zebra recipetable"
! Recipe !! Ingredients !!  Skill !! Y. !! G. !! G. !! Source
|-
| {{#using:Draught of War#Alchemy|RecipeTable/RecipeRow}}
|-
| {{#using:Transmute: Iron to Gold|RecipeTable/RecipeRow}}
|-
| {{#using:Grilled Catfish#Cooking|RecipeTable/RecipeRow}}
|-
| {{#using:Stormsteel Shield#Blacksmithing|RecipeTable/RecipeRow}}
|-
| {{#using:Ghost-Forged Bracers#Blacksmithing|RecipeTable/RecipeRow}}
|-
| {{#using:Insane Strength Potion#Alchemy|RecipeTable/RecipeRow}}
|-
| {{#using:Fel Strength Elixir#Alchemy|RecipeTable/RecipeRow}}
|}

Adding the rowspan property is optional. When left out, it will be defaulted to 1.

Result

Recipe Ingredients Skill Y. G. G. Source
1x  [Draught of War]
 [Transmute: Iron to Gold]

Using Inv misc orb 01.png

225 Purchase for 64s
1x  [Grilled Catfish]
1x Both 32.pngStormsteel Shield [Stormsteel Shield]
95 Trainers for 42g 50s
1x  [Ghost-Forged Bracers]
 [Ghost-Forged Bracers]
1 1 38 75 Trainers for 8g
1x  [Insane Strength Potion]
1x  [Fel Strength Elixir]
335 Drops from mobs in Legion Hold, Shadowmoon Valley