Difference between revisions of "Template:Infobox Monster"

From Idlescape Wiki
Jump to navigation Jump to search
m
(used module)
Tag: Replaced
 
(25 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div class="infobox">
+
<includeonly>{{#invoke:Infobox Monster|infoboxMonster}}</includeonly><noinclude>{{/doc}}[[Category:Template]]</noinclude>
<div class="infobox-header">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
 
<div class="infobox-image">[[File:{{{image}}}|250px]]</div>}}
 
<table>
 
{{#if:{{{release|}}}|<tr>
 
    <th colspan="10">Released</th>
 
    <td colspan="20">{{{release}}}</td>
 
</tr>}}
 
{{#if:{{{zones|}}}|<tr>
 
    <th colspan="10">Zones</th>
 
    <td colspan="20">{{{zones}}}</td>
 
</tr>}}
 
{{#if:{{{level|}}}|<tr>
 
    <th colspan="10">Combat Level</th>
 
    <td colspan="20">{{{level}}}</td>
 
</tr>}}
 
{{#if:{{{maxHit|}}}|<tr>
 
    <th colspan="10">Max hit</th>
 
    <td colspan="20">{{{maxHit}}}</td>
 
</tr>}}
 
{{#if:{{{attackStyle|}}}|<tr>
 
    <th colspan="10">Attack style</th>
 
    <td colspan="20">{{{attackStyle}}}</td>
 
</tr>}}
 
{{#if:{{{attackSpeed|}}}|<tr>
 
    <th colspan="10">Attack speed</th>
 
    <td colspan="20">{{{attackSpeed}}}</td>
 
</tr>}}
 
</table>
 
<div class="infobox-title">Combat stats</div>
 
<div class="infobox-stats">
 
<table>
 
  <tr>
 
    <td colspan="5"><img src="https://idlescape.com/images/combat/constitution_icon.png" alt="Constitution Icon" height="20" width="20"></td>
 
    <td colspan="5"><img src="https://idlescape.com/images/combat/attack_icon.png" alt="Attack Icon" height="20" width="20"></td>
 
    <td colspan="5"><img src="https://idlescape.com/images/combat/strength_icon.png" alt="Strength Icon" height="20" width="20"></td>
 
    <td colspan="5"><img src="https://idlescape.com/images/combat/defense_icon.png" alt="Defence Icon" height="20" width="20"></td>
 
    <td colspan="5"><img src="https://idlescape.com/images/enchanting/enchanting_logo.png" alt="Magic Icon" height="20" width="20"></td>
 
    <td colspan="5"><img src="https://idlescape.com/images/combat/arrows_icon.png" alt="Range Icon" height="20" width="20"></td>
 
  </tr>
 
  <tr>
 
    <td colspan="5">{{{maxHealth}}}</td>
 
    <td colspan="5">{{{attackLevel}}}</td>
 
    <td colspan="5">{{{strengthLevel}}}</td>
 
    <td colspan="5">{{{defenseLevel}}}</td>
 
    <td colspan="5">{{{magic}}}</td>
 
    <td colspan="5">{{{range}}}</td>
 
  </tr>
 
</table>
 
</div>
 
<div class="infobox-title">Attack bonus</div>
 
<div class="infobox-stats">
 
<table>
 
  <tr>
 
    <td colspan="30">Accuracy</td>
 
  </tr>
 
  <tr>
 
    <td colspan="30">{{{accuracy}}}</td>
 
  </tr>
 
</table>
 
</div>
 
<div class="infobox-title">Defence bonus</div>
 
<div class="infobox-stats">
 
<table>
 
  <tr>
 
    <td colspan="6">Stab</td>
 
    <td colspan="6">Slash</td>
 
    <td colspan="6">Crush</td>
 
    <td colspan="6">Magic</td>
 
    <td colspan="6">Range</td>
 
  </tr>
 
  <tr>
 
    <td colspan="6">{{{stab}}}</td>
 
    <td colspan="6">{{{slash}}}</td>
 
    <td colspan="6">{{{crush}}}</td>
 
    <td colspan="6">{{{magicDef}}}</td>
 
    <td colspan="6">{{{rangeDef}}}</td>
 
  </tr>
 
</table>
 
</div>
 
<div class="infobox-title">Strength bonus</div>
 
<div class="infobox-stats">
 
<table>
 
  <tr>
 
    <td colspan="10">Melee Str</td>
 
    <td colspan="10">Ranged Str</td>
 
    <td colspan="10">Magic Dmg</td>
 
  </tr>
 
  <tr>
 
    <td colspan="10">{{{meeleStr}}}</td>
 
    <td colspan="10">{{{rangeStr}}}</td>
 
    <td colspan="10">{{{magicStr}}}</td>
 
  </tr>
 
</table>
 
</div>
 
</div>
 

Latest revision as of 13:02, 5 July 2024

Chicken
Chicken
ZonesFarm
Offensive Stats
Attack SpeedDPSCrit ChanceCrit Multiplier
2.40(melee)5%110%
Offensive Affinities
Melee splash.pngMagic splash.pngRange splash.png
0%0%0%
Stab splash.pngCrush splash.pngSlash splash.png
0%0%0%
Fire splash.pngIce splash.pngNature splash.png
0%0%0%
Chaos splash.pngPoison splash.pngLightning splash.png
0%0%0%
Defensive Stats
ThreatCrit AvoidanceCrit Reduction
-4215%90%
Defensive Affinities
Melee splash.pngMagic splash.pngRange splash.png
0%0%0%
Stab splash.pngCrush splash.pngSlash splash.png
0%-25%0%
Fire splash.pngIce splash.pngNature splash.png
0%0%0%
Chaos splash.pngPoison splash.pngLightning splash.png
0%0%0%

Usage

The template automatically creates an infobox for the page, only give it a name when the page's name isn't a monster.

Example

{{Infobox Monster|Chicken|zones=farm|DPS=0(melee)}}

Quick Copy

 {{Infobox Monster|zones=|DPS=)}}