Шаблон:Craft table

Материал из Guild Wars 2 wiki
Перейти к: навигация, поиск

Description[править]

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[править]

{{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[править]

Craft table[править]

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.
unnamed parameter 1 
This final parameter should contain 1 or more {{craft table group}} templates.

Craft table group[править]

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.
unnamed parameter 1 
This final parameter should contain 1 or more {{craft table row}} templates.

Craft table row[править]

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 
Flag to identify an item as being account bound. This will suppress the dynamic retrieval of trading post prices.

Example[править]

{{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}}
  }}
}}


Все варианты имеют Upgrade Slot.png пустой слот улучшения.

Оружие Рейтинг Ингредиенты Ур. Статы Ссылки Торговый пост Ценность
CMighty Bronze Shield (Simple) Weaponsmith tango icon 20px.png 0 5
Defense: 6
+6 Power.png Сила
Предмет:
Рецепт:
Show base ingredients
10 Медная монета
CMalign Bronze Shield Weaponsmith tango icon 20px.png 0 10
Defense: 8
+8 Condition Damage.png Урон от состояний
Предмет:
Рецепт:
Show base ingredients
15 Медная монета
CMighty Bronze Shield Weaponsmith tango icon 20px.png 0 10
Defense: 8
+8 Power.png Сила
Предмет:
Рецепт:
Show base ingredients
15 Медная монета
CVital Bronze Shield Weaponsmith tango icon 20px.png 0 10
Defense: 8
+8 Vitality.png Живучесть
Предмет:
Рецепт:
Show base ingredients
15 Медная монета