User:Falterfire/MonsterStats: Difference between revisions

From Melvor Idle
(Created test page for autobox)
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Template for auto-building monster stat blocks.
For example, <nowiki>{{User:Falterfire/MonsterStats|Aeris}}</nowiki> becomes {{User:Falterfire/MonsterStats|Aeris}}
<onlyinclude><includeonly>{{#vardefine:monster|{{{1|{{PAGENAME}}}}}}}{| class="wikitable" style="margin: 0rem 1rem;"
<onlyinclude><includeonly>{{#vardefine:monster|{{{1|{{PAGENAME}}}}}}}{| class="wikitable" style="margin: 0rem 1rem;"
|-
|-
Line 7: Line 10:
|-
|-
| style="font-weight: bold;" | Hitpoints:  
| style="font-weight: bold;" | Hitpoints:  
| colspan=15 style="text-align: right" | {{formatnum:{{formatnum:{{#invoke:Monsters|getMonsterHP|{{#var:monster}}}}}}}}
| colspan=15 style="text-align: right" | {{formatnum:{{#invoke:Monsters|getMonsterHP|{{#var:monster}}}}}}
|-
|-
| style="font-weight: bold;" | Attack Speed:  
| style="font-weight: bold;" | Attack Speed:  

Latest revision as of 21:14, 22 June 2024

Template for auto-building monster stat blocks.

For example, {{User:Falterfire/MonsterStats|Aeris}} becomes

Combat Stats
Combat Level: 752
Hitpoints: 10,000
Attack Speed: 3 s
Accuracy Rating: 51,776
Evasion Ratings: Defence (skill).svg Ranged (skill).svg Magic (skill).svg
23,409 66,096 31,616
Skill Levels: Attack (skill).svg Strength (skill).svg Defence (skill).svg Ranged (skill).svg Magic (skill).svg