|
|
Line 58: |
Line 58: |
| <noinclude> | | <noinclude> |
|
| |
|
| Creates a row for the specified [[Weapons|Weapon]]. Rows MUST be wrapped inside a table. | | Creates a row for the specified [[Weapons|Weapon]]. Rows MUST be wrapped inside a table. Use [[Template:TableHeaders]] for the headers row. |
|
| |
|
| | == Example == |
| | |
| | <code><nowiki>{{TableHeaders|weapons}}</nowiki></code><br> |
| | <code><nowiki>{{TableRowWeapon|Cacti Club}}</nowiki></code> |
| <table class="wikitable sortable jquery-tablesorter" style="width: 95%; color: #eee; background: transparent; text-align: center; vertical-align: middle"> | | <table class="wikitable sortable jquery-tablesorter" style="width: 95%; color: #eee; background: transparent; text-align: center; vertical-align: middle"> |
| <tr> | | {{TableHeaders|weapons}} |
| <th style="font-weight: bold; color: #eee; background-color: rgb(220, 220, 220, 0.2); text-align: center; vertical-align: middle; width: 15%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Name</th>
| |
| <th style="font-weight: bold; color: #eee; background-color: rgb(220, 220, 220, 0.2); text-align: center; vertical-align: middle; width: 10%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Types</th>
| |
| <th style="font-weight: bold; color: #eee; background-color: rgb(220, 220, 220, 0.2); text-align: center; vertical-align: middle; width: 24%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Damage</th>
| |
| <th style="font-weight: bold; color: #eee; background-color: rgb(220, 220, 220, 0.2); text-align: center; vertical-align: middle; width: 2%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Attack Speed</th>
| |
| <th style="font-weight: bold; color: #eee; background-color: rgb(220, 220, 220, 0.2); text-align: center; vertical-align: middle; width: 27%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">DPS</th>
| |
| <th style="font-weight: bold; color: #eee; background-color: rgb(220, 220, 220, 0.2); text-align: center; vertical-align: middle; width: 4%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Crit Chance/Damage</th>
| |
| <th style="font-weight: bold; color: #eee; background-color: rgb(220, 220, 220, 0.2); text-align: center; vertical-align: middle; width: 4%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Range</th>
| |
| <th style="font-weight: bold; color: #eee; background-color: rgb(220, 220, 220, 0.2); text-align: center; vertical-align: middle; width: 2%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Knockback</th>
| |
| <th style="font-weight: bold; color: #eee; background-color: rgb(220, 220, 220, 0.2); text-align: center; vertical-align: middle; width: 3%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Lifesteal</th>
| |
| <th style="font-weight: bold; color: #eee; background-color: rgb(220, 220, 220, 0.2); text-align: center; vertical-align: middle; width: 15%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Special Effects</th>
| |
| <th style="font-weight: bold; color: #eee; background-color: rgb(220, 220, 220, 0.2); text-align: center; vertical-align: middle; width: 2%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Base price</th>
| |
| <th style="font-weight: bold; color: #eee; background-color: rgb(220, 220, 220, 0.2); text-align: center; vertical-align: middle; width: 10%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Unlocked by</th>
| |
| </tr>
| |
| {{TableRowWeapon|Cacti Club}} | | {{TableRowWeapon|Cacti Club}} |
| </table> | | </table> |