|
|
| 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> |
Creates a row for the specified Weapon. Rows MUST be wrapped inside a table. Use Template:TableHeaders for the headers row.
Example
{{TableHeaders|weapons}}
{{TableRowWeapon|Cacti Club}}
|
Primitive, Heavy |
15(80% )
20(85% )
35(90% )
60(100% )
|
1.66s
1.58s
1.51s
1.36s
|
6.0(48% )/s
12.7(54% )/s
19.9(60% )/s
36.8(74% )/s
|
x2 (3%)
x2 (3%)
x2 (3%)
x2 (3%)
|
200
200
200
200
|
8
8
8
8
|
0
0
0
0
|
Hitting an enemy spawns 3/4/5/6 projectiles dealing 1 + 60%/2 + 70%/3 + 80%/4 + 100% damage |
20
39
74
149
|
Default |
Template parameters[Edit template data]
| Parameter | Description | Type | Status |
|---|
| Weapon Name | name 1 | Name of the weapon, as shown on the Weapons page - Example
- Cacti Club
| String | required |
|---|