Template:InfoboxArmorBonuses/doc: Difference between revisions
Jump to navigation
Jump to search
Created page with "== 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 def..." |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
=How to use this Template= | |||
==Syntax== | |||
To make an entry for Armor Bonuses, use the Template call <pre>{{InfoboxArmorBonuses}}</pre> | |||
Inside of the template you'll enter parameters to fill in the template with the appropriate information. | |||
== InfoboxArmorBonuses Template Parameters == | == 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.'' | ''Note: Only parameters with values will display in the infobox - empty parameters are automatically hidden to keep the infobox clean and relevant.'' | ||
Line 17: | Line 22: | ||
* '''prayer''' - Prayer bonus | * '''prayer''' - Prayer bonus | ||
* '''tier''' - Equipment tier | * '''tier''' - Equipment tier | ||
==Example== | |||
Below is an example of the syntax, and the resulting table that is created. | |||
<pre> | |||
{{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 | |||
}} | |||
</pre> | |||
{{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 | |||
}} | |||
[[Category:Templates]] |
Latest revision as of 02:50, 16 March 2025
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 }}
![]() |
||||
---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
35 | 35 | 35 | 0 | 0 |
![]() |
||||
![]() |
![]() |
![]() |
![]() |
![]() |
112 | 112 | 112 | 0 | 90 |
![]() |
||||
![]() |
![]() |
![]() |
![]() |
Tier |
10 | 0 | 0 | 0 | 90 |