Wynncraft Wiki
(Created page with "{{doc/start}} To use this template, add to page this code: <pre> {{Infobox/Mob | name = | image = | type = * | species = * | level = | location = | health = | damage = * | dr...")
 
No edit summary
Line 1: Line 1:
 
{{doc/start}}
 
{{doc/start}}
  +
This template creates an infobox that holds the general information of a mob.
To use this template, add to page this code:
 
   
  +
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.
 
<pre>
 
<pre>
 
{{Infobox/Mob
 
{{Infobox/Mob
 
| name =
 
| name =
 
| image =
 
| image =
| type = *
+
| type =
| species = *
 
 
| level =
 
| level =
| location =
 
 
| health =
 
| health =
| damage = *
+
| damage =
| drops = *
+
| defense =
  +
| weakness =
| earth = Defense: <value>, Damage <value>, or Weakness <value> *
 
| thunder = Defense: <value>, Damage <value>, or Weakness <value> *
 
| water = Defense: <value>, Damage <value>, or Weakness <value> *
 
| fire = Defense: <value>, Damage <value>, or Weakness <value> *
 
| air = Defense: <value>, Damage <value>, or Weakness <value> *
 
 
}}
 
}}
 
</pre>
 
</pre>
  +
* <code>name</code> - the name of the mob
Note: <code><nowiki>*</nowiki></code> means optional. Please don't include the <code><nowiki>*</nowiki></code> when writing the field though
 
  +
* <code>image</code> - an image of the mob
  +
* <code>type</code> - accepts only hostile, neutral, and passive
  +
* <code>level</code> - the level of the mob
  +
* <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>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
   
  +
== Examples ==
  +
{| class="wikitable"
  +
!Example !!Result
  +
|-
  +
| <pre>{{Infobox/Mob
  +
|name = Zombie (Lv. 13)
  +
|image = Zombie (Lv. 13).png
  +
|type = Hostile Mob
  +
|level = 13
  +
|health = 61
  +
|damage = neutral
  +
}}</pre> || {{Infobox/Mob
  +
|name = Zombie (Lv. 13)
  +
|image = Zombie (Lv. 13).png
  +
|type = Hostile Mob
  +
|level = 13
  +
|health = 61
  +
|damage = neutral
  +
}}
  +
|-
  +
| <pre>{{Infobox/Mob
  +
|name = Water Zombie
  +
|image = Water Zombie.png
  +
|type = Hostile Mob
  +
|level = 6
  +
|health = 25
  +
|damage = water
  +
|weakness = thunder
  +
}}</pre> || {{Infobox/Mob
  +
|name = Water Zombie
  +
|image = Water Zombie.png
  +
|type = Hostile Mob
  +
|level = 6
  +
|health = 25
  +
|damage = water
  +
|weakness = thunder
  +
}}
  +
|}
 
{{doc/end}}
 
{{doc/end}}
   

Revision as of 06:34, 31 December 2019

Template-info 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
  • damage - optional: list the elements in 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

Examples

Example Result
{{Infobox/Mob
|name = Zombie (Lv. 13)
|image = Zombie (Lv. 13).png
|type = Hostile Mob
|level = 13
|health = 61
|damage = neutral
}}
Zombie (Lv. 13)
Zombie (Lv. 13)
Type Hostile Mob
Level 13
Health 61 Full Heart Icon
AI Type Unknown
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
Type Hostile Mob
Level 6
Health 25 Full Heart Icon
AI Type Unknown
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.