Difference between revisions of "Template:Infobox Monster"

From Idlescape Wiki
Jump to navigation Jump to search
m (added (%) to affinities)
(Added Icons for damage types)
Line 2: Line 2:
 
{{Infobox
 
{{Infobox
 
| autoheaders    = y
 
| autoheaders    = y
| title         = {{PAGENAME}}
+
| title = {{#if: {{{title|}}}|{{{title}}}|{{PAGENAME}}}}
|  image       = {{#if: {{{image|}}}|<img src="{{{image}}}" height="auto" width="250">|{{img|{{PAGENAME}}|250}}}}
+
|  image = {{#if: {{{image|}}}|<img src="{{{image}}}" height="auto" width="250">|{{img|{{PAGENAME}}|250}}}}
 
|  label1  = Released
 
|  label1  = Released
 
|  data1  = {{{release|}}}
 
|  data1  = {{{release|}}}
Line 18: Line 18:
 
|  sdata7 = {{{critMultiplier|}}}
 
|  sdata7 = {{{critMultiplier|}}}
 
| header8 = Offensive Affinities (%)
 
| header8 = Offensive Affinities (%)
| slabel9 = Melee
+
| slabel9 = {{img|melee splash|20}}
 
|  sdata9 = {{{offMelee|}}}
 
|  sdata9 = {{{offMelee|}}}
| slabel10 = Magic
+
| slabel10 = {{img|magic splash|20}}
 
|  sdata10 = {{{offMagic|}}}
 
|  sdata10 = {{{offMagic|}}}
| slabel11 = Range
+
| slabel11 = {{img|range splash|20}}
 
|  sdata11 = {{{offRange|}}}
 
|  sdata11 = {{{offRange|}}}
 
| sbreak12  = yes
 
| sbreak12  = yes
| slabel13 = Piercing
+
| slabel13 = [[File:Stab_splash.png|frameless|20px]]
 
|  sdata13 = {{{offPiercing|}}}
 
|  sdata13 = {{{offPiercing|}}}
| slabel14 = Blunt
+
| slabel14 = [[File:Crush_splash.png|frameless|20px]]
 
|  sdata14 = {{{offBlunt|}}}
 
|  sdata14 = {{{offBlunt|}}}
| slabel15 = Slashing
+
| slabel15 = [[File:Slash_splash.png|frameless|20px]]
 
|  sdata15 = {{{offSlashing|}}}
 
|  sdata15 = {{{offSlashing|}}}
 
| sbreak16  = yes
 
| sbreak16  = yes
| slabel17 = Fire
+
| slabel17 = {{img|fire splash|20}}
 
|  sdata17 = {{{offFire|}}}
 
|  sdata17 = {{{offFire|}}}
| slabel18 = Ice
+
| slabel18 = {{img|ice splash|20}}
 
|  sdata18 = {{{offIce|}}}
 
|  sdata18 = {{{offIce|}}}
| slabel19 = Nature
+
| slabel19 = {{img|nature splash|20}}
 
|  sdata19 = {{{offNature|}}}
 
|  sdata19 = {{{offNature|}}}
| slabel20 = Chaos
+
| sbreak20 = yes
sdata20 = {{{offChaos|}}}
+
| slabel21 = {{img|chaos splash|20}}
| slabel21 = Poison
+
sdata21 = {{{offChaos|}}}
sdata21 = {{{offPoison|}}}
+
| slabel23 = Poison
| header22 = Defensive Stats
+
sdata23 = {{{offPoison|}}}
| slabel23 = Base Threat
+
| slabel24 = {{img|lightning splash|20}}
sdata23 = {{{threat|}}}
+
|  sdata24 = {{{offLightning|}}}
| slabel24 = Crit Avoidance
+
| header25 = Defensive Stats
sdata24 = {{{critAvoidance|}}}
+
| slabel26 = Base Threat
| slabel25 = Crit Reduction
+
sdata26 = {{{threat|}}}
sdata25 = {{{critReduction|}}}
+
| slabel27 = Crit Avoidance
| header26 = Defensive Affinities (%)
+
sdata27 = {{{critAvoidance|}}}
| slabel27 = Melee
+
| slabel28 = Crit Reduction
sdata27 = {{{defMeele|}}}
+
sdata28 = {{{critReduction|}}}
| slabel28 = Magic
+
| header29 = Defensive Affinities (%)
sdata28 = {{{defMagic|}}}
+
| slabel30 = {{img|melee splash|20}}
| slabel29 = Range
+
sdata30 = {{{defMeele|}}}
sdata29 = {{{defRange|}}}
+
| slabel31 = {{img|magic splash|20}}
| sbreak30 = yes
+
sdata31 = {{{defMagic|}}}
| slabel31 = Piercing
+
| slabel32 = {{img|range splash|20}}
sdata31 = {{{defPiercing|}}}
+
sdata32 = {{{defRange|}}}
| slabel32 = Blunt
+
| sbreak33 = yes
sdata32 = {{{defBlunt|}}}
+
| slabel34 = [[File:Stab_splash.png|frameless|20px]]
| slabel33 = Slashing
+
sdata34 = {{{defPiercing|}}}
sdata33 = {{{defSlashing|}}}
+
| slabel35 = [[File:Crush_splash.png|frameless|20px]]
| sbreak34 = yes
+
sdata35 = {{{defBlunt|}}}
| slabel35 = Fire
+
| slabel36 = [[File:Slash_splash.png|frameless|20px]]
sdata35 = {{{defFire|}}}
+
sdata36 = {{{defSlashing|}}}
| slabel36 = Ice
+
| sbreak37 = yes
sdata36 = {{{defIce|}}}
+
| slabel38 = {{img|fire splash|20}}
| slabel37 = Nature
+
sdata38 = {{{defFire|}}}
sdata37 = {{{defNature|}}}
+
| slabel39 = {{img|ice splash|20}}
| slabel38 = Chaos
+
sdata39 = {{{defIce|}}}
sdata38 = {{{defChaos|}}}
+
| slabel40 = {{img|nature splash|20}}
| slabel39 = Poison
+
sdata40 = {{{defNature|}}}
sdata39 = {{{defPoison|}}}
+
| sbreak41 = yes
| header40 = Notes
+
| slabel42 = {{img|chaos splash|20}}
sdata40 = {{{notes|}}}
+
sdata42 = {{{defChaos|}}}
 +
| slabel43 = Poison
 +
sdata43 = {{{defPoison|}}}
 +
| slabel44 = {{img|lightning splash|20}}
 +
|  sdata44 = {{{defLightning|}}}
 +
| header45 = Notes
 +
sdata45 = {{{notes|}}}
 
}}</includeonly>
 
}}</includeonly>
 
<noinclude>{{/doc}}[[Category:Template]]</noinclude>
 
<noinclude>{{/doc}}[[Category:Template]]</noinclude>

Revision as of 09:12, 31 May 2024


Infobox Monster
Infobox Monster
Zonesfarm
Offensive Stats
DPS
0(melee)

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