Difference between revisions of "Template:Infobox Monster"

From Idlescape Wiki
Jump to navigation Jump to search
m
(replaced {{img}} with file for better performance)
 
(19 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div class="infobox">
+
<includeonly>
<div class="infobox-header">{{{title|{{PAGENAME}}}}}</div>
+
{{Infobox
<div class="infobox-image"><img src="{{{image}}}" height="auto" width="250"></div>
+
| autoheaders    = y
<table>
+
| title = {{#if: {{{title|}}}|{{{title}}}|{{PAGENAME}}}}
<tr>
+
|  image = {{#if: {{{image|}}}|<img src="{{{image}}}" height="auto" width="250">|{{img|{{PAGENAME}}|250}}}}
    <th colspan="10">Released</th>
+
|  label1  = Released
    <td colspan="20">{{{release}}}</td>
+
|  data1  = {{{release|}}}
</tr>
+
|  label2  = Zones
<tr>
+
|  data2  = {{{zones|}}}
    <th colspan="10">Zones</th>
+
| header3 = Offensive Stats
    <td colspan="20">{{{zones}}}</td>
+
| slabel4 = Attack Speed
</tr>
+
|  sdata4 = {{{attackSpeed|}}}
<tr>
+
| slabel5 = DPS
    <th colspan="10">Combat Level</th>
+
|  sdata5 = {{{DPS|}}}
    <td colspan="20">{{{level}}}</td>
+
| slabel6 = Crit Chance
</tr>
+
|  sdata6 = {{{critChance|}}}
<tr>
+
| slabel7 = Crit Multiplier
    <th colspan="10">Max Hit</th>
+
|  sdata7 = {{{critMultiplier|}}}
    <td colspan="20">{{{maxHit}}}</td>
+
| header8 = Offensive Affinities (%)
</tr>
+
| slabel9 = [[File:Melee_splash.png|frameless|20px]]
<tr>
+
|  sdata9 = {{{offMelee|}}}
    <th colspan="10">Attack Style</th>
+
| slabel10 = [[File:Magic_splash.png|frameless|20px]]
    <td colspan="20">{{{attackStyle}}}</td>
+
|  sdata10 = {{{offMagic|}}}
</tr>
+
| slabel11 = [[File:Range_splash.png|frameless|20px]]
<tr>
+
|  sdata11 = {{{offRange|}}}
    <th colspan="10">Attack Speed</th>
+
| sbreak12  = yes
    <td colspan="20">{{{attackSpeed}}}</td>
+
| slabel13 = [[File:Stab_splash.png|frameless|20px]]
</tr>
+
|  sdata13 = {{{offPiercing|}}}
</table>
+
| slabel14 = [[File:Crush_splash.png|frameless|20px]]
<div class="infobox-title">Combat Stats</div>
+
|  sdata14 = {{{offBlunt|}}}
<div class="infobox-stats">
+
| slabel15 = [[File:Slash_splash.png|frameless|20px]]
<table class="fullWidth-table">
+
|  sdata15 = {{{offSlashing|}}}
  <tr>
+
| sbreak16  = yes
    <td colspan="5" class="infobox-nested"><img src="https://idlescape.com/images/combat/constitution_icon.png" alt="Constitution Icon" height="20" width="20"></td>
+
| slabel17 = [[File:Fire_splash.png|frameless|20px]]
    <td colspan="5" class="infobox-nested"><img src="https://idlescape.com/images/combat/attack_icon.png" alt="Attack Icon" height="20" width="20"></td>
+
|  sdata17 = {{{offFire|}}}
    <td colspan="5" class="infobox-nested"><img src="https://idlescape.com/images/combat/strength_icon.png" alt="Strength Icon" height="20" width="20"></td>
+
| slabel18 = [[File:Ice_splash.png|frameless|20px]]
    <td colspan="5" class="infobox-nested"><img src="https://idlescape.com/images/combat/defense_icon.png" alt="Defence Icon" height="20" width="20"></td>
+
|  sdata18 = {{{offIce|}}}
    <td colspan="5" class="infobox-nested"><img src="https://idlescape.com/images/enchanting/enchanting_logo.png" alt="Magic Icon" height="20" width="20"></td>
+
| slabel19 = [[File:Nature_splash.png|frameless|20px]]
    <td colspan="5" class="infobox-nested"><img src="https://idlescape.com/images/combat/arrows_icon.png" alt="Range Icon" height="20" width="20"></td>
+
|  sdata19 = {{{offNature|}}}
  </tr>
+
| sbreak20 = yes
  <tr>
+
| slabel21 = [[File:Chaos_splash.png|frameless|20px]]
    <td colspan="5" class="infobox-nested">{{{maxHealth}}}</td>
+
|  sdata21 = {{{offChaos|}}}
    <td colspan="5" class="infobox-nested">{{{attackLevel}}}</td>
+
| slabel23 = [[File:Poison_splash.png|frameless|20px]]
    <td colspan="5" class="infobox-nested">{{{strengthLevel}}}</td>
+
|  sdata23 = {{{offPoison|}}}
    <td colspan="5" class="infobox-nested">{{{defenseLevel}}}</td>
+
| slabel24 = [[File:Lightning_splash.png|frameless|20px]]
    <td colspan="5" class="infobox-nested">{{{magic}}}</td>
+
|  sdata24 = {{{offLightning|}}}
    <td colspan="5" class="infobox-nested">{{{range}}}</td>
+
| header25 = Defensive Stats
  </tr>
+
| slabel26 = Base Threat
</table>
+
|  sdata26 = {{{threat|}}}
</div>
+
| slabel27 = Crit Avoidance
<div class="infobox-title">Attack Bonus</div>
+
|  sdata27 = {{{critAvoidance|}}}
<div class="infobox-stats">
+
| slabel28 = Crit Reduction
<table class="fullWidth-table">
+
|  sdata28 = {{{critReduction|}}}
  <tr>
+
| header29 = Defensive Affinities (%)
    <td colspan="30">Accuracy</td>
+
| slabel30 = [[File:Melee_splash.png|frameless|20px]]
  </tr>
+
|  sdata30 = {{{defMeele|}}}
  <tr>
+
| slabel31 = [[File:Magic_splash.png|frameless|20px]]
    <td colspan="30">{{{accuracy}}}</td>
+
|  sdata31 = {{{defMagic|}}}
  </tr>
+
| slabel32 = [[File:Range_splash.png|frameless|20px]]
</table>
+
|  sdata32 = {{{defRange|}}}
</div>
+
| sbreak33 = yes
<div class="infobox-title">Defence Bonus</div>
+
| slabel34 = [[File:Stab_splash.png|frameless|20px]]
<div class="infobox-stats">
+
|  sdata34 = {{{defPiercing|}}}
<table class="fullWidth-table">
+
| slabel35 = [[File:Crush_splash.png|frameless|20px]]
  <tr>
+
|  sdata35 = {{{defBlunt|}}}
    <td colspan="6" class="infobox-nested">Stab</td>
+
| slabel36 = [[File:Slash_splash.png|frameless|20px]]
    <td colspan="6" class="infobox-nested">Slash</td>
+
|  sdata36 = {{{defSlashing|}}}
    <td colspan="6" class="infobox-nested">Crush</td>
+
| sbreak37 = yes
    <td colspan="6" class="infobox-nested">Magic</td>
+
| slabel38 = [[File:Fire_splash.png|frameless|20px]]
    <td colspan="6" class="infobox-nested">Range</td>
+
|  sdata38 = {{{defFire|}}}
  </tr>
+
| slabel39 = [[File:Ice_splash.png|frameless|20px]]
  <tr>
+
|  sdata39 = {{{defIce|}}}
    <td colspan="6" class="infobox-nested">{{{stab}}}</td>
+
| slabel40 = [[File:Nature_splash.png|frameless|20px]]
    <td colspan="6" class="infobox-nested">{{{slash}}}</td>
+
|  sdata40 = {{{defNature|}}}
    <td colspan="6" class="infobox-nested">{{{crush}}}</td>
+
| sbreak41 = yes
    <td colspan="6" class="infobox-nested">{{{magicDef}}}</td>
+
| slabel42 = [[File:Chaos_splash.png|frameless|20px]]
    <td colspan="6" class="infobox-nested">{{{rangeDef}}}</td>
+
|  sdata42 = {{{defChaos|}}}
  </tr>
+
| slabel43 = [[File:Poison_splash.png|frameless|20px]]
</table>
+
|  sdata43 = {{{defPoison|}}}
</div>
+
| slabel44 = [[File:Lightning_splash.png|frameless|20px]]
<div class="infobox-title">Strength Bonus</div>
+
|  sdata44 = {{{defLightning|}}}
<div class="infobox-stats">
+
| header45 = Notes
<table class="fullWidth-table">
+
|  sdata45 = {{{notes|}}}
  <tr>
+
}}</includeonly>
    <td colspan="10" class="infobox-nested">Melee Str</td>
+
<noinclude>{{/doc}}[[Category:Template]]</noinclude>
    <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>
 
</table>
 
</div>
 
</div>
 

Latest revision as of 14:51, 31 May 2024


Chicken
Released19-11-2019 (Update)
Zonesfarm
Offensive Stats
Attack SpeedDPSCrit ChanceCrit Multiplier
2.4s0(melee)5%110%
Offensive Affinities (%)
Melee splash.pngMagic splash.pngRange splash.png
000
Stab splash.pngCrush splash.pngSlash splash.png
000
Fire splash.pngIce splash.pngNature splash.png
000
Chaos splash.pngPoison splash.pngLightning splash.png
000
Defensive Stats
Base ThreatCrit AvoidanceCrit Reduction
-4205%10%
Defensive Affinities (%)
Melee splash.pngMagic splash.pngRange splash.png
000
Stab splash.pngCrush splash.pngSlash splash.png
0-250
Fire splash.pngIce splash.pngNature splash.png
000
Chaos splash.pngPoison splash.pngLightning splash.png
000

Usage[edit source]

Leave title empty if it's the same as the page title
Leave image empty if it's the image of page title, else put image link
offMelee means melee offensive affinity
defMelee means melee defensive affinity
you can get the stat from https://discord.com/channels/616248556956942336/1245598114254163989

{{Infobox Monster
|title=
|image=
|release=
|zones=
|attackSpeed=
|DPS=
|critChance=
|critMultiplier=
|offMelee=
|offMagic=
|offRange=
|offPiercing=
|offBlunt=
|offSlashing=
|offFire=
|offIce=
|offNature=
|offChaos=
|offPoison=
|offLightning
|threat=
|critAvoidance=
|critReduction=
|defMeele=
|defMagic=
|defRange=
|defPiercing=
|defBlunt=
|defSlashing=
|defFire=
|defIce=
|defNature=
|defChaos=
|defPoison=
|defLightning
|notes = 
}}