Difference between revisions of "Template:Infobox Monster"

From Idlescape Wiki
Jump to navigation Jump to search
m (Added notes for special monsters.)
(used module)
Tag: Replaced
 
(16 intermediate revisions by 2 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>
 
<div class="infobox-image"><img src="{{{image}}}" height="auto" width="250"></div>
 
<table style="padding: 1em;margin: auto;">
 
<tr>
 
    <th colspan="10">Released</th>
 
    <td colspan="20">{{{release}}}</td>
 
</tr>
 
<tr>
 
    <th colspan="10">Zones</th>
 
    <td colspan="20">{{{zones}}}</td>
 
</tr>
 
<tr>
 
    <th colspan="10">Combat Level</th>
 
    <td colspan="20">{{{level}}}</td>
 
</tr>
 
<tr>
 
    <th colspan="10">Max Hit</th>
 
    <td colspan="20">{{{maxHit}}}</td>
 
</tr>
 
<tr>
 
    <th colspan="10">Attack Style</th>
 
    <td colspan="20">{{{attackStyle}}}</td>
 
</tr>
 
<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 class="fullWidth-table">
 
  <tr>
 
    <td colspan="5" class="infobox-nested"><img src="https://idlescape.com/images/combat/constitution_icon.png" alt="Constitution Icon" height="20" width="20"></td>
 
    <td colspan="5" class="infobox-nested"><img src="https://idlescape.com/images/combat/attack_icon.png" alt="Attack Icon" height="20" width="20"></td>
 
    <td colspan="5" class="infobox-nested"><img src="https://idlescape.com/images/combat/strength_icon.png" alt="Strength Icon" height="20" width="20"></td>
 
    <td colspan="5" class="infobox-nested"><img src="https://idlescape.com/images/combat/defense_icon.png" alt="Defence Icon" height="20" width="20"></td>
 
    <td colspan="5" class="infobox-nested"><img src="https://idlescape.com/images/enchanting/enchanting_logo.png" alt="Magic Icon" height="20" width="20"></td>
 
    <td colspan="5" class="infobox-nested"><img src="https://idlescape.com/images/combat/arrows_icon.png" alt="Range Icon" height="20" width="20"></td>
 
  </tr>
 
  <tr>
 
    <td colspan="5" class="infobox-nested">{{{maxHealth}}}</td>
 
    <td colspan="5" class="infobox-nested">{{{attackLevel}}}</td>
 
    <td colspan="5" class="infobox-nested">{{{strengthLevel}}}</td>
 
    <td colspan="5" class="infobox-nested">{{{defenseLevel}}}</td>
 
    <td colspan="5" class="infobox-nested">{{{magic}}}</td>
 
    <td colspan="5" class="infobox-nested">{{{range}}}</td>
 
  </tr>
 
</table>
 
</div>
 
<div class="infobox-title">Attack Bonus</div>
 
<div class="infobox-stats">
 
<table class="fullWidth-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 class="fullWidth-table">
 
  <tr>
 
    <td colspan="6" class="infobox-nested">Stab</td>
 
    <td colspan="6" class="infobox-nested">Slash</td>
 
    <td colspan="6" class="infobox-nested">Crush</td>
 
    <td colspan="6" class="infobox-nested">Magic</td>
 
    <td colspan="6" class="infobox-nested">Range</td>
 
  </tr>
 
  <tr>
 
    <td colspan="6" class="infobox-nested">{{{stab}}}</td>
 
    <td colspan="6" class="infobox-nested">{{{slash}}}</td>
 
    <td colspan="6" class="infobox-nested">{{{crush}}}</td>
 
    <td colspan="6" class="infobox-nested">{{{magicDef}}}</td>
 
    <td colspan="6" class="infobox-nested">{{{rangeDef}}}</td>
 
  </tr>
 
</table>
 
</div>
 
<div class="infobox-title">Strength Bonus</div>
 
<div class="infobox-stats">
 
<table class="fullWidth-table">
 
  <tr>
 
    <td colspan="10" class="infobox-nested">Melee Str</td>
 
    <td colspan="10" class="infobox-nested">Ranged Str</td>
 
    <td colspan="10" class="infobox-nested">Magic Dmg</td>
 
  </tr>
 
  <tr>
 
    <td colspan="10" class="infobox-nested">{{{meeleStr}}}</td>
 
    <td colspan="10" class="infobox-nested">{{{rangeStr}}}</td>
 
    <td colspan="10" class="infobox-nested">{{{magicStr}}}</td>
 
  </tr>
 
  <tr>
 
    <td colspan="30" class="infobox-nested">{{{notes|}}}</td>
 
  </tr>
 
</table>
 
</div>
 
</div>
 
 
 
 
 
<noinclude>
 
====Usage====
 
<nowiki>{{Infobox Monster</nowiki>
 
|title =
 
|image =
 
|release =
 
|zones =
 
|level =
 
|maxHit =
 
|attackStyle =
 
|attackSpeed =
 
|maxHealth =
 
|attackLevel =
 
|strengthLevel =
 
|defenseLevel =
 
|magic =
 
|range =
 
|accuracy =
 
|stab =
 
|slash =
 
|crush =
 
|magicDef =
 
|rangeDef =
 
|meeleStr =
 
|rangeStr =
 
|magicStr =
 
|notes =
 
<nowiki>}}</nowiki>
 
</noinclude><noinclude>
 
[[Category:Template]]
 
</noinclude>
 

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=)}}