From Brotato Wiki

(docs: Add examples of the tables themselves (incl. classes and inline styles))
(Changed characters headers)
Line 3: Line 3:
  | characters = <!--
  | characters = <!--
--><tr>
--><tr>
<th style="background-color: rgb(220,220,220,0.2); color: #eee;" tabindex="0" title="Sort ascending" role="columnheader button">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">Name</th>
<th style="background-color: rgb(220,220,220,0.2); color: #eee;" tabindex="0" title="Sort ascending" role="columnheader button">Stats</th>
<th style="font-weight:bold; color:#eee; background-color: rgb(220,220,220,0.2); text-align:center; vertical-align:middle; width:57%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Stats</th>
<th style="background-color: rgb(220,220,220,0.2); color: #eee;" tabindex="0" title="Sort ascending" role="columnheader button">Unlocked By</th>
<th style="font-weight:bold; color:#eee; background-color: rgb(220,220,220,0.2); text-align:center; vertical-align:middle; width:20%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Unlocked By</th>
<th style="background-color: rgb(220,220,220,0.2); color: #eee;" tabindex="0" title="Sort ascending" role="columnheader button">Unlocks</th>
<th style="font-weight:bold; color:#eee; background-color: rgb(220,220,220,0.2); text-align:center; vertical-align:middle; width:13%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Unlocks</th>
</tr>
 
</tr>
  | items = <!--
  | items = <!--
--><tr>
--><tr>

Revision as of 07:52, 4 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;">
	{{TableHeaders|weapons}}
	{{TableRowWeapon|Cacti Club}}
</table>
Name Types 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