Difference between revisions of "Template:Monster"

From Melvor Idle
(test to account for spider2)
m
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>  
+
<noinclude>
 
This template is for use in individual monster pages.
 
This template is for use in individual monster pages.
 
</noinclude>
 
</noinclude>
  
{| class="wikitable" style="float:right; clear:right; max-width:250px; margin-left:10px"
+
{| class="wikitable" style="float:right; clear:right; margin: 0rem 0rem 1rem 1rem;"
 
|-  
 
|-  
!colspan="3"| {{{name}}}
+
! {{{name}}}
 
|-
 
|-
|colspan="3"| [[File:{{{name}}}{{#ifeq:{{{monsterID}}}|51|2|}}_(monster).svg|250px]]
+
| [[File:{{{name}}}_(monster).svg | 250px]]
 
|-
 
|-
|colspan="3"| Monster ID: {{{monsterID}}}
+
| style="text-align: center;" | Monster ID: {{{monsterID}}}
 
|-
 
|-
|colspan="3"| Combat Level: {{{combatLevel}}}
+
| Zones:
 +
{{{zones}}}
 +
|}
 +
 
 +
== Combat ==
 +
 
 +
{| class="wikitable" style="margin: 0rem 1rem;"
 
|-
 
|-
|colspan="3"| Hitpoints: {{{hitpoints}}}
+
! colspan=16 | Combat Stats
 
|-
 
|-
|colspan="3"| Attack Speed: {{{attackspeed}}} s
+
| style="font-weight: bold;" | Combat Level:
 +
| colspan=15 style="text-align: right" | {{{combatLevel}}}
 
|-
 
|-
|colspan="3"| Attacks:  
+
| style="font-weight: bold;" | Hitpoints:
{{{attacks}}}
+
| colspan=15 style="text-align: right" | {{formatnum:{{{hitpoints}}}}}
 
|-
 
|-
|colspan="3"| Accuracy Rating: {{{accuracyRating}}}
+
| style="font-weight: bold;" | Attack Speed:
 +
| colspan=15 style="text-align: right" | {{{attackspeed}}} s
 
|-
 
|-
|colspan="3" style="text-align:center;font-weight: bold;"| Evasion Ratings
+
| style="font-weight: bold;" | Accuracy Rating:
 +
| colspan=15 style="text-align: right" | {{{accuracyRating}}}
 
|-
 
|-
|[[File:Defence (skill).svg|25px|middle|link=Defence]] {{{meleeEvasionRating}}}
+
| rowspan=2 style="font-weight: bold;" | Evasion Ratings:
|[[File:Ranged (skill).svg|25px|middle|link=Ranged]] {{{rangedEvasionRating}}}
+
| colspan=5 style="text-align: center;" | [[File:Defence (skill).svg|25px|middle|link=Defence]]  
|[[File:Magic (skill).svg|25px|middle|link=Magic]] {{{magicEvasionRating}}}
+
| colspan=5 style="text-align: center;" | [[File:Ranged (skill).svg|25px|middle|link=Ranged]]  
 +
| colspan=5 style="text-align: center;" | [[File:Magic (skill).svg|25px|middle|link=Magic]]  
 
|-
 
|-
|colspan="3" style="text-align:center;font-weight: bold;"| Skill Levels
+
| colspan=5 style="text-align: right;" | {{formatnum:{{{meleeEvasionRating}}}}}
 +
| colspan=5 style="text-align: right;" | {{formatnum:{{{rangedEvasionRating}}}}}
 +
| colspan=5 style="text-align: right;" | {{formatnum:{{{magicEvasionRating}}}}}
 
|-
 
|-
|[[File:Attack (skill).svg|25px|middle|link=Attack]] {{{attackLevel}}}
+
| rowspan=2 style="font-weight: bold;" | Skill Levels:
|[[File:Strength (skill).svg|25px|middle|link=Strength]] {{{strengthLevel}}}
+
| colspan=3 style="text-align: center;" | [[File:Attack (skill).svg | 25px | middle | link=Attack]]  
|[[File:Defence (skill).svg|25px|middle|link=Defence]] {{{defenceLevel}}}
+
| colspan=3 style="text-align: center;" | [[File:Strength (skill).svg | 25px | middle | link=Strength]]  
 +
| colspan=3 style="text-align: center;" | [[File:Defence (skill).svg | 25px | middle | link=Defence]]  
 +
| colspan=3 style="text-align: center;" | [[File:Ranged (skill).svg|25px|middle|link=Ranged]]
 +
| colspan=3 style="text-align: center;" | [[File:Magic (skill).svg|25px|middle|link=Magic]]
 
|-
 
|-
|[[File:Ranged (skill).svg|25px|middle|link=Ranged]] {{{rangedLevel}}}
+
| colspan=3 style="text-align: right;" | {{{attackLevel}}}
|[[File:Magic (skill).svg|25px|middle|link=Magic]] {{{magicLevel}}}
+
| colspan=3 style="text-align: right;" | {{{strengthLevel}}}
 +
| colspan=3 style="text-align: right;" | {{{defenceLevel}}}
 +
| colspan=3 style="text-align: right;" | {{{rangedLevel}}}
 +
| colspan=3 style="text-align: right;" | {{{magicLevel}}}
 +
|}
 +
 
 +
<noinclude>
 +
Pretty version:
 +
{| class="wikitable" style="margin: 1rem 1rem;"
 +
! colspan=3 | Attacks
 
|-
 
|-
|colspan="3"| Zones: {{{zones}}}
+
! Type !! Damage !! Description
 
|-
 
|-
|colspan="3"| Drops:
+
| Melee Damage || [[File:Combat.svg | 25px | middle]] 1-243 ||
 +
|}
 +
</noinclude>
 +
 
 +
=== Attacks ===
 +
{{{attacks}}}
 +
 
 +
== Drops ==
 +
 
 +
<noinclude>
 +
Requires {{{name}}}LootTable template for each monster.
 +
</noinclude>
 +
 
 
{{{drops}}}
 
{{{drops}}}
|}
 

Latest revision as of 09:45, 12 September 2020

This template is for use in individual monster pages.


{{{name}}}
[[File:{{{name}}}_(monster).svg | 250px]]
Monster ID: {{{monsterID}}}
Zones:

{{{zones}}}

Combat

Combat Stats
Combat Level: {{{combatLevel}}}
Hitpoints: {{{hitpoints}}}
Attack Speed: {{{attackspeed}}} s
Accuracy Rating: {{{accuracyRating}}}
Evasion Ratings: Defence (skill).svg Ranged (skill).svg Magic (skill).svg
{{{meleeEvasionRating}}} {{{rangedEvasionRating}}} {{{magicEvasionRating}}}
Skill Levels: Attack (skill).svg Strength (skill).svg Defence (skill).svg Ranged (skill).svg Magic (skill).svg
{{{attackLevel}}} {{{strengthLevel}}} {{{defenceLevel}}} {{{rangedLevel}}} {{{magicLevel}}}


Pretty version:

Attacks
Type Damage Description
Melee Damage Combat.svg 1-243


Attacks

{{{attacks}}}

Drops

Requires {{{name}}}LootTable template for each monster.


{{{drops}}}