Wynncraft Wiki
SLScool (talk | contribs)
m (Did it correctly)
(removing damage numerical range value)
Tag: Source edit
Line 15: Line 15:
 
| label3 = Health
 
| label3 = Health
 
| data3 = {{#if:{{{health|}}}|{{{health}}} {{Healthbar|1|size=11px}} | ? }}
 
| data3 = {{#if:{{{health|}}}|{{{health}}} {{Healthbar|1|size=11px}} | ? }}
| label4 = Damage
+
| label4 = AI Type
| data4 = {{#if:{{#pos:{{{type|}}}|Passive}}||{{#switch:{{{dam|}}}|N/A=|=?|<big>{{{dam}}}</big> {{Element|{{#var:damage1}}|}} {{Element|{{#var:damage2}}|}} {{Element|{{#var:damage3}}|}} {{Element|{{#var:damage4}}|}} {{Element|{{#var:damage5}}|}}}}}}
+
| data4 = {{#if: {{{attack_type|}}}{{{ai_type|}}} |{{{attack_type|}}}{{{ai_type|}}} {{#if:{{#pos:{{{attack_type|}}}{{{ai_type|}}}|AI}}||AI}} |Unknown AI}}
| label5 = AI Type
+
| label5 = Abilities
 
| data5 = {{{abilities|}}}
| data5 = {{#if: {{{attack_type|}}}{{{ai_type|}}} |{{{attack_type|}}}{{{ai_type|}}} {{#if:{{#pos:{{{attack_type|}}}{{{ai_type|}}}|AI}}||AI}} |Unknown AI}}
 
 
| header6 = {{#if:{{{weak|}}}{{{damage|}}}{{{defense|}}}|Elemental Properties}}
| label6 = Abilities
+
| label6 = Weakness
| data6 = {{{abilities|}}}
 
 
| data6 = {{Element|{{#var:weakness1}}}} {{Element|{{#var:weakness2}}}} {{Element|{{#var:weakness3}}}} {{Element|{{#var:weakness4}}}} {{Element|{{#var:weakness5}}}}
| header7 = {{#if:{{{weak|}}}{{{damage|}}}{{{defense|}}}|Elemental Properties}}
 
| label7 = Weakness
+
| label7 = Damage
| data7 = {{Element|{{#var:weakness1}}}} {{Element|{{#var:weakness2}}}} {{Element|{{#var:weakness3}}}} {{Element|{{#var:weakness4}}}} {{Element|{{#var:weakness5}}}}
+
| data7 = {{Element|{{#var:damage1}}}} {{Element|{{#var:damage2}}}} {{Element|{{#var:damage3}}}} {{Element|{{#var:damage4}}}} {{Element|{{#var:damage5}}}}
| label8 = Damage
+
| label8 = Defense
| data8 = {{Element|{{#var:damage1}}}} {{Element|{{#var:damage2}}}} {{Element|{{#var:damage3}}}} {{Element|{{#var:damage4}}}} {{Element|{{#var:damage5}}}}
+
| data8 = {{Element|{{#var:defense1}}}} {{Element|{{#var:defense2}}}} {{Element|{{#var:defense3}}}} {{Element|{{#var:defense4}}}} {{Element|{{#var:defense5}}}}
 
| header9 = {{#if:{{{location|}}}|Location}}
| label9 = Defense
+
| label9 = Location
| data9 = {{Element|{{#var:defense1}}}} {{Element|{{#var:defense2}}}} {{Element|{{#var:defense3}}}} {{Element|{{#var:defense4}}}} {{Element|{{#var:defense5}}}}
 
| header10 = {{#if:{{{location|}}}|Location}}
+
| data9 = {{{location|}}}
| label10 = Location
 
| data10 = {{{location|}}}
 
 
}}<!--
 
}}<!--
   
Line 52: Line 50:
 
| level={{{level|}}}
 
| level={{{level|}}}
 
| health={{{health|}}}
 
| health={{{health|}}}
| dam={{{dam|}}}
 
 
| ai_type={{#if: {{{attack_type|}}}{{{ai_type|}}} |{{{attack_type|}}}{{{ai_type|}}} {{#if:{{#pos:{{{attack_type|}}}{{{ai_type|}}}|AI}}||AI}} |Unknown AI}}
 
| ai_type={{#if: {{{attack_type|}}}{{{ai_type|}}} |{{{attack_type|}}}{{{ai_type|}}} {{#if:{{#pos:{{{attack_type|}}}{{{ai_type|}}}|AI}}||AI}} |Unknown AI}}
 
| abilities={{{abilities|}}}
 
| abilities={{{abilities|}}}
Line 66: Line 63:
 
| level=Integer
 
| level=Integer
 
| health=Integer
 
| health=Integer
| dam=String
 
 
| ai_type=String
 
| ai_type=String
 
| abilities=List (,) of String
 
| abilities=List (,) of String

Revision as of 04:47, 12 June 2021

This template defines the table "Mobs". View table.

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
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
Level 6
Health 25
AI Type Ranged AI
Elemental Properties
Weakness Thunder
Damage Water