Template:InfoboxArmorBonuses: Difference between revisions
Jump to navigation
Jump to search
Created page with "<table class="infobox infobox-bonuses"> <tr> <th colspan="5" class="infobox-subheader">File:Attack_icon.png Attack bonuses</th> </tr> <tr> <td colspan="5" class="infobox-padding"></td> </tr> <tr> <th class="infobox-nested">File:White_dagger.png</th> <th class="infobox-nested">File:White_scimitar.png</th> <th class="infobox-nested">File:White_warhammer.png</th> <th class="infobox-nested">File:Magic_icon.png</th>..." |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{/doc}}</noinclude> | |||
<table class="infobox infobox-bonuses"> | <table class="infobox infobox-bonuses"> | ||
<tr> | <tr> | ||
<th colspan="5" class="infobox-subheader">[[File:Attack_icon.png]] Attack bonuses</th> | <th colspan="5" class="infobox-subheader">[[File:Attack_icon.png|24px]] Attack bonuses</th> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 10: | Line 12: | ||
<th class="infobox-nested">[[File:White_scimitar.png]]</th> | <th class="infobox-nested">[[File:White_scimitar.png]]</th> | ||
<th class="infobox-nested">[[File:White_warhammer.png]]</th> | <th class="infobox-nested">[[File:White_warhammer.png]]</th> | ||
<th class="infobox-nested">[[File:Magic_icon.png]]</th> | <th class="infobox-nested">[[File:Magic_icon.png|32px]]</th> | ||
<th class="infobox-nested">[[File:Ranged_icon.png]]</th> | <th class="infobox-nested">[[File:Ranged_icon.png|32px]]</th> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 21: | Line 23: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<th colspan="5" class="infobox-subheader">[[File:Defence_icon.png]] Defence bonuses</th> | <th colspan="5" class="infobox-subheader">[[File:Defence_icon.png|24px]] Defence bonuses</th> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 30: | Line 32: | ||
<th class="infobox-nested">[[File:White_scimitar.png]]</th> | <th class="infobox-nested">[[File:White_scimitar.png]]</th> | ||
<th class="infobox-nested">[[File:White_warhammer.png]]</th> | <th class="infobox-nested">[[File:White_warhammer.png]]</th> | ||
<th class="infobox-nested">[[File:Magic_icon.png]]</th> | <th class="infobox-nested">[[File:Magic_icon.png|32px]]</th> | ||
<th class="infobox-nested">[[File:Ranged_icon.png]]</th> | <th class="infobox-nested">[[File:Ranged_icon.png|32px]]</th> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 51: | Line 53: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<th class="infobox-nested">[[File:Strength_icon.png]]</th> | <th class="infobox-nested">[[File:Strength_icon.png|18px]]</th> | ||
<th class="infobox-nested">[[File:Ranged_Strength_icon.png]]</th> | <th class="infobox-nested">[[File:Ranged_Strength_icon.png]]</th> | ||
<th class="infobox-nested">[[File:Magic_Damage_icon.png]]</th> | <th class="infobox-nested">[[File:Magic_Damage_icon.png]]</th> | ||
<th class="infobox-nested">[[File:Prayer_icon.png]]</th> | <th class="infobox-nested">[[File:Prayer_icon.png|32px]]</th> | ||
<th class="infobox-nested">Tier</th> | <th class="infobox-nested">Tier</th> | ||
</tr> | </tr> |
Latest revision as of 23:43, 12 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 |
![]() |
||||
---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
||||
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
||||
![]() |
![]() |
![]() |
![]() |
Tier |