Difference between revisions of "Template:Infobox Monster"

From Idlescape Wiki
Jump to navigation Jump to search
(replaced {{img}} with file for better performance)
(used module)
Tag: Replaced
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly>{{#invoke:Infobox Monster|infoboxMonster}}</includeonly><noinclude>{{/doc}}[[Category:Template]]</noinclude>
{{Infobox
 
| autoheaders    = y
 
| title = {{#if: {{{title|}}}|{{{title}}}|{{PAGENAME}}}}
 
|  image = {{#if: {{{image|}}}|<img src="{{{image}}}" height="auto" width="250">|{{img|{{PAGENAME}}|250}}}}
 
|  label1  = Released
 
|  data1  = {{{release|}}}
 
|  label2  = Zones
 
|  data2  = {{{zones|}}}
 
| header3 = Offensive Stats
 
| slabel4 = Attack Speed
 
|  sdata4 = {{{attackSpeed|}}}
 
| slabel5 = DPS
 
|  sdata5 = {{{DPS|}}}
 
| slabel6 = Crit Chance
 
|  sdata6 = {{{critChance|}}}
 
| slabel7 = Crit Multiplier
 
|  sdata7 = {{{critMultiplier|}}}
 
| header8 = Offensive Affinities (%)
 
| slabel9 = [[File:Melee_splash.png|frameless|20px]]
 
|  sdata9 = {{{offMelee|}}}
 
| slabel10 = [[File:Magic_splash.png|frameless|20px]]
 
|  sdata10 = {{{offMagic|}}}
 
| slabel11 = [[File:Range_splash.png|frameless|20px]]
 
|  sdata11 = {{{offRange|}}}
 
| sbreak12  = yes
 
| slabel13 = [[File:Stab_splash.png|frameless|20px]]
 
|  sdata13 = {{{offPiercing|}}}
 
| slabel14 = [[File:Crush_splash.png|frameless|20px]]
 
|  sdata14 = {{{offBlunt|}}}
 
| slabel15 = [[File:Slash_splash.png|frameless|20px]]
 
|  sdata15 = {{{offSlashing|}}}
 
| sbreak16  = yes
 
| slabel17 = [[File:Fire_splash.png|frameless|20px]]
 
|  sdata17 = {{{offFire|}}}
 
| slabel18 = [[File:Ice_splash.png|frameless|20px]]
 
|  sdata18 = {{{offIce|}}}
 
| slabel19 = [[File:Nature_splash.png|frameless|20px]]
 
|  sdata19 = {{{offNature|}}}
 
| sbreak20 = yes
 
| slabel21 = [[File:Chaos_splash.png|frameless|20px]]
 
|  sdata21 = {{{offChaos|}}}
 
| slabel23 = [[File:Poison_splash.png|frameless|20px]]
 
|  sdata23 = {{{offPoison|}}}
 
| slabel24 = [[File:Lightning_splash.png|frameless|20px]]
 
|  sdata24 = {{{offLightning|}}}
 
| header25 = Defensive Stats
 
| slabel26 = Base Threat
 
|  sdata26 = {{{threat|}}}
 
| slabel27 = Crit Avoidance
 
|  sdata27 = {{{critAvoidance|}}}
 
| slabel28 = Crit Reduction
 
|  sdata28 = {{{critReduction|}}}
 
| header29 = Defensive Affinities (%)
 
| slabel30 = [[File:Melee_splash.png|frameless|20px]]
 
|  sdata30 = {{{defMeele|}}}
 
| slabel31 = [[File:Magic_splash.png|frameless|20px]]
 
|  sdata31 = {{{defMagic|}}}
 
| slabel32 = [[File:Range_splash.png|frameless|20px]]
 
|  sdata32 = {{{defRange|}}}
 
| sbreak33 = yes
 
| slabel34 = [[File:Stab_splash.png|frameless|20px]]
 
|  sdata34 = {{{defPiercing|}}}
 
| slabel35 = [[File:Crush_splash.png|frameless|20px]]
 
|  sdata35 = {{{defBlunt|}}}
 
| slabel36 = [[File:Slash_splash.png|frameless|20px]]
 
|  sdata36 = {{{defSlashing|}}}
 
| sbreak37 = yes
 
| slabel38 = [[File:Fire_splash.png|frameless|20px]]
 
|  sdata38 = {{{defFire|}}}
 
| slabel39 = [[File:Ice_splash.png|frameless|20px]]
 
|  sdata39 = {{{defIce|}}}
 
| slabel40 = [[File:Nature_splash.png|frameless|20px]]
 
|  sdata40 = {{{defNature|}}}
 
| sbreak41 = yes
 
| slabel42 = [[File:Chaos_splash.png|frameless|20px]]
 
|  sdata42 = {{{defChaos|}}}
 
| slabel43 = [[File:Poison_splash.png|frameless|20px]]
 
|  sdata43 = {{{defPoison|}}}
 
| slabel44 = [[File:Lightning_splash.png|frameless|20px]]
 
|  sdata44 = {{{defLightning|}}}
 
| header45 = Notes
 
|  sdata45 = {{{notes|}}}
 
}}</includeonly>
 
<noinclude>{{/doc}}[[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=)}}