Template:ItemStats: Difference between revisions

From Redemption Wiki
Jump to navigation Jump to search
>Bman00100
No edit summary
>Bman00100
No edit summary
Line 1: Line 1:
<infobox>
{| 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;"
  <title source="title1">
! colspan="3" style="border-bottom:1px solid #aaa" {{!}} [[Combat|Combat Stats]]
    <default>{{PAGENAME}}</default>
{{!}}-
  </title>
{{!}} style="padding:4px" {{!}}
  <image source="image1">
{| style="display:inline-block;cursor:default;margin:-5px {{#expr:-2{{#if:{{{image|}}}|-4}}}}px -10px 0"
    <caption source="caption1"/>
{{!}} colspan="3" {{!}}
  </image>
{| style="margin:0 -3px"
  <data source="row1">
! width="115" style="text-align:left" {{!}} Class
    <label>Label</label>
! width="69" {{!}} Slot
  </data>
{{!}}-
  <data source="row2">
{{!}} 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|none=None|n/a=None|?=None|{{#if:{{{class|}}}|{{{class}}}|''Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>''}}}}
    <label>Label</label>
  </data>
  <data source="row3">
    <label>Label</label>
  </data>
  <data source="row4">
    <label>Label</label>
  </data>
</infobox>
<noinclude>
Example usage:<pre>
{{ItemStats
|title1=Example
|image1=Example
|caption1=Example
|row1=Example
|row2=Example
|row3=Example
|row4=Example
}}
</pre>
</noinclude>


{{Infobox Bonuses
{{!}} class="iCSbox" style="text-align:center;height:1% !important" {{!}} {{#switch:{{lc:{{{slot|}}}}}
|image = [[File:Voldemort.png]]
|head=[[File:Head slot.png|Head slot|link=Head slot]]{{mainonly|[[Category:Head slot items]]}}
|astab = 0
|ammo=[[File:Ammo slot.png|Ammunition slot|link=Ammunition slot]]{{mainonly|[[Category:Ammunition slot items]]}}
|aslash = 0
|neck=[[File:Neck slot.png|Neck slot|link=Neck slot]]{{mainonly|[[Category:Neck slot items]]}}
|acrush = 0
|cape=[[File:Cape slot.png|Cape slot|link=Cape slot]]{{mainonly|[[Category:Cape slot items]]}}
|amagic = -10
|main|mainhand|main-hand|weapon=[[File:Weapon slot.png|Mainhand slot|link=Mainhand slot]]{{mainonly|[[Category:Weapon slot items]]}}
|arange = -5
|2h=[[File:2h slot.png|Two-handed slot|link=Two-handed slot]]{{mainonly|[[Category:Weapon slot items]][[Category:Two-handed slot items]]}}
|dstab = +70
|body=[[File:Torso slot.png|center|Body slot|link=Body slot]]{{mainonly|[[Category:Body slot items]]}}
|dslash = +75
|off|offhand|off-hand|shield=[[File:Shield slot.png|Offhand slot|link=Offhand slot]]{{mainonly|[[Category:Offhand slot items]]}}
|dcrush = +72
|legs=[[File:Legs slot.png|Legwear slot|link=Legwear slot]]{{mainonly|[[Category:Legwear slot items]]}}
|dmagic = +10
|hands=[[File:Gloves slot.png|29px|link=Hands slot]]{{mainonly|[[Category:Hand slot items]]}}
|drange = +72
|feet=[[File:Boots slot.png|Feet slot|link=Feet slot]]{{mainonly|[[Category:Feet slot items]]}}
|str = +7
|ring=[[File:Ring slot.png|Ring slot|link=Ring slot]]{{mainonly|[[Category:Rings]]}}
|prayer = 0
|set=[[File:Sets404.png|Armour Set|link=Sets]]{{mainonly|[[Category:Sets]]}}
|slot = Shield
|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>}}


{{Infobox Bonuses
{{!}}-
|slot = weapon
{{!}} class="cioCompareLink" style="text-align:center !important" {{!}} <div align="center" style="color:#002BB8;text-align:left"><u></u></div>
|astab = +20
{{!}} <div align="center" style="font-size:0.85em">{{#if:{{{caption|}}}|{{ucfirst:{{lc:{{rmv|.|{{{caption}}}}}}}}}}}</div>
|aslash = -2
{{!}} <div align="center" style="font-size:0.85em">{{#if:{{{caption2|}}}|{{ucfirst:{{lc:{{rmv|.|{{{caption2}}}}}}}}}}}</div>
|acrush = +39
|-
|amagic = 0
|<span style="margin-top:-4px; font-size:xx-small;"></span>
|arange = 0
|}{{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]]}}}}
|dstab = 0
|dslash = 0
|dcrush = 0
|dmagic = 0
|drange = 0
|str = +36
|prayer = +4
|aspeed = 5
|image = Voldemort.png
|caption = MONSTER
}}

Revision as of 02:41, 15 January 2017

Combat Stats
Class Slot
Unknown edit ? edit
Bonus Attack Defence
Stab - -
Slash - -
Crush - -
Magic - -
Range - -
Special bonuses
Strength -
Prayer -