Wynncraft Wiki
m (Added charge)
Aws40404 (talk | contribs)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
  +
{{Doc/start}}
 
The Identification template is used to simplify the creation of identification tables, without copying and pasting MediaWiki code from page to page. Should be used similar to an info box, and supports all identifications.
 
The Identification template is used to simplify the creation of identification tables, without copying and pasting MediaWiki code from page to page. Should be used similar to an info box, and supports all identifications.
   
Line 4: Line 5:
   
 
== Usage ==
 
== Usage ==
  +
<pre>
 
<code><nowiki>{{</nowiki>Identification/Preset<br>
+
{{Identification/Preset
| charge = <br>
+
| %_health_regen =
  +
| mana_regen =
| health_bonus = <br>
 
  +
| %_spell_damage =
| raw_health_regen = <br>
 
  +
| %_melee_damage =
| health_regen = <br>
 
| mana_regen = <br>
+
| life_steal =
| life_steal = <br>
+
| mana_steal =
| mana_steal = <br>
+
| xp_bonus =
| xp_bonus = <br>
+
| loot_bonus =
  +
| loot_quality =
| loot_bonus = <br>
 
| reflection = <br>
+
| reflection =
| thorns = <br>
+
| strength- =
| strength = <br>
+
| dexterity- =
 
| intelligence- =
| dexterity = <br>
 
  +
| agility- =
| intelligence = <br>
 
| defense = <br>
+
| defense- =
| agility = <br>
+
| thorns =
| exploding = <br>
+
| exploding =
| walk_speed = <br>
+
| walk_speed =
| attack_speed = <br>
+
| attack_speed =
| poison = <br>
+
| poison =
  +
| health =
| soul_point_regen = <br>
+
| soul_point_regen =
| stealing = <br>
+
| stealing =
| raw_melee_damage = <br>
 
 
| raw_health_regen =
| melee_damage = <br>
 
| raw_spell_damage = <br>
+
| raw_spell_damage =
 
| raw_melee_damage =
| spell_damage = <br>
 
 
| fire_damage =
| earth_damage = <br>
 
 
| water_damage =
| thunder_damage = <br>
 
 
| air_damage =
| water_damage = <br>
 
 
| thunder_damage =
| fire_damage = <br>
 
 
| earth_damage =
| air_damage = <br>
 
 
| fire_defense =
| earth_defense = <br>
 
 
| water_defense =
| thunder_defense = <br>
 
 
| air_defense =
| water_defense = <br>
 
 
| thunder_defense =
| fire_defense = <br>
 
 
| earth_defense =
| air_defense = <br>
 
  +
| sprint_regen =
<nowiki>}}</nowiki></code>
 
  +
| %_first_spell_cost =
  +
| %_second_spell_cost =
  +
| %_third_spell_cost =
  +
| %_fourth_spell_cost =
  +
| raw_first_spell_cost =
  +
| raw_second_spell_cost =
  +
| raw_third_spell_cost =
  +
| raw_fourth_spell_cost =
  +
| gathering_xp_bonus =
  +
| gathering_speed =
  +
}}
  +
</pre>
   
 
== Examples ==
 
== Examples ==
Line 48: Line 61:
 
!Example !!Result
 
!Example !!Result
 
|-
 
|-
| <code><nowiki>{{Identification/Preset|health_regen=-10}</nowiki></code> || {{Identification/Preset|health_regen=-10}}
+
| <code><nowiki>{{Identification/Preset|%_health_regen=-10}</nowiki></code> || {{Identification/Preset|%_health_regen=-10}}
 
|-
 
|-
 
| <code><nowiki>{{Identification/Preset|fire_damage = +5}}</nowiki></code> || {{Identification/Preset|fire_damage = +5}}
 
| <code><nowiki>{{Identification/Preset|fire_damage = +5}}</nowiki></code> || {{Identification/Preset|fire_damage = +5}}
Line 104: Line 117:
 
| soul_point_regen || %
 
| soul_point_regen || %
 
|}
 
|}
  +
{{Doc/end}}
 
<noinclude>[[category:Formatting_templates]][[category:Documentation_templates]]</noinclude>
 
<noinclude>[[category:Formatting_templates]][[category:Documentation_templates]]</noinclude>

Latest revision as of 05:44, 14 October 2020

Template-info.png Documentation

The Identification template is used to simplify the creation of identification tables, without copying and pasting MediaWiki code from page to page. Should be used similar to an info box, and supports all identifications.

This template also automatically generates the unit for each Identification, for example "/4s" , "%" , etc. So don't pass in the unit when using this template.

Usage

{{Identification/Preset
| %_health_regen = 
| mana_regen =
| %_spell_damage =
| %_melee_damage =
| life_steal =
| mana_steal =
| xp_bonus =
| loot_bonus =
| loot_quality =
| reflection =
| strength- =
| dexterity- =
| intelligence- =
| agility- =
| defense- =
| thorns =
| exploding =
| walk_speed =
| attack_speed =
| poison =
| health =
| soul_point_regen =
| stealing =
| raw_health_regen =
| raw_spell_damage =
| raw_melee_damage =
| fire_damage =
| water_damage =
| air_damage =
| thunder_damage =
| earth_damage =
| fire_defense =
| water_defense =
| air_defense =
| thunder_defense =
| earth_defense =
| sprint_regen =
| %_first_spell_cost =
| %_second_spell_cost =
| %_third_spell_cost =
| %_fourth_spell_cost =
| raw_first_spell_cost =
| raw_second_spell_cost =
| raw_third_spell_cost =
| raw_fourth_spell_cost =
| gathering_xp_bonus =
| gathering_speed =
}}

Examples

Example Result
{{Identification/Preset|%_health_regen=-10}
Identification Preset Value
 Health Regen   -10% 
{{Identification/Preset|fire_damage = +5}}
Identification Preset Value
  Fire Damage   +5% 
{{Identification/Preset|attack_speed = +1}}
Identification Preset Value
 Attack Speed   +1 Tiers 

Reference

Here is a table of available fields and their units if there is any confusion.

Identification Unit Identification Unit Identification Unit Identification Unit Identification Unit
strength none dexterity none intelligence none defense none agility none
earth_damage % thunder_damage % water_damage % fire_damage % air_damage %
earth_defense % thunder_defense % water_defense % fire_defense % air_defense %
raw_melee_damage none melee_damage % raw_spell_damage none spell_damage % charge none
health_bonus none raw_health_regen none health_regen % mana_regen /4s
life_steal /4s mana_steal /4s xp_bonus % loot_bonus %
reflection % thorns % exploding % stealing %
walk_speed % attack_speed Tier poison /3s soul_point_regen %

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.