Difference between revisions of "Template:Infobox Monster"

From Idlescape Wiki
Jump to navigation Jump to search
(Test template for a monster infobox)
 
(used module)
Tag: Replaced
 
(32 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}}}|300px]]</div>}}
 
<table>
 
{{#if:{{{release|}}}|<tr>
 
    <th>Released</th>
 
    <td>{{{release}}}</td>
 
</tr>}}
 
{{#if:{{{zones|}}}|<tr>
 
    <th>Zones</th>
 
    <td>{{{zones}}}</td>
 
</tr>}}
 
{{#if:{{{level|}}}|<tr>
 
    <th>Combat Level</th>
 
    <td>{{{level}}}</td>
 
</tr>}}
 
{{#if:{{{maxHit|}}}|<tr>
 
    <th>Max hit</th>
 
    <td>{{{maxHit}}}</td>
 
</tr>}}
 
{{#if:{{{attackStyle|}}}|<tr>
 
    <th>Attack style</th>
 
    <td>{{{attackStyle}}}</td>
 
</tr>}}
 
{{#if:{{{attackSpeed|}}}|<tr>
 
    <th>Zones</th>
 
    <td>{{{attackSpeed}}}</td>
 
</tr>}}
 
<div class="infobox-title">Combat stats</div>
 
  <tr>
 
    <th>{{{maxHealth}}}</th>
 
    <th>{{{attackLevel}}}</th>
 
    <th>{{{strengthLevel}}}</th>
 
    <th>{{{defenseLevel}}}</th>
 
    <th>{{{magic}}}</th>
 
    <th>{{{range}}}</th>
 
  </tr>
 
<div class="infobox-title">Attack bonus</div>
 
  <tr>
 
    <th>{{{accuracy}}}</th>
 
  </tr>
 
<div class="infobox-title">Defence bonus</div>
 
  <tr>
 
    <th>{{{stab}}}</th>
 
    <th>{{{slash}}}</th>
 
    <th>{{{crush}}}</th>
 
    <th>{{{magicDef}}}</th>
 
    <th>{{{rangeDef}}}</th>
 
  </tr>
 
<div class="infobox-title">Strength bonus</div>
 
  <tr>
 
    <th>{{{meeleStr}}}</th>
 
    <th>{{{rangeStr}}}</th>
 
    <th>{{{magicStr}}}</th>
 
  </tr>
 
</table>
 
</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=)}}