Difference between revisions of "Template:Weapons"

From Emps-World Wiki
Jump to: navigation, search
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
=== Usage ===
 
=== Usage ===
<nowiki>{{Weapons|atk=atk bonus|ratk=range atk bonus|matk=magic atk bonus|def=defbonus|rdef=range def bonus|mdef=magic def bonus|pdef=prayer bonus|item=item picture|degradable?=yes or no|str=strength bonus|rangestr=range strength|magestr=magic strength|degradable=yes or no|repair=tokens or no|requirements=text|speed=attack speed}}</nowiki>
+
<nowiki>{{Weapons|atk=atk bonus|ratk=range atk bonus|matk=magic atk bonus|def=defbonus|rdef=range def bonus|mdef=magic def bonus|prayer=prayer bonus|item=item picture|degradable?=yes or no|str=strength bonus|rangestr=range strength|magestr=magic strength|degradable=yes or no|repair=tokens or no|requirements=text|speed=attack speed}}</nowiki>
  
 
===Template===
 
===Template===
Line 50: Line 50:
 
<td style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" colspan="2"> {{{mdef|0}}}
 
<td style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" colspan="2"> {{{mdef|0}}}
 
</td>
 
</td>
<td style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" colspan="1"> {{{pdef|0}}}
+
<td style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" colspan="1"> {{{prayer|0}}}
 
</td>
 
</td>
 
<td style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" colspan="2"> {{{item|itempic}}}
 
<td style="border-color: rgb(170, 170, 170); width: 20px; text-align: center; background-color: white;" colspan="2"> {{{item|itempic}}}

Revision as of 20:02, 5 May 2016

Usage

{{Weapons|atk=atk bonus|ratk=range atk bonus|matk=magic atk bonus|def=defbonus|rdef=range def bonus|mdef=magic def bonus|prayer=prayer bonus|item=item picture|degradable?=yes or no|str=strength bonus|rangestr=range strength|magestr=magic strength|degradable=yes or no|repair=tokens or no|requirements=text|speed=attack speed}}

Template

Weapons
Attackicon.png Attack Bonus Weapon Image
Str.png Melee Range.gif Range Magic.png Magic
0 0 0
Defenceicon.png Defence Bonus
Str.png Melee Range.gif Range Magic.png Magic Prayer1.png Prayer Item slot
0 0 0 0 itempic
Strength bonus
Str.png Melee Range.gif Range Magic.png Magic Degradable Repair
0 0 0 yes or no tokens, coins or no
Requirements Attack speed
0 0