Wynncraft Wiki
m (Made it that Weakness appears after Damage and Defence)
(added optional label to species parameter)
 
(12 intermediate revisions by 3 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, 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 =
  +
| ai_type =
  +
| abilities =
 
| damage =
 
| damage =
 
| defense =
 
| defense =
 
| weakness =
 
| weakness =
  +
| location =
 
}}
 
}}
 
</pre>
 
</pre>
 
* <code>name</code> - the name of the mob
 
* <code>name</code> - the name of the mob
 
* <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> - accepts only hostile, neutral, and passive
 
  +
* <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
* <code>attack type</code> - accepts only melee and range
+
* <code>dam</code> - the amount of damage the mob deals, usually a range of values
* <code>damage</code> - list the elements in the mob's damage, separated by commas
+
* <code>attack_type</code> - accepts only melee, ranged
* <code>defense</code> - list the elements the mob resists, separated by commas
+
* <code>abilities</code> - the abilities of the mob, separated by commas
* <code>weakness</code> - list the elements the mob is weak to, separated by commas
+
* <code>damage</code> - not to be confused with <code>dam</code>; lists the elements of the mob's damage, 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>location</code> - a region name or coordinates where the mob can be found. Keep this short.
   
 
== Examples ==
 
== Examples ==
Line 33: 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
  +
|attack_type = Melee
|attack type = melee
 
 
|damage = neutral
 
|damage = neutral
 
}}</pre> || {{Infobox/Mob
 
}}</pre> || {{Infobox/Mob
Line 41: 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
  +
|attack_type = Melee
|attack type = melee
 
 
|damage = neutral
 
|damage = neutral
 
}}
 
}}
Line 51: 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
  +
|attack_type = Ranged
 
|damage = water
 
|damage = water
 
|weakness = thunder
 
|weakness = thunder
Line 59: 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
  +
|attack_type = Ranged
 
|damage = water
 
|damage = water
 
|weakness = thunder
 
|weakness = thunder

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.