Template:Craft table

From Guild Wars 2 Wiki
(Redirected from User:Dr ishmael/craft table)
Jump to navigationJump to search

Description[edit]

This template is used along with {{craft table group}} and {{craft table row}} to build a table with information on all the attribute variants of a crafted piece of equipment. Each level (table, group, row) defines the data points common to all the variants below that level.

Usage[edit]

{{craft table
| name = 
| type = 
| weight = 
| discipline = 
| ingredient1 = 
| ingredient2 = 
| ingredient3 = 
| {{craft table group
  | class = 
  | rating = 
  | level = 
  | value = 
  | {{craft table row|prefix=|item id=|recipe id=}}
    {{craft table row|...
  }}
  {{craft table group
  ...

}}

Parameters[edit]

Craft table[edit]

1 (unnamed parameter)
This final parameter should contain 1 or more {{craft table group}} templates.

This level defines characteristics shared by all variants.

name
The base name of all the variants, without any prefix. Defaults to {{PAGENAME}}.
type
The armor or weapon type.
weight
Armor only The armor weight class (heavy, medium, light).
discipline
The discipline that crafts the items.
ingredient1
ingredient2
The two crafting components that are common to all of the recipes.
ingredient3
The third special ingredient required for some equipment sets.

Craft table group[edit]

1 (unnamed parameter)
This final parameter should contain 1 or more {{craft table row}} templates. This level defines characteristics for a subset of variants.
name
The base name at the group level, if it differs from the overall table.
class
The class of this group of variants, roughly corresponding to the rarity: Simple, Fine, Master, Rare, or Exotic.
rating
The required discipline rating to craft this group.
level
The required character level to equip this group.
value
The vendor value for this group.
ingredient1, ingredient2, ingredient3
The common ingredients at the group level, if the groups are of different crafting tiers (e.g., rare armor). Overrides any ingredients set at the table level.

Craft table row[edit]

This level defines characteristics of a specific variant.

prefix
The nomenclature prefix.
name
The base name of the individual item, if it differs from the group or table.
item id
recipe id
The internal game IDs of the item and recipe, respectively.
ingredient1, ingredient2, ingredient3
Ingredient overrides for a specific recipe that differ from the overall table or group. Should only be used in rare cases.
account bound
Set to 'y' to identify an item as being Account Bound. This will suppress the dynamic retrieval of trading post prices.
recipe sheet
Override the the unlock item for recipes where the name on the recipe sheet differs from the name of the crafted item. Should only be used in rare cases.

Example[edit]

{{craft table
| name = Bronze Shield
| type = Shield
| discipline = weaponsmith
| ingredient1 = 1 Bronze Shield Backing
| ingredient2 = 1 Bronze Shield Boss
| {{craft table group
  | class = Simple
  | rating = 0
  | level = 5
  | value = 10
  | {{craft table row|prefix=Mighty|item id=15567|recipe id=6063}}
  }}
  {{craft table group
  | class = Fine
  | rating = 0
  | level = 10
  | value = 15
  | {{craft table row|prefix=Malign|item id=15203|recipe id=5569}}
    {{craft table row|prefix=Mighty|item id=14939|recipe id=5570}}
    {{craft table row|prefix=Vital|item id=14940|recipe id=5571}}
  }}
}}

All variants have an Upgrade Slot.png Unused upgrade slot. If a recipe sheet is not stated for a given recipe, then the source is the discovery panel of the crafting interface.

Weapon Rating Ingredients Level Stats Links Trading post Value
Mighty Bronze Shield (Simple) Weaponsmith tango icon 20px.png 0 5 Strength: 132 – 149
Defense: 6
+6 Power.png Power
Item:
Recipe:
Show base ingredients
API: 15567

10 Copper coin
Malign Bronze Shield Weaponsmith tango icon 20px.png 0 10 Strength: 147 – 166
Defense: 8
Item:
Recipe:
Show base ingredients
API: 15203

15 Copper coin
Mighty Bronze Shield Weaponsmith tango icon 20px.png 0 10 Strength: 147 – 166
Defense: 8
+8 Power.png Power
Item:
Recipe:
Show base ingredients
API: 14939

15 Copper coin
Vital Bronze Shield Weaponsmith tango icon 20px.png 0 10 Strength: 147 – 166
Defense: 8
+8 Vitality.png Vitality
Item:
Recipe:
Show base ingredients
API: 14940

15 Copper coin