Template:InfoboxArmorBonuses/doc

From August Wiki
Revision as of 02:50, 16 March 2025 by Bark (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

How to use this Template

Syntax

To make an entry for Armor Bonuses, use the Template call

{{InfoboxArmorBonuses}}

Inside of the template you'll enter parameters to fill in the template with the appropriate information.

InfoboxArmorBonuses Template Parameters

Note: Only parameters with values will display in the infobox - empty parameters are automatically hidden to keep the infobox clean and relevant.

  • astab - Stab attack bonus
  • aslash - Slash attack bonus
  • acrush - Crush attack bonus
  • amagic - Magic attack bonus
  • arange - Ranged attack bonus
  • dstab - Stab defence bonus
  • dslash - Slash defence bonus
  • dcrush - Crush defence bonus
  • dmagic - Magic defence bonus
  • drange - Ranged defence bonus
  • str - Strength bonus
  • rstr - Ranged strength bonus
  • mdmg - Magic damage bonus
  • prayer - Prayer bonus
  • tier - Equipment tier

Example

Below is an example of the syntax, and the resulting table that is created.

{{Template:InfoboxArmorBonuses
| astab   = 35
| aslash  = 35
| acrush  = 35
| amagic  = 0
| arange  = 0
| dstab   = 112
| dslash  = 112
| dcrush  = 112
| dmagic  = 0
| drange  = 90
| str     = 10
| rstr    = 0
| mdmg    = 0
| prayer  = 0
| tier    = 90
}}


 Attack bonuses
35 35 35 0 0
 Defence bonuses
112 112 112 0 90
 Other bonuses
Tier
10 0 0 0 90