From Brotato Wiki

(add headers for Items)
(docs: Add examples of the tables themselves (incl. classes and inline styles))
Line 68: Line 68:
=== Characters ===
=== Characters ===
<code><nowiki>{{TableHeaders|characters}}</nowiki></code>
<code><nowiki>{{TableHeaders|characters}}</nowiki></code>
<pre><nowiki><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></nowiki></pre>


<table class="wikitable sortable jquery-tablesorter" style="width:90%;color:#eee; background:transparent; text-align:center; vertical-align:middle;">
<table class="wikitable sortable jquery-tablesorter" style="width:90%;color:#eee; background:transparent; text-align:center; vertical-align:middle;">
Line 76: Line 81:
=== Items ===
=== Items ===
<code><nowiki>{{TableHeaders|items}}</nowiki></code>
<code><nowiki>{{TableHeaders|items}}</nowiki></code>
<pre><nowiki><table class="wikitable sortable jquery-tablesorter" style="width:90%;color:#eee; background:transparent; text-align:center; vertical-align:middle;">
{{TableHeaders|items}}
{{TableRowItem|Acid}}
</table></nowiki></pre>


<table class="wikitable sortable jquery-tablesorter" style="width:90%;color:#eee; background:transparent; text-align:center; vertical-align:middle;">
<table class="wikitable sortable jquery-tablesorter" style="width:90%;color:#eee; background:transparent; text-align:center; vertical-align:middle;">
Line 84: Line 94:
=== Weapons ===
=== Weapons ===
<code><nowiki>{{TableHeaders|weapons}}</nowiki></code>
<code><nowiki>{{TableHeaders|weapons}}</nowiki></code>
<pre><nowiki><table class="wikitable sortable jquery-tablesorter" style="color:#eee; background:transparent;">
{{TableHeaders|weapons}}
{{TableRowWeapon|Cacti Club}}
</table></nowiki></pre>


<table class="wikitable sortable jquery-tablesorter" style="color:#eee; background:transparent;">
<table class="wikitable sortable jquery-tablesorter" style="color:#eee; background:transparent;">
Line 92: Line 107:
=== Weapon Sets ===
=== Weapon Sets ===
<code><nowiki>{{TableHeaders|sets}}</nowiki></code>
<code><nowiki>{{TableHeaders|sets}}</nowiki></code>
<pre><nowiki><table class="wikitable sortable jquery-tablesorter" style="color:#eee; background:transparent;">
{{TableHeaders|sets}}
{{TableRowSet|Blunt}}
</table></nowiki></pre>


<table class="wikitable sortable jquery-tablesorter" style="color:#eee; background:transparent;">
<table class="wikitable sortable jquery-tablesorter" style="color:#eee; background:transparent;">
{{TableHeaders|sets}}
{{TableHeaders|sets}}
<tr>
{{TableRowSet|Blunt}}
<td>[[Blunt]]</td>
<td>{{Blunt|hidebox=1}}</td>
<td>{{WeaponSetWeapons|Blunt}}</td>
</tr>
</table>
</table>



Revision as of 22:39, 3 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 None

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
-2 % Dodge
-2 Knockback
65 Max HP

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(85%Melee Damage.png)
30(90%Melee Damage.png)
50(100%Melee Damage.png)

1.66s
1.58s
1.51s
1.36s

6.0(48%Melee Damage.png)/s
12.7(54%Melee Damage.png)/s
19.9(60%Melee Damage.png)/s
36.8(74%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%/60%/70%/80%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
Brick
  Brick

Rock
  Rock


Spoon
  Spoon

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