Wowpedia
Advertisement


Documentation[]

To reduce the size of the Alchemy/RecipeTable pages, this template permits one to replace four columns in each row with a single template.

Syntax[]

  • {{RecipeTable/Difficulty|A|B|C|D|rowspan=E}}
    • A, B, C and D will be output as table cells in the colors Orange, Yellow, Green, Grey.
    • Rowspan, if left blank, will default to 1. Use this to set rowspan to another value.
  • {{:Minor Mana Potion|tpl=RecipeTable/Difficulty|args=(optional, to pass rowspan)}}
    • The values will be automatically determined so long as the following attributes are set in the infobox of the item (mandatory):
      • createorange=
      • createyellow=
      • creategreen=
      • creategray=

Output[]

align=center rowspan=E | <span style="color:orange">A</span>
| align=center rowspan=E | <span style="color:yellow">B</span>
| align=center rowspan=E | <span style="color:green">C</span>
| align=center rowspan=E | <span style="color:gray">D</span>

Usage[]

{| class=darktable
|-
! {{RecipeTable/DifficultyHeader}}
|-
| {{RecipeTable/Difficulty|10|20|30|40}}
|-
| {{:Minor Mana Potion|tpl=RecipeTable/Difficulty}}
|}

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

Result[]

Orange Yellow Green Gray
10 20 30 40
Usuario:Ddcorkum/Sandbox

See Also[]

This template should be used with {{RecipeTable/DifficultyHeader}}

Advertisement