Template:InfoboxWepBonuses: Difference between revisions

From August Wiki
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
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
<table class="infobox infobox-bonuses">
<table class="infobox infobox-bonuses">
   <tr>
   <tr>
     <th colspan="5" class="infobox-subheader">[[File:Attack_icon.png]]&nbsp;Attack bonuses</th>
     <th colspan="5" class="infobox-subheader">[[File:Attack_icon.png|20px]] Attack bonuses</th>
   </tr>
   </tr>
   <tr>
   <tr>
Line 10: Line 10:
     <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|30px]]</th>
     <th class="infobox-nested">[[File:Ranged_icon.png]]</th>
     <th class="infobox-nested">[[File:Ranged_icon.png|30px]]</th>
   </tr>
   </tr>
   <tr>
   <tr>
Line 21: Line 21:
   </tr>
   </tr>
   <tr>
   <tr>
     <th colspan="5" class="infobox-subheader">Base attack speed</th>
     <th colspan="2" class="infobox-subheader">Base speed</th>
    <th colspan="3" class="infobox-subheader">Leagues base speed</th>
   </tr>
   </tr>
   <tr>
   <tr>
Line 27: Line 28:
   </tr>
   </tr>
   <tr>
   <tr>
     <td colspan="5" class="infobox-nested">{{{speed|}}}</td>
     <td colspan="2" class="infobox-nested">{{{speed|}}}</td>
    <td colspan="3" class="infobox-nested">{{{leagues_speed|}}}</td>
   </tr>
   </tr>
   <tr>
   <tr>
Line 33: Line 35:
   </tr>
   </tr>
   <tr>
   <tr>
     <th colspan="5" class="infobox-subheader">[[File:Defence_icon.png]]&nbsp;Defence bonuses</th>
     <th colspan="5" class="infobox-subheader">[[File:Defence_icon.png|20px]] Defence bonuses</th>
   </tr>
   </tr>
   <tr>
   <tr>
Line 42: Line 44:
     <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|30px]]</th>
     <th class="infobox-nested">[[File:Ranged_icon.png]]</th>
     <th class="infobox-nested">[[File:Ranged_icon.png|30px]]</th>
   </tr>
   </tr>
   <tr>
   <tr>
Line 56: Line 58:
   </tr>
   </tr>
   <tr>
   <tr>
     <th colspan="4" class="infobox-subheader">[[File:Melee.png]]&nbsp;Other bonuses</th>
     <th colspan="4" class="infobox-subheader">[[File:Melee.png]] Other bonuses</th>
     <th class="infobox-subheader"></th>
     <th class="infobox-subheader"></th>
   </tr>
   </tr>
Line 63: Line 65:
   </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|32px]]</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|30px]]</th>
     <th class="infobox-nested">Tier</th>
     <th class="infobox-nested">Tier</th>
   </tr>
   </tr>
Line 80: Line 82:
   </tr>
   </tr>
</table>
</table>
<noinclude>{{/doc}}</noinclude>

Latest revision as of 02:10, 29 May 2026

 Attack bonuses
Base speed Leagues base speed
 Defence bonuses
 Other bonuses
Tier

How to use this Template

Syntax

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

{{InfoboxWepBonuses}}

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
}}
 Attack bonuses
1 100
Base speed Leagues base speed
 Defence bonuses
 Other bonuses
Tier
1000