From Brotato Wiki

(→‎Weapons: Add `text-align: center` to example and preview code)
No edit summary
Line 21: Line 21:
--><tr>
--><tr>
<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: 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: 10%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Class</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: 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: 2%"  class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Attack Speed</th>

Revision as of 05:13, 8 November 2022


Creates table headers for the specified type.

Options

Code Page Preview
{{TableHeaders|characters}} Characters
{{TableHeaders|items}} Items
{{TableHeaders|weapons}} Weapons
{{TableHeaders|sets}} Weapon Sets

Previews

Characters

{{TableHeaders|characters}}

<table class="wikitable sortable jquery-tablesorter" style="width:90%;color:#eee; background:transparent; text-align:center; vertical-align:middle;">
	{{TableHeaders|characters}}
	{{TableRowCharacter|Well Rounded}}
</table>
Name Stats Unlocked By Unlocks
+5 Max Hp
+5% Speed
+8 Harvesting
Unlocked by default

Items

{{TableHeaders|items}}

<table class="wikitable sortable jquery-tablesorter" style="width:90%;color:#eee; background:transparent; text-align:center; vertical-align:middle;">
	{{TableHeaders|items}}
	{{TableRowItem|Acid}}
</table>
Name Rarity Effects Base Price Limit Unlocked By
Tier 2 +8 Max HP
-4% Dodge
65

Weapons

{{TableHeaders|weapons}}

<table class="wikitable sortable jquery-tablesorter" style="color:#eee; background:transparent; text-align: center">
	{{TableHeaders|weapons}}
	{{TableRowWeapon|Cacti Club}}
</table>
Name Class Damage Attack Speed DPS Crit Chance/Damage Range Knockback Lifesteal Special Effects Base price Unlocked by
Primitive, Heavy

10(80%Melee Damage.png)
20(80%Melee Damage.png)
30(80%Melee Damage.png)
50(80%Melee Damage.png)

1.66s
1.58s
1.51s
1.36s

6.0(48%Melee Damage.png)/s
12.7(50%Melee Damage.png)/s
19.9(52%Melee Damage.png)/s
36.8(58%Melee Damage.png)/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 50%Ranged Damage.png damage

20
39
74
149

Default

Weapon Sets

{{TableHeaders|sets}}

<table class="wikitable sortable jquery-tablesorter" style="color:#eee; background:transparent;">
	{{TableHeaders|sets}}
	{{TableRowSet|Blunt}}
</table>
Set Bonuses Weapons
Blunt (2)+1 Armor -2% Speed
(3)+1 Armor +3 Max HP -4% Speed
(4)+2 Armor +3 Max HP -6% Speed
(5)+2 Armor +6 Max HP -8% Speed
(6)+3 Armor +6 Max HP -10% Speed
Rock
  Rock


Hammer
  Hammer

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Typetype 1

Type of table header. Options: 'characters', 'items', 'weapons', 'sets'

Auto value
green
Stringrequired