Template:ItemStats: Difference between revisions

From Redemption Wiki
Jump to navigation Jump to search
>Bman00100
(Changed the set picture)
>Bman00100
m (Reverted edits by Bman00100 (talk | block) to last version by Coffee Nut)
Line 1: Line 1:
{| style="border:1px #AAA solid;line-height:1.5em;direction:ltr;width:1%;border:1px solid #AAA !important" class="infobox" cellspacing="0" cellpadding="0" style="float:left;"
{{Infobox Bonuses
! colspan="3" style="border-bottom:1px solid #aaa" {{!}} [[Combat|Combat Stats]]
|image = [[File:Voldemort.png]]
{{!}}-
|astab = 0
{{!}} style="padding:4px" {{!}}
|aslash = 0
{| style="display:inline-block;cursor:default;margin:-5px {{#expr:-2{{#if:{{{image|}}}|-4}}}}px -10px 0"
|acrush = 0
{{!}} colspan="3" {{!}}
|amagic = -10
{| style="margin:0 -3px"
|arange = -5
! width="115" style="text-align:left" {{!}} Class
|dstab = +70
! width="69" {{!}} Slot
|dslash = +75
{{!}}-
|dcrush = +72
{{!}} class="iCSbox" align="center" title="Item class" {{!}} {{#switch:{{lc:{{{class|}}}}}|melee=[[File:Attack.png|x34px|Melee|link=Melee]]|ranged=[[File:Ranged.png|x34px|Ranged|link=Ranged]]|magic=[[File:Magic.png|x34px|Magic|link=Magic]]|hybrid=[[File:CombatSwords.png|x34px|Hybrid|link=Hybrid]] All|none=None|n/a=None|?=None|{{#if:{{{class|}}}|{{{class}}}|''Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>''}}}}
|dmagic = +10
 
|drange = +72
{{!}} class="iCSbox" style="text-align:center;height:1% !important" {{!}} {{#switch:{{lc:{{{slot|}}}}}
|str = +7
|head=[[File:Head slot.png|Head slot|link=Head slot]]{{mainonly|[[Category:Head slot items]]}}
|prayer = 0
|ammo=[[File:Ammo slot.png|Ammunition slot|link=Ammunition slot]]{{mainonly|[[Category:Ammunition slot items]]}}
|slot = Shield
|neck=[[File:Neck slot.png|Neck slot|link=Neck slot]]{{mainonly|[[Category:Neck slot items]]}}
|cape=[[File:Cape slot.png|Cape slot|link=Cape slot]]{{mainonly|[[Category:Cape slot items]]}}
|main|mainhand|main-hand|weapon=[[File:Weapon slot.png|Mainhand slot|link=Mainhand slot]]{{mainonly|[[Category:Weapon slot items]]}}
|2h=[[File:2h slot.png|Two-handed slot|link=Two-handed slot]]{{mainonly|[[Category:Weapon slot items]][[Category:Two-handed slot items]]}}
|body=[[File:Torso slot.png|center|Body slot|link=Body slot]]{{mainonly|[[Category:Body slot items]]}}
|off|offhand|off-hand|shield=[[File:Shield slot.png|Offhand slot|link=Offhand slot]]{{mainonly|[[Category:Offhand slot items]]}}
|legs=[[File:Legs slot.png|Legwear slot|link=Legwear slot]]{{mainonly|[[Category:Legwear slot items]]}}
|hands=[[File:Gloves slot.png|29px|link=Hands slot]]{{mainonly|[[Category:Hand slot items]]}}
|feet=[[File:Boots slot.png|Feet slot|link=Feet slot]]{{mainonly|[[Category:Feet slot items]]}}
|ring=[[File:Ring slot.png|Ring slot|link=Ring slot]]{{mainonly|[[Category:Rings]]}}
|set=[[File:Barrows - Guthan's set.png.png|Armour Set|link=Sets]]{{mainonly|[[Category:Sets]]}}
|set=<!--empty on purpose-->
|none=<!--empty on purpose-->
|#default=''? <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>''{{mainonly|}}
}}
}}
|}
{{!}}-
! width="62" style="text-align:left" {{!}} Bonus
! width="62" {{!}} Attack
! width="62" {{!}} Defence
{{!}}-
{{!}} class="iCSbox" {{!}} Stab
{{!}} class="iCSbox" style="text-align:center" title="Stab Attack Bonus" {{!}} {{#if:{{{Stabatk|}}}|{{{Stabatk}}}|-}}
{{!}} class="iCSbox" style="text-align:center" title="Stab Defence Bonus" {{!}} {{#if:{{{Stabdef|}}}|{{{Stabdef}}}|-}}
{{!}}-
{{!}} class="iCSbox" {{!}} Slash
{{!}} class="iCSbox" style="text-align:center" title="Slash Attack Bonus" {{!}} {{#if:{{{Slashatk|}}}|{{{Slashatk}}}|-}}
{{!}} class="iCSbox" style="text-align:center" title="Slash Defence Bonus" {{!}} {{#if:{{{Slashdef|}}}|{{{Slashdef}}}|-}}
{{!}}-
{{!}} class="iCSbox" {{!}} Crush
{{!}} class="iCSbox" style="text-align:center" title="Crush Attack Bonus" {{!}} {{#if:{{{Crushatk|}}}|{{{Crushatk}}}|-}}
{{!}} class="iCSbox" style="text-align:center" title="Crush Defence Bonus" {{!}} {{#if:{{{Crushdef|}}}|{{{Crushdef}}}|-}}
{{!}}-
{{!}} class="iCSbox" {{!}} Magic
{{!}} class="iCSbox" style="text-align:center" title="Magic Attack Bonus" {{!}} {{#if:{{{Magicatk|}}}|{{{Magicatk}}}|-}}
{{!}} class="iCSbox" style="text-align:center" title="Magic Defence Bonus" {{!}} {{#if:{{{Magicdef|}}}|{{{Magicdef}}}|-}}
{{!}}-
{{!}} class="iCSbox" {{!}} Range
{{!}} class="iCSbox" style="text-align:center" title="Range Attack Bonus" {{!}} {{#if:{{{Rangeatk|}}}|{{{Rangeatk}}}|-}}
{{!}} class="iCSbox" style="text-align:center" title="Range Defence Bonus" {{!}} {{#if:{{{Rangedef|}}}|{{{Rangedef}}}|-}}
{{!}}-   
! style="text-align:left;" colspan="3" {{!}} <span style="width:186px;display:inline-block">'''Special bonuses'''</span>
{{!}}-
{{!}} class="iCSbox" {{!}} Strength
{{!}} class="iCSbox" style="text-align:center" title="Strength Attack Bonus" {{!}} {{#if:{{{Strboost|}}}|{{{Strboost}}}|-}}
{{!}}-
{{!}} class="iCSbox" {{!}} Prayer
{{!}} class="iCSbox" style="text-align:center" title="Prayer Attack Bonus" {{!}} {{#if:{{{Prayboost|}}}|{{{Prayboost}}}|-}}
{{!}}-
|}
{{#if:{{{image|}}}|{{!}} style="padding:4px" {{!}} <div align="center">{{#ifeq:{{lc:{{{image|}}}}}|no||[[File:{{rmv|File:|{{{image}}}}}{{!}}{{#if:{{#pos:{{{image|}}}|{{!}}}}||150}}x{{#expr:200{{#if:{{{aspeed|}}}|+68}}}}px]]}}</div>}}
{{!}}-
{{!}} class="cioCompareLink" style="text-align:center !important" {{!}} <div align="center" style="color:#002BB8;text-align:left"><u></u></div>
{{!}} <div align="center" style="font-size:0.85em">{{#if:{{{caption|}}}|{{ucfirst:{{lc:{{rmv|.|{{{caption}}}}}}}}}}}</div>
{{!}} <div align="center" style="font-size:0.85em">{{#if:{{{caption2|}}}|{{ucfirst:{{lc:{{rmv|.|{{{caption2}}}}}}}}}}}</div>
|-
|<span style="margin-top:-4px; font-size:xx-small;"></span>
|}{{Mainonly|{{#switch:{{lc:{{{slot|}}}}}|spell|none=|#default=[[Category:Equipment]]}}{{#switch:{{lc:{{{mainType|}}}}}|crushing|crush=[[Category:Crush weapons]]|slashing|slash=[[Category:Slash weapons]]|stabbing|stab=[[Category:Stab weapons]]|throwing|thrown=[[Category:Thrown weapons]]}}{{#switch:{{lc:{{{offType|}}}}}|crushing|crush=[[Category:Crush weapons]]|slashing|slash=[[Category:Slash weapons]]|stabbing|stab=[[Category:Stab weapons]]|throwing|thrown=[[Category:Thrown weapons]]}}}}
<infobox>
<image source="image"/>
<data source="class"><label>class</label></data>
<data source="slot"><label>slot</label></data>
<data source="Stabatk"><label>Stabatk</label></data>
<data source="Stabdef"><label>Stab</label></data>
<data source="Slashatk"><label>Slashatk</label></data>
<data source="Slashdef"><label>Slash</label></data>
<data source="Crushatk"><label>Crushatk</label></data>
<data source="Crushdef"><label>Crush</label></data>
<data source="Magicatk"><label>Magicatk</label></data>
<data source="Magicdef"><label>Magic</label></data>
<data source="Rangeatk"><label>Rangeatk</label></data>
<data source="Rangedef"><label>Range</label></data>
<data source="Strboost"><label>Strength</label></data>
<data source="Prayboost"><label>Prayer</label></data>
<data source="aspeed"><label>aspeed</label></data>
<data source="caption2"><label>caption2</label></data>
<data source="mainType"><label>mainType</label></data>
<data source="offType"><label>offType</label></data>
</infobox>
<noinclude>
== Usage & preview ==
Information:


<pre>
{{Infobox Bonuses
{{ItemStats
|slot = weapon
|image= Doesn't work as of right now
|astab = +20
|class= Melee, Ranged, Magic, Hybrid
|aslash = -2
|slot=
|acrush = +39
|Stabatk=
|amagic = 0
|Stabdef=
|arange = 0
|Slashatk=
|dstab = 0
|Slashdef=
|dslash = 0
|Crushatk=
|dcrush = 0
|Crushdef=
|dmagic = 0
|Magicatk=
|drange = 0
|Magicdef=
|str = +36
|Rangeatk=
|prayer = +4
|Rangedef=
|aspeed = 5
|Strboost=
|image = Voldemort.png
|Prayboost=
|caption = MONSTER
|aspeed=
|caption=
|caption2=
|mainType=
|offType=
}}
}}
</pre>

Revision as of 02:36, 15 January 2017

Hover over image for type [[File:
Error creating thumbnail: Unable to save thumbnail to destination
]]
Error creating thumbnail: Unable to save thumbnail to destination
 Attack bonus
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
0 0 0 -10 -5
Error creating thumbnail: Unable to save thumbnail to destination
 Defence bonus
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
+70 +75 +72 +10 +72
Other bonuses Slot
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination

Shield slot.png

+7 0 ? 0
Bonus Stats Item Class
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination

?

1x 1x1 ? ?
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
? ? ? ?


Hover over image for type
Error creating thumbnail: Unable to save thumbnail to destination

MONSTER
Error creating thumbnail: Unable to save thumbnail to destination
 Attack bonus
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
+20 -2 +39 0 0
Error creating thumbnail: Unable to save thumbnail to destination
 Defence bonus
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
0 0 0 0 0
Other bonuses Slot
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination

Weapon slot.png

+36 0 ? +4
Bonus Stats Item Class
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination

?

1x 1x1 ? ?
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
? ? ? ?
Error creating thumbnail: Unable to save thumbnail to destination