(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...") |
FrozenEarth (talk | contribs) 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 = |
− | | |
+ | | 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
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 mobimage
- an image of the mobtype
- accepts only hostile, neutral, and passivelevel
- the level of the mobhealth
- the amount of health the mob hasdamage
- optional: list the elements in the mob's damage, separated by commasdefense
- optional: list the elements the mob resists, separated by commasweakness
- optional: list the elements the mob is weak to, separated by commas
Examples
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.