FrozenEarth (talk | contribs) (changed icon to use itemicon baseline instead of requiring full input) |
FrozenEarth (talk | contribs) (added support for both defense and defence) |
||
Line 31: | Line 31: | ||
| dexterity = {{{dexterity|}}} |
| dexterity = {{{dexterity|}}} |
||
| intelligence = {{{intelligence|}}} |
| intelligence = {{{intelligence|}}} |
||
− | | defense = {{{defense|}}} |
+ | | defense = {{{defense|}}}{{{defence|}}} |
| agility = {{{agility|}}} |
| agility = {{{agility|}}} |
||
| walk_speed = {{{walk_speed|}}} |
| walk_speed = {{{walk_speed|}}} |
||
Line 44: | Line 44: | ||
| fire_damage = {{{fire_damage|}}} |
| fire_damage = {{{fire_damage|}}} |
||
| air_damage = {{{air_damage|}}} |
| air_damage = {{{air_damage|}}} |
||
− | | earth_defense = {{{earth_defense|}}} |
+ | | earth_defense = {{{earth_defense|}}}{{{earth_defence|}}} |
− | | thunder_defense = {{{thunder_defense|}}} |
+ | | thunder_defense = {{{thunder_defense|}}}{{{thunder_defence|}}} |
− | | water_defense = {{{water_defense|}}} |
+ | | water_defense = {{{water_defense|}}}{{{water_defence|}}} |
− | | fire_defense = {{{fire_defense|}}} |
+ | | fire_defense = {{{fire_defense|}}}{{{fire_defence|}}} |
− | | air_defense = {{{air_defense|}}} |
+ | | air_defense = {{{air_defense|}}}{{{air_defence|}}} |
| sprint_regen = {{{sprint_regen|}}} |
| sprint_regen = {{{sprint_regen|}}} |
||
| %_spell_cost_1 = {{{%_spell_cost_1|}}} |
| %_spell_cost_1 = {{{%_spell_cost_1|}}} |
||
Line 71: | Line 71: | ||
| dexterity_min = {{{dexterity_min|}}} |
| dexterity_min = {{{dexterity_min|}}} |
||
| intelligence_min = {{{intelligence_min|}}} |
| intelligence_min = {{{intelligence_min|}}} |
||
− | | defense_min = {{{defense_min|}}} |
+ | | defense_min = {{{defense_min|}}}{{{defence_min|}}} |
| agility_min = {{{agility_min|}}} |
| agility_min = {{{agility_min|}}} |
||
}} |
}} |
||
Line 91: | Line 91: | ||
| dexterity_min={{{dexterity_min|}}} |
| dexterity_min={{{dexterity_min|}}} |
||
| intelligence_min={{{intelligence_min|}}} |
| intelligence_min={{{intelligence_min|}}} |
||
− | | defense_min={{{defense_min|}}} |
+ | | defense_min={{{defense_min|}}}{{{defence_min|}}} |
| agility_min={{{agility_min|}}} |
| agility_min={{{agility_min|}}} |
||
| health_bonus={{{health_bonus|}}}{{{health|}}} |
| health_bonus={{{health_bonus|}}}{{{health|}}} |
||
Line 111: | Line 111: | ||
| dexterity={{{dexterity|}}} |
| dexterity={{{dexterity|}}} |
||
| intelligence={{{intelligence|}}} |
| intelligence={{{intelligence|}}} |
||
− | | defense={{{defense|}}} |
+ | | defense={{{defense|}}}{{{defence|}}} |
| agility={{{agility|}}} |
| agility={{{agility|}}} |
||
| walk_speed={{{walk_speed|}}} |
| walk_speed={{{walk_speed|}}} |
||
Line 124: | Line 124: | ||
| fire_damage={{{fire_damage|}}} |
| fire_damage={{{fire_damage|}}} |
||
| air_damage={{{air_damage|}}} |
| air_damage={{{air_damage|}}} |
||
− | | earth_defense={{{earth_defense|}}} |
+ | | earth_defense = {{{earth_defense|}}}{{{earth_defence|}}} |
− | | thunder_defense={{{thunder_defense|}}} |
+ | | thunder_defense = {{{thunder_defense|}}}{{{thunder_defence|}}} |
− | | water_defense={{{water_defense|}}} |
+ | | water_defense = {{{water_defense|}}}{{{water_defence|}}} |
− | | fire_defense={{{fire_defense|}}} |
+ | | fire_defense = {{{fire_defense|}}}{{{fire_defence|}}} |
− | | air_defense={{{air_defense|}}} |
+ | | air_defense = {{{air_defense|}}}{{{air_defence|}}} |
| sprint_regen={{{sprint_regen|}}} |
| sprint_regen={{{sprint_regen|}}} |
||
| pct_spell_cost_1={{{%_spell_cost_1|}}} |
| pct_spell_cost_1={{{%_spell_cost_1|}}} |
Revision as of 18:53, 22 October 2020
This template defines the table "Ingredients". View table.
This template creates a table to display all the information of an ingredient. It also generates another cell beneath the ingredient info linking to various List of ingredients pages that the ingredient belongs to.
Like other templates, this template uses Template:Crafting/data to generate identifications. Do not pass units or labels when passing ID values, such as "/4s" and "%". Values must be written with a "/" separating the min and max value. For example: +4/+6, +0/+10, -5/-0, -10/-10, and +5/+5 are all valid. Other values of the ingredient that do not have ranges (durability, duration, charges, and skill point minimums), do not need to be inputted with ranges.
See Template:ItemData/ingredient/display for the version of this template that links to the ingredient page does not store info into Cargo.
Unlike Template:ItemData, this subtemplate stores its data into a Cargo table. Additionally, it does not take an item type and always assumes the item's type is an ingredient.
Usage
{{ItemData | name = | icon = | level = | tier = | professions = | strength_min = | dexterity_min = | intelligence_min = | defense_min = | agility_min = | health_bonus = | raw_health_regen = | %_health_regen = | mana_regen = | life_steal = | mana_steal = | xp_bonus = | loot_bonus = | loot_quality = | stealing = | soul_point_regen = | thorns = | reflection = | poison = | exploding = | strength = | dexterity = | intelligence = | defense = | agility = | walk_speed = | attack_speed_bonus = | %_melee_damage = | raw_melee_damage = | %_spell_damage = | raw_spell_damage = | earth_damage = | thunder_damage = | water_damage = | fire_damage = | air_damage = | earth_defense = | thunder_defense = | water_defense = | fire_defense = | air_defense = | sprint = | sprint_regen = | %_spell_cost_1 = | %_spell_cost_2 = | %_spell_cost_3 = | %_spell_cost_4 = | raw_spell_cost_1 = | raw_spell_cost_2 = | raw_spell_cost_3 = | raw_spell_cost_4 = | jump_height = | gathering_xp = | gathering_speed = | effectiveness_left = | effectiveness_right = | effectiveness_above = | effectiveness_under = | effectiveness_touching = | effectiveness_not_touching = | durability = | duration = | charges = | strength_min = | dexterity_min = | intelligence_min = | defense_min = | agility_min = }}
name
- the name of the itemicon
- the item's appearance icon. Only put in the name referring to the icon, not an actual template or file inclusion.level
- the combat level minimum of the itemstrength...agility_min
- the skill point minimum of the item.tier
- The number of stars, or tier, the item has.professions
- The professions in which the ingredient can be used in.(identifications)
- the idenfications of the item. See Template:Crafting/data for more info on formatting.
Examples
{{ItemData/ingredient | name = Melted Steel | tier = 0 | level = 89 | water_damage = -8/-6 | fire_defense = +4/+8 | durability = -47 | defense_min = +12 | professions = armouring,weaponsmithing }} |
|
{{ItemData/ingredient | name = Corrupted Ichor | tier = 2 | level = 10 | professions = scribing | life_steal = +6/+10 | walk_speed = +1/+3 | duration = -84 }} |
|
{{ItemData/ingredient | name = Active Fireball | tier = 1 | level = 4 | fire_damage = +2/+4 | duration = -160 | professions = cooking,scribing,alchemism }} |
|
{{ItemData/ingredient | name = Crumbling Skull | tier = 2 | level = 10 | durability = -52 | strength_min = -5 | defense_min = -5 | professions = armouring }} |
|
{{ItemData/ingredient | name = Sturdy Flesh | tier = 3 | level = 1 | professions = weaponsmithing,woodworking,armouring,tailoring | health_bonus = +30/+40 | durability = -17 }} |
|
The above documentation is transcluded from Template:ItemData/ingredient/doc. (edit | history)