WIKI IS CURRENTLY UNDER CONSTRUCTION

Difference between revisions of "Template:Item stats template"

From OldSchool RSPS
Jump to navigation Jump to search
m
m
Line 1: Line 1:
<onlyinclude>
<onlyinclude>
{| style="width: min-content; background-color: #0f0f0f; border: solid 1px white; font-size: 14px; margin: auto;"  
{| style="width: min-content; background-color: #0f0f0f; border: solid 1px white; font-size: 14px; margin: auto;"  
| style="padding: 10px; text-align: center; font-weight: bold;  background-color: black;" colspan="2" | [[File:Combat tab icon.png]] Attack bonuses
| style="padding: 10px; text-align: center; font-weight: bold;  background-color: black;" colspan="2" | [[File:Combat icon.png]] Attack bonuses
|- style="display: grid; grid-template-columns: repeat(5, 50px); margin: 5px 0 5px 0; justify-content: center; justify-items: center;"
|- style="display: grid; grid-template-columns: repeat(5, 50px); margin: 5px 0 5px 0; justify-content: center; justify-items: center;"
| [[File:Dragon_dagger.png|Stab weapons]] || [[File:Dragon_scimitar.png|Slash weapons]] || [[File:Dragon_warhammer.png|Crush weapons]] || [[File:Magic.png]] || [[File:Ranged.png]]  
| [[File:Dragon_dagger.png|Stab weapons]] || [[File:Dragon_scimitar.png|Slash weapons]] || [[File:Dragon_warhammer.png|Crush weapons]] || [[File:Magic.png]] || [[File:Ranged.png]]  
Line 11: Line 11:
| +{{{stabDef}}}|| +{{{slashDef}}}|| +{{{crushDef}}}|| +{{{mageDef}}}|| +{{{rangeDef}}}
| +{{{stabDef}}}|| +{{{slashDef}}}|| +{{{crushDef}}}|| +{{{mageDef}}}|| +{{{rangeDef}}}
|-
|-
| style="padding: 10px; text-align: center; font-weight: bold;  background-color: black;" colspan="2" | [[File:Combat tab icon.png]] Other bonuses
| style="padding: 10px; text-align: center; font-weight: bold;  background-color: black;" colspan="2" | [[File:Combat icon.png]] Other bonuses
|- style="display: grid; grid-template-columns: repeat(4, 50px); margin: 5px 0 5px 0; justify-content: center; justify-items: center;"
|- style="display: grid; grid-template-columns: repeat(4, 50px); margin: 5px 0 5px 0; justify-content: center; justify-items: center;"
| [[File:Strength.png]]  || [[File:Ranged_strength_icon.png]]  || [[File:Magic_damage_icon.png]] || [[File:Prayer.png]]  
| [[File:Strength.png]]  || [[File:Ranged_strength_icon.png]]  || [[File:Magic_damage_icon.png]] || [[File:Prayer.png]]  

Revision as of 14:11, 23 April 2022

Combat icon.png Attack bonuses
Stab weapons Slash weapons Crush weapons Magic.png Ranged.png +{{{stabAtk}}} +{{{slashAtk}}} +{{{crushAtk}}} +{{{mageAtk}}} +{{{rangeAtk}}}
Defence.png Defence bonuses
Stab weapons Slash weapons Crush weapons Magic.png Ranged.png +{{{stabDef}}} +{{{slashDef}}} +{{{crushDef}}} +{{{mageDef}}} +{{{rangeDef}}}
Combat icon.png Other bonuses
Strength.png Ranged strength icon.png Magic damage icon.png Prayer.png +{{{strBonus}}} +{{{rangeBonus}}} +{{{mageBonus}}} +{{{prayBonus}}}


This is a template for Item stats of weapons and armour, use the template below to create a unique item stats table by passing in properties into the variables.

{{Item stats template
|stabAtk=0
|slashAtk=0
|crushAtk=0
|mageAtk=0
|rangeAtk=0
|stabDef=0
|slashDef=0
|crushDef=0
|mageDef=0
|rangeDef=0
|strBonus=0
|rangeBonus=0
|mageBonus=0
|prayBonus=0
}}