Difference between revisions of "Template:Infobox Monster"

From Idlescape Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
<div class="infobox">
 
<div class="infobox">
<div class="infobox-header">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
+
<div class="infobox-header">{{{title|{{PAGENAME}}}}}</div>
<div class="infobox-image">[[File:{{{image}}}|250px]]</div>}}
+
<div class="infobox-image"><img src="{{{image}}}" height="auto" width="250"></div>
 
<table>
 
<table>
{{#if:{{{release|}}}|<tr>
+
<tr>
 
     <th colspan="10">Released</th>
 
     <th colspan="10">Released</th>
 
     <td colspan="20">{{{release}}}</td>
 
     <td colspan="20">{{{release}}}</td>
</tr>}}
+
</tr>
{{#if:{{{zones|}}}|<tr>
+
<tr>
 
     <th colspan="10">Zones</th>
 
     <th colspan="10">Zones</th>
 
     <td colspan="20">{{{zones}}}</td>
 
     <td colspan="20">{{{zones}}}</td>
</tr>}}
+
</tr>
{{#if:{{{level|}}}|<tr>
+
<tr>
 
     <th colspan="10">Combat Level</th>
 
     <th colspan="10">Combat Level</th>
 
     <td colspan="20">{{{level}}}</td>
 
     <td colspan="20">{{{level}}}</td>
</tr>}}
+
</tr>
{{#if:{{{maxHit|}}}|<tr>
+
<tr>
 
     <th colspan="10">Max hit</th>
 
     <th colspan="10">Max hit</th>
 
     <td colspan="20">{{{maxHit}}}</td>
 
     <td colspan="20">{{{maxHit}}}</td>
</tr>}}
+
</tr>
{{#if:{{{attackStyle|}}}|<tr>
+
<tr>
 
     <th colspan="10">Attack style</th>
 
     <th colspan="10">Attack style</th>
 
     <td colspan="20">{{{attackStyle}}}</td>
 
     <td colspan="20">{{{attackStyle}}}</td>
</tr>}}
+
</tr>
{{#if:{{{attackSpeed|}}}|<tr>
+
<tr>
 
     <th colspan="10">Attack speed</th>
 
     <th colspan="10">Attack speed</th>
 
     <td colspan="20">{{{attackSpeed}}}</td>
 
     <td colspan="20">{{{attackSpeed}}}</td>
</tr>}}
+
</tr>
 
</table>
 
</table>
 
<div class="infobox-title">Combat stats</div>
 
<div class="infobox-title">Combat stats</div>

Revision as of 10:42, 19 May 2020

Infobox Monster
Released {{{release}}}
Zones {{{zones}}}
Combat Level {{{level}}}
Max hit {{{maxHit}}}
Attack style {{{attackStyle}}}
Attack speed {{{attackSpeed}}}
Combat stats
Constitution Icon Attack Icon Strength Icon Defence Icon Magic Icon Range Icon
{{{maxHealth}}} {{{attackLevel}}} {{{strengthLevel}}} {{{defenseLevel}}} {{{magic}}} {{{range}}}
Attack bonus
Accuracy
{{{accuracy}}}
Defence bonus
Stab Slash Crush Magic Range
{{{stab}}} {{{slash}}} {{{crush}}} {{{magicDef}}} {{{rangeDef}}}
Strength bonus
Melee Str Ranged Str Magic Dmg
{{{meeleStr}}} {{{rangeStr}}} {{{magicStr}}}