No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
! colspan="2" style="text-align:center;"|{{{title|{{PAGENAME}}}}} | ! colspan="2" style="text-align:center;"|{{{title|{{PAGENAME}}}}} | ||
|- | |- | ||
| colspan="2" style="text-align:center;"|[[File:{{{image}}}| | | colspan="2" style="text-align:center;"|[[File:{{{image}}}|x100px|link=]] | ||
|- | |- | ||
|'''Damage''' | |'''Damage''' | ||
| Line 20: | Line 20: | ||
|- | |- | ||
|'''Your hit<br>chance''' | |'''Your hit<br>chance''' | ||
|<div class="hitChance">0 | |<div class="hitChance" data-hit="1"> | ||
Accuracy: <htmltag tagname="input" type="number" id="accuracy1" value="0" style="display:inline;width:40px"></htmltag> | |||
<br> | |||
Defense: <htmltag tagname="input" type="number" id="defense1" value="{{{defence}}}" style="display:inline;width:40px" disabled="disabled"></htmltag> | |||
<br> | |||
Hit Chance: <span id="hitRate1">100.00</span>% | |||
<br> | |||
Caves: <htmltag tagname="input" type="checkbox" id="darkness1" style="display:inline;width:40px"></htmltag> | |||
</div> | |||
|- | |- | ||
|'''Enemy's hit<br>chance''' | |'''Enemy's hit<br>chance''' | ||
|<div class="hitChance">{{{accuracy}}} | |<div class="hitChance" data-hit="2"> | ||
Accuracy: <htmltag tagname="input" type="number" id="accuracy2" value="{{{accuracy}}}" style="display:inline;width:40px" disabled="disabled"></htmltag> | |||
<br> | |||
Defense: <htmltag tagname="input" type="number" id="defense2" value="0" style="display:inline;width:40px"></htmltag> | |||
<br> | |||
Hit Chance: <span id="hitRate2">100.00</span>% | |||
<br> | |||
Caves: <htmltag tagname="input" type="checkbox" id="darkness2" style="display:inline;width:40px"></htmltag> | |||
</div> | |||
|} | |} | ||
<noinclude> | <noinclude> | ||
| Line 50: | Line 66: | ||
|health=2 | |health=2 | ||
}} | }} | ||
[[Category: | [[Category:Infobox_Templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 16:12, 14 January 2025
| Infobox Monsters | |
|---|---|
| [[File:{{{image}}}|x100px|link=]] | |
| Damage | |
| Accuracy | |
| Speed | |
| Defence | |
| Health | |
| Your hit chance |
Accuracy:
|
| Enemy's hit chance |
Accuracy:
|
Infobox used on Monster pages.
Usage
{{Template:Infobox Monsters
|title=Bee
|image=BeeMonster.png
|damage=4
|accuracy=4
|speed=?
|defence=0
|health=2
}}
Result in...
| Bee | |
|---|---|
| Damage | |
| Accuracy | |
| Speed | |
| Defence | |
| Health | |
| Your hit chance |
Accuracy:
|
| Enemy's hit chance |
Accuracy:
|