Template:ArmourStats: Difference between revisions
From Melvor Idle
(Created Template for item pages that are armour) |
No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{rfd|reason=[[Template:AutoArmourStats]] has entirely replaced this template.}}</noinclude> | |||
<includeonly> | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! colspan=" | ! colspan="4" style = "border-bottom: solid medium black;"| Armour Stats | ||
|- | |- | ||
! style ="text-align: right;"| [[File: | ! colspan="2" style = "border-bottom: solid thin black;"| Offensive Stats | ||
! colspan="2" style = "border-bottom: solid thin black;"| Defensive Stats | |||
|- | |||
! style ="text-align: right;"| [[File:Strength (skill).svg|25px|middle|link=Strength]] Strength Bonus | |||
| style ="text-align: right;"| {{{strengthBonus}}} | |||
! style ="text-align: right;"| [[File:Defence (skill).svg|25px|middle|link=Defence]] Defence Bonus | |||
| style ="text-align: right;"| {{{defenceBonus}}} | |||
|- | |||
! style ="text-align: right;"| [[File:Combat.svg|25px|middle|link=Attack]] Stab Bonus | |||
| style ="text-align: right;"| {{{stabAttackBonus}}} | | style ="text-align: right;"| {{{stabAttackBonus}}} | ||
! style ="text-align: right;"| [[File:Defence (skill).svg|25px|middle|link=Defence]] Damage Reduction | |||
| style ="text-align: right;"| {{{damageReduction}}}% | |||
|- | |- | ||
! style ="text-align: right;"| [[File: | ! style ="text-align: right;"| [[File:Combat.svg|25px|middle|link=Strength]] Slash Bonus | ||
| style ="text-align: right;"| {{{slashAttackBonus}}} | | style ="text-align: right;"| {{{slashAttackBonus}}} | ||
! style ="text-align: right;"| [[File:Ranged (skill).svg|25px|middle|link=Ranged]] Defence Bonus | |||
| style ="text-align: right;"| {{{rangedDefenceBonus}}} | |||
|- | |- | ||
! style ="text-align: right;"| [[File: | ! style ="text-align: right;"| [[File:Combat.svg|25px|middle|link=Defence]] Block Bonus | ||
| style ="text-align: right;"| {{{blockAttackBonus}}} | | style ="text-align: right;"| {{{blockAttackBonus}}} | ||
! style ="text-align: right;border-bottom: solid thin black;"| [[File:Magic (skill).svg|25px|middle|link=Magic]] Defence Bonus | |||
| style ="text-align: right;border-bottom: solid thin black;"| {{{magicDefenceBonus}}} | |||
|- | |- | ||
! style ="text-align: right;"| [[File:Ranged (skill).svg|25px|middle|link=Ranged]] Attack Bonus | ! style ="text-align: right;"| [[File:Ranged (skill).svg|25px|middle|link=Ranged]] Attack Bonus | ||
| style ="text-align: right;"| {{{rangedAttackBonus}}} | | style ="text-align: right;"| {{{rangedAttackBonus}}} | ||
! colspan="2" style = "border-bottom: solid thin black;"| Other | |||
! | |||
|- | |- | ||
! style ="text-align: right;"| [[File:Ranged (skill).svg|25px|middle|link=Ranged]] Strength Bonus | ! style ="text-align: right;"| [[File:Ranged (skill).svg|25px|middle|link=Ranged]] Strength Bonus | ||
| style ="text-align: right;"| {{{rangedStrengthBonus}}} | | style ="text-align: right;"| {{{rangedStrengthBonus}}} | ||
! style ="text-align: right;"| [[File:Slayer (skill).svg|25px|middle|link=Slayer]] Bonus Slayer XP | |||
| style ="text-align: right;"| {{{slayerBonusXP}}}% | |||
|- | |- | ||
! style ="text-align: right;"| [[File:Magic (skill).svg|25px|middle|link=Magic]] | ! style ="text-align: right;"| [[File:Magic (skill).svg|25px|middle|link=Magic]] Attack Bonus | ||
| style ="text-align: right;"| {{{ | | style ="text-align: right;"| {{{magicAttackBonus}}} | ||
! style ="text-align: right;"| [[File:Defence (skill).svg|25px|middle|link=Defence]] Level Required | ! style ="text-align: right;"| [[File:Defence (skill).svg|25px|middle|link=Defence]] Level Required | ||
| style ="text-align: right;"| {{{defenceLevelRequired}}} | | style ="text-align: right;"| {{{defenceLevelRequired}}} | ||
|- | |- | ||
! style ="text-align: right;"| [[File:Magic (skill).svg|25px|middle|link=Magic]] % Damage Bonus | |||
| style ="text-align: right;"| {{{magicDamageBonus}}}% | |||
! style ="text-align: right;"| [[File:Ranged (skill).svg|25px|middle|link=Ranged]] Level Required | ! style ="text-align: right;"| [[File:Ranged (skill).svg|25px|middle|link=Ranged]] Level Required | ||
| style ="text-align: right;"| {{{rangedLevelRequired}}} | | style ="text-align: right;"| {{{rangedLevelRequired}}} | ||
|- | |- | ||
| colspan="2"| | |||
! style ="text-align: right;"| [[File:Magic (skill).svg|25px|middle|link=Magic]] Level Required | ! style ="text-align: right;"| [[File:Magic (skill).svg|25px|middle|link=Magic]] Level Required | ||
| style ="text-align: right;"| {{{magicLevelRequired}}} | | style ="text-align: right;"| {{{magicLevelRequired}}} | ||
|} | |} | ||
</includeonly> | |||
<noinclude>{{/doc}}</noinclude> |
Latest revision as of 22:56, 26 March 2024
Allows for an Armour Stats table to be generated based on given values.
An example view can be found below:
{{ArmourStats |strengthBonus=1 |stabAttackBonus=2 |slashAttackBonus=3 |blockAttackBonus=4 |rangedAttackBonus=5 |rangedStrengthBonus=6 |magicAttackBonus=7 |magicDamageBonus=8 |defenceBonus=9 |damageReduction=10 |rangedDefenceBonus=11 |magicDefenceBonus=12 |slayerBonusXP=13 |defenceLevelRequired=14 |rangedLevelRequired=15 |magicLevelRequired=16 }}
Turns into