From Brotato Wiki

(add headers for Items)
No edit summary
 
(7 intermediate revisions by 3 users not shown)
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>
            <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">Item Tags</th>
 
</tr>
  | items = <!--
  | items = <!--
--><tr>
--><tr>
Line 16: Line 18:
<th style="font-weight:bold; color:#eee; background-color: rgb(220,220,220,0.2); text-align:center; vertical-align:middle; width:5%"  class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Limit</th>
<th style="font-weight:bold; color:#eee; background-color: rgb(220,220,220,0.2); text-align:center; vertical-align:middle; width:5%"  class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Limit</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>
<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>
        <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">Tags</th>
</tr>
</tr>
  | weapons = <!--
  | weapons = <!--
--><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>
<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: 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">Crit Damage/Chance</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: 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: 2%"  class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Knockback</th>
Line 32: Line 35:
<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>
<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>
</tr>
| sets = <!--
| sets <!--DEPRECATED-->
| classes = <!--
--><tr>
--><tr>
<th style="background-color: rgb(220,220,220,0.2); color: #eee;" tabindex="0" title="Sort ascending" role="columnheader button">Set</th>
<th style="background-color: rgb(220,220,220,0.2); color: #eee;" tabindex="0" title="Sort ascending" role="columnheader button">Class</th>
<th style="background-color: rgb(220,220,220,0.2); color: #eee;" tabindex="0" title="Sort ascending" role="columnheader button">Bonuses</th>
<th style="background-color: rgb(220,220,220,0.2); color: #eee;" tabindex="0" title="Sort ascending" role="columnheader button">Bonuses</th>
<th style="background-color: rgb(220,220,220,0.2); color: #eee;" tabindex="0" title="Sort ascending" role="columnheader button">Weapons</th>
<th style="background-color: rgb(220,220,220,0.2); color: #eee;" tabindex="0" title="Sort ascending" role="columnheader button">Weapons</th>
Line 60: Line 64:
|[[Weapons]]
|[[Weapons]]
|-
|-
|<code><nowiki>{{TableHeaders|sets}}</nowiki></code>
|<code><nowiki>{{TableHeaders|classes}}</nowiki></code>
|[[Weapons#Weapon_Sets|Weapon Sets]]
|[[Weapons#Weapon Classes|Weapon Classes]]
|}
|}


== Previews ==
== Previews ==


=== 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 74: Line 83:
</table>
</table>


=== 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 82: Line 96:
</table>
</table>


=== Weapons ===
=== [[Weapons]] ===
<code><nowiki>{{TableHeaders|weapons}}</nowiki></code>
<code><nowiki>{{TableHeaders|weapons}}</nowiki></code>


<table class="wikitable sortable jquery-tablesorter" style="color:#eee; background:transparent;">
<pre><nowiki><table class="wikitable sortable jquery-tablesorter" style="color:#eee; background:transparent; text-align: center">
{{TableHeaders|weapons}}
{{TableRowWeapon|Cacti Club}}
</table></nowiki></pre>
 
<table class="wikitable sortable jquery-tablesorter" style="color:#eee; background:transparent; text-align: center">
{{TableHeaders|weapons}}
{{TableHeaders|weapons}}
{{TableRowWeapon|Cacti Club}}
{{TableRowWeapon|Cacti Club}}
</table>
</table>


=== Weapon Sets ===
=== [[Weapons#Weapon Classes|Weapon Classes]] ===
<code><nowiki>{{TableHeaders|sets}}</nowiki></code>
<code><nowiki>{{TableHeaders|classes}}</nowiki></code>
 
<pre><nowiki><table class="wikitable sortable jquery-tablesorter" style="color:#eee; background:transparent;">
{{TableHeaders|classes}}
{{TableRowWeaponClass|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>
{{TableRowWeaponClass|Blunt}}
<td>[[Blunt]]</td>
<td>{{Blunt|hidebox=1}}</td>
<td>{{WeaponSetWeapons|Blunt}}</td>
</tr>
</table>
</table>


Line 107: Line 127:
"type": {
"type": {
"label": "Type",
"label": "Type",
"description": "Type of table header. Options: 'characters', 'items', 'weapons', 'sets'",
"description": "Type of table header. Options: 'characters', 'items', 'weapons', 'classes'",
"type": "string",
"type": "string",
"autovalue": "green",
"autovalue": "",
"required": true,
"required": true,
"suggested": true,
"suggested": true,

Latest revision as of 17:17, 18 November 2024


Creates table headers for the specified type.

Options

Code Page Preview
{{TableHeaders|characters}} Characters
{{TableHeaders|items}} Items
{{TableHeaders|weapons}} Weapons
{{TableHeaders|classes}} Weapon Classes

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 Item Tags
+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 Tags
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; text-align: center">
	{{TableHeaders|weapons}}
	{{TableRowWeapon|Cacti Club}}
</table>
Name Class Damage Attack Speed DPS Crit Damage/Chance 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 Classes

{{TableHeaders|classes}}

<table class="wikitable sortable jquery-tablesorter" style="color:#eee; background:transparent;">
	{{TableHeaders|classes}}
	{{TableRowWeaponClass|Blunt}}
</table>
Class 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', 'classes'

Auto value
Stringrequired