Template:MonsterStats: Difference between revisions

Added damage type and support abyssal resistance
(Barrier section now only shows up when needed)
(Added damage type and support abyssal resistance)
 
Line 1: Line 1:
Template for auto-building monster stat blocks.
Template for auto-building monster stat blocks.


For example, <nowiki>{{User:MonsterStats|Magic Golem}}</nowiki> becomes {{MonsterStats|Magic Golem}}
For example, {{T|MonsterStats|Magic Golem}} becomes {{MonsterStats|Magic Golem}}
<onlyinclude><includeonly>{| class="wikitable" style="margin: 0rem 1rem;"
<onlyinclude><includeonly>{| class="wikitable" style="margin: 0rem 1rem;"
|-
|-
! colspan=16 | Combat Stats
! colspan=16 | Combat Stats
|-
| style="font-weight: bold;" | Damage Type:
| colspan=15 style="text-align: right" | {{Icon|{{#invoke:Monsters|getMonsterDamageType|{{{1|{{PAGENAME}}}}}}}|type=damage|nolink=true}}
|-
|-
| style="font-weight: bold;" | Combat Level:  
| style="font-weight: bold;" | Combat Level:  
Line 21: Line 24:
| style="font-weight: bold;" | Accuracy Rating:  
| style="font-weight: bold;" | Accuracy Rating:  
| colspan=15 style="text-align: right" | {{formatnum:{{#invoke:Monsters|getMonsterAR|{{{1|{{PAGENAME}}}}}}}}}
| colspan=15 style="text-align: right" | {{formatnum:{{#invoke:Monsters|getMonsterAR|{{{1|{{PAGENAME}}}}}}}}}
|-
{{#invoke:Monsters|getMonsterBoxResistanceText|{{{1|{{PAGENAME}}}}}}}
| style="font-weight: bold;" | Damage Reduction:
| colspan=15 style="text-align: right" | {{formatnum:{{#invoke:Monsters|getMonsterStat|{{{1|{{PAGENAME}}}}}|damageReduction}}}}%
|-
|-
| rowspan=2 style="font-weight: bold;" | Evasion Ratings:
| rowspan=2 style="font-weight: bold;" | Evasion Ratings: