WIKI IS CURRENTLY UNDER CONSTRUCTION

Difference between revisions of "Template:Item stats template"

From OldSchool RSPS
Jump to navigation Jump to search
m
 
(5 intermediate revisions by 2 users not shown)
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: #3f3f3f; border: solid 1px #818181; 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: #2f2f2f;" 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_icon.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]]  
| +{{{stabAtk}}} || +{{{slashAtk}}}|| +{{{crushAtk}}}|| +{{{mageAtk}}}|| +{{{rangeAtk}}}
| {{{stabAtk}}} || {{{slashAtk}}}|| {{{crushAtk}}}|| {{{mageAtk}}}|| {{{rangeAtk}}}
|-
|-
| style="padding: 10px; text-align: center; font-weight: bold;  background-color: black;" colspan="2" | [[File:Defence.png]] Defence bonuses
| style="padding: 10px; text-align: center; font-weight: bold;  background-color: #2f2f2f;" colspan="2" | [[File:Defence.png]] Defence 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_icon.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]]  
| +{{{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: #2f2f2f;" 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:Str.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]]  
| +{{{strBonus}}}|| +{{{rangeBonus}}}|| +{{{mageBonus}}}|| +{{{prayBonus}}}
| {{{strBonus}}}|| {{{rangeBonus}}}|| {{{mageBonus}}}|| {{{prayBonus}}}
|}
|}
</onlyinclude>
</onlyinclude>

Latest revision as of 19:06, 24 January 2024

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
}}