Wynncraft Wiki
m (Made it that Weakness appears after Damage and Defence)
Line 20: Line 20:
 
* <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
* <code>damage</code> - optional: list the elements in the mob's damage, separated by commas
+
* <code>attack type</code> - accepts only melee and range
* <code>defense</code> - optional: list the elements the mob resists, separated by commas
+
* <code>damage</code> - list the elements in the mob's damage, separated by commas
* <code>weakness</code> - optional: list the elements the mob is weak to, separated by commas
+
* <code>defense</code> - list the elements the mob resists, separated by commas
  +
* <code>weakness</code> - list the elements the mob is weak to, separated by commas
   
 
== Examples ==
 
== Examples ==
Line 34: Line 35:
 
|level = 13
 
|level = 13
 
|health = 61
 
|health = 61
  +
|attack type = melee
 
|damage = neutral
 
|damage = neutral
 
}}</pre> || {{Infobox/Mob
 
}}</pre> || {{Infobox/Mob
Line 41: Line 43:
 
|level = 13
 
|level = 13
 
|health = 61
 
|health = 61
  +
|attack type = melee
 
|damage = neutral
 
|damage = neutral
 
}}
 
}}

Revision as of 05:01, 18 January 2020

Template-info.png Documentation

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

Only the name, image, type, level, health, 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.

{{Infobox/Mob
| name =
| image =
| type = 
| level =
| health =
| damage =
| defense = 
| weakness =
}}
  • name - the name of the mob
  • image - an image of the mob
  • type - accepts only hostile, neutral, and passive
  • level - the level of the mob
  • health - the amount of health the mob has
  • attack type - accepts only melee and range
  • damage - list the elements in the mob's damage, separated by commas
  • defense - list the elements the mob resists, separated by commas
  • weakness - list the elements the mob is weak to, separated by commas

Examples

Example Result
{{Infobox/Mob
|name = Zombie (Lv. 13)
|image = Zombie (Lv. 13).png
|type = Hostile Mob
|level = 13
|health = 61
|attack type = melee
|damage = neutral
}}
Zombie (Lv. 13)
Zombie (Lv. 13).png
Type Hostile Mob
Level 13
Health 61
AI Type Unknown AI
Elemental Properties
Damage Neutral
{{Infobox/Mob
|name = Water Zombie
|image = Water Zombie.png
|type = Hostile Mob
|level = 6
|health = 25
|damage = water
|weakness = thunder
}}
Water Zombie
Water Zombie.png
Type Hostile Mob
Level 6
Health 25
AI Type Unknown 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.