Template:Mob infobox/doc: Difference between revisions

From BTA-Mirror
imported>Denatidum
No edit summary
imported>Denatidum
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 9: Line 9:
|spawn=Light level 0
|spawn=Light level 0
}}
}}
This template allows for the creation of mob infoboxes. This example on the side is created with <code><nowiki>{{Mob infobox|title=Zombie|image=[[File:Zombie Cyan Render.png|160px]]|health=20|behavior=Hostile|dmgeasy=2.5|dmgnormal=3|dmghard=4.5|spawn=Light level 0}}</nowiki></code>
This template allows for the creation of mob infoboxes. This example on the side is created with <code><nowiki>{{Mob infobox|title=Zombie|image=[[File:Zombie Cyan Render.png|160px]]|health=20|behavior=Hostile|dmgeasy=2.5|dmgnormal=3|dmghard=4.5|spawn=Light level 0}}</nowiki></code>.
 
{| class="wikitable"
! Parameter !! Description !! Defaults to
|-
| <code>title</code> || The title of the infobox. || <code><nowiki>{{{PAGENAME}}}</nowiki></code>
|-
| <code>image</code> || Previews the main image of the infobox. ||
|-
| <code>health</code> || Specifies the health of the mob. Hearts are half of the HP value. (e.g. 7 HP = 3.5 hearts) ||
|-
| <code>behavior</code> || Specifies the behavior type of the mob. Three behavior types are acceptable: Passive, Neutral and Hostile. Additional information can be added if necessary. ||
|-
| <code>dmgeasy</code> || Specifies the damage value of the mob while in Easy difficulty. Not necessary if the mob is passive. ||
|-
| <code>dmgnormal</code> || Specifies the damage value of the mob while in Normal difficulty. Not necessary if the mob is passive. ||
|-
| <code>dmghard</code> || Specifies the damage value of the mob while in Hard difficulty. Not necessary if the mob is passive. ||
|-
| <code>spawn</code> || Specifies what conditions are needed for that mob to spawn. ||
|}

Latest revision as of 02:44, 19 March 2023

Zombie

Health 20 (♥ × 10)
Behavior Hostile
Damage Easy: 2.5 (♥)

Normal: 3 (♥)

Hard: 4.5 (♥♥)
Spawn Light level 0

This template allows for the creation of mob infoboxes. This example on the side is created with {{Mob infobox|title=Zombie|image=[[File:Zombie Cyan Render.png|160px]]|health=20|behavior=Hostile|dmgeasy=2.5|dmgnormal=3|dmghard=4.5|spawn=Light level 0}}.

Parameter Description Defaults to
title The title of the infobox. {{{PAGENAME}}}
image Previews the main image of the infobox.
health Specifies the health of the mob. Hearts are half of the HP value. (e.g. 7 HP = 3.5 hearts)
behavior Specifies the behavior type of the mob. Three behavior types are acceptable: Passive, Neutral and Hostile. Additional information can be added if necessary.
dmgeasy Specifies the damage value of the mob while in Easy difficulty. Not necessary if the mob is passive.
dmgnormal Specifies the damage value of the mob while in Normal difficulty. Not necessary if the mob is passive.
dmghard Specifies the damage value of the mob while in Hard difficulty. Not necessary if the mob is passive.
spawn Specifies what conditions are needed for that mob to spawn.