Template:InfoboxWepBonuses/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== InfoboxWepBonuses Template Parameters == | =How to use this Template= | ||
==Syntax== | |||
To make an entry for Weapon Bonuses, use the Template call <pre>{{InfoboxWebBonuses}}</pre> | |||
Inside of the template you'll enter parameters to fill in the template with the appropriate information. | |||
==InfoboxWepBonuses 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 21: | Line 27: | ||
==Example== | ==Example== | ||
You'll notice that upon entering any parameters, the entire table will appear. Any empty parameters are left blank. | You'll notice that upon entering any parameters, the entire table will appear. Any empty parameters are left blank. | ||
<pre> | |||
{{InfoboxWepBonuses | |||
|astab=1 | |||
|aslash=100 | |||
|rstr=1000 | |||
}} | |||
</pre> | |||
{{InfoboxWepBonuses | {{InfoboxWepBonuses | ||
|astab=1 | |astab=1 | ||
Line 26: | Line 39: | ||
|rstr=1000 | |rstr=1000 | ||
}} | }} | ||
[[Category:Templates]] |
Latest revision as of 02:50, 16 March 2025
How to use this Template
Syntax
To make an entry for Weapon Bonuses, use the Template call
{{InfoboxWebBonuses}}
Inside of the template you'll enter parameters to fill in the template with the appropriate information.
InfoboxWepBonuses 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
- speed - Base attack speed
- 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
You'll notice that upon entering any parameters, the entire table will appear. Any empty parameters are left blank.
{{InfoboxWepBonuses |astab=1 |aslash=100 |rstr=1000 }}
![]() |
||||
---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
1 | 100 | |||
Base attack speed | ||||
![]() |
||||
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
||||
![]() |
![]() |
![]() |
![]() |
Tier |
1000 | ||||