Wynncraft Wiki
(added optional label to species parameter)
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
This template creates an infobox that holds the general information of a mob.
 
This template creates an infobox that holds the general information of a mob.
   
Only the name, image, type, level, health, attack type, abilities, and elemental properties of the mob should be put into this infobox. Information such as the drops of the mob or where it can be located should be put into the body of the page.
+
Only the name, image, type, level, health, AI type, abilities, elemental properties, and a region or coordinates of the mob should be put into this infobox. Information such as the drops of the mob should be put into the body of the page.
 
<pre>
 
<pre>
 
{{Infobox/Mob
 
{{Infobox/Mob
Line 8: Line 8:
 
| image =
 
| image =
 
| type =
 
| type =
  +
| species =
 
| level =
 
| level =
 
| health =
 
| health =
 
| dam =
 
| dam =
| attack_type =
+
| ai_type =
 
| abilities =
 
| abilities =
 
| damage =
 
| damage =
 
| defense =
 
| defense =
 
| weakness =
 
| weakness =
  +
| location =
 
}}
 
}}
 
</pre>
 
</pre>
Line 21: Line 23:
 
* <code>image</code> - an image of the mob
 
* <code>image</code> - an image of the mob
 
* <code>type</code> - the type of the mob: Hostile, Passive, Neutral, Grind, Rare Hostile, etc. Also categorizes the mob according to this.
 
* <code>type</code> - the type of the mob: Hostile, Passive, Neutral, Grind, Rare Hostile, etc. Also categorizes the mob according to this.
  +
* <code>species</code> - optional: the species of the mob according to lore. Use this only for important characters.
 
* <code>level</code> - the level of the mob
 
* <code>level</code> - the level of the mob
 
* <code>health</code> - the amount of health the mob has
 
* <code>health</code> - the amount of health the mob has
Line 29: Line 32:
 
* <code>defense</code> - optional: list the elements the mob resists, separated by commas
 
* <code>defense</code> - optional: list the elements the mob resists, separated by commas
 
* <code>weakness</code> - optional: list the elements the mob is weak to, separated by commas
 
* <code>weakness</code> - optional: list the elements the mob is weak to, separated by commas
  +
* <code>location</code> - a region name or coordinates where the mob can be found. Keep this short.
   
 
== Examples ==
 
== Examples ==
Line 38: Line 42:
 
|image = Zombie (Lv. 13).png
 
|image = Zombie (Lv. 13).png
 
|type = Hostile Mob
 
|type = Hostile Mob
  +
|species = Zombie
 
|level = 13
 
|level = 13
 
|health = 61
 
|health = 61
Line 46: Line 51:
 
|image = Zombie (Lv. 13).png
 
|image = Zombie (Lv. 13).png
 
|type = Hostile Mob
 
|type = Hostile Mob
  +
|species = Zombie
 
|level = 13
 
|level = 13
 
|health = 61
 
|health = 61
Line 56: Line 62:
 
|image = Water Zombie.png
 
|image = Water Zombie.png
 
|type = Hostile Mob
 
|type = Hostile Mob
  +
|species = Zombie
 
|level = 6
 
|level = 6
 
|health = 25
 
|health = 25
Line 65: Line 72:
 
|image = Water Zombie.png
 
|image = Water Zombie.png
 
|type = Hostile Mob
 
|type = Hostile Mob
  +
|species = Zombie
 
|level = 6
 
|level = 6
 
|health = 25
 
|health = 25

Latest revision as of 15:02, 19 June 2021

Template-info.png Documentation

This template creates an infobox that holds the general information of a mob.

Only the name, image, type, level, health, AI type, abilities, elemental properties, and a region or coordinates of the mob should be put into this infobox. Information such as the drops of the mob should be put into the body of the page.

{{Infobox/Mob
| name =
| image =
| type = 
| species =
| level =
| health =
| dam =
| ai_type =
| abilities =
| damage =
| defense = 
| weakness =
| location =
}}
  • name - the name of the mob
  • image - an image of the mob
  • type - the type of the mob: Hostile, Passive, Neutral, Grind, Rare Hostile, etc. Also categorizes the mob according to this.
  • species - optional: the species of the mob according to lore. Use this only for important characters.
  • level - the level of the mob
  • health - the amount of health the mob has
  • dam - the amount of damage the mob deals, usually a range of values
  • attack_type - accepts only melee, ranged
  • abilities - the abilities of the mob, separated by commas
  • damage - not to be confused with dam; lists the elements of the mob's damage, separated by commas
  • defense - optional: list the elements the mob resists, separated by commas
  • weakness - optional: list the elements the mob is weak to, separated by commas
  • location - a region name or coordinates where the mob can be found. Keep this short.

Examples

Example Result
{{Infobox/Mob
|name = Zombie (Lv. 13)
|image = Zombie (Lv. 13).png
|type = Hostile Mob
|species = Zombie
|level = 13
|health = 61
|attack_type = Melee
|damage = neutral
}}
Zombie (Lv. 13)
Zombie (Lv. 13).png
Type Hostile Mob
Species Zombie
Level 13
Health 61
AI Type Melee AI
Elemental Properties
Damage Neutral
{{Infobox/Mob
|name = Water Zombie
|image = Water Zombie.png
|type = Hostile Mob
|species = Zombie
|level = 6
|health = 25
|attack_type = Ranged
|damage = water
|weakness = thunder
}}
Water Zombie
Water Zombie.png
Type Hostile Mob
Species Zombie
Level 6
Health 25
AI Type Ranged AI
Elemental Properties
Weakness Thunder
Damage Water

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