Template:MonsterStats: Difference between revisions

Barrier section now only shows up when needed
(Added monster barrier)
(Barrier section now only shows up when needed)
 
Line 1: Line 1:
Template for auto-building monster stat blocks.
Template for auto-building monster stat blocks.


For example, <nowiki>{{User:MonsterStats|Aeris}}</nowiki> becomes {{MonsterStats|Aeris}}
For example, <nowiki>{{User:MonsterStats|Magic Golem}}</nowiki> becomes {{MonsterStats|Magic Golem}}
<onlyinclude><includeonly>{| class="wikitable" style="margin: 0rem 1rem;"
<onlyinclude><includeonly>{| class="wikitable" style="margin: 0rem 1rem;"
|-
|-
Line 11: Line 11:
| style="font-weight: bold;" | Hitpoints:  
| style="font-weight: bold;" | Hitpoints:  
| colspan=15 style="text-align: right" | {{Skill|Hitpoints|notext=true}} {{formatnum:{{#invoke:Monsters|getMonsterHP|{{{1|{{PAGENAME}}}}}}}}}
| colspan=15 style="text-align: right" | {{Skill|Hitpoints|notext=true}} {{formatnum:{{#invoke:Monsters|getMonsterHP|{{{1|{{PAGENAME}}}}}}}}}
|-
{{#invoke:Monsters|getMonsterBoxBarrierText|{{{1|{{PAGENAME}}}}}}}
| style="font-weight: bold;" | [[Barrier]]:
| colspan=15 style="text-align: right" | {{Icon|Barrier|notext=true}} {{formatnum:{{#invoke:Monsters|getMonsterBarrier|{{{1|{{PAGENAME}}}}}}}}}
|-
|-
| style="font-weight: bold;" | Attack Speed:  
| style="font-weight: bold;" | Attack Speed: