From Brotato Wiki

(INITIAL \o/)
 
(re-order "Crit Chance/Damage" to be "Crit Chance/Damage", following update to Weapon_Data that changes their order to this)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly><onlyinclude><!--
<includeonly><onlyinclude><!--
-->{{#switch: {{{type|{{{1|}}}}}}
-->{{#switch: {{{type|{{{1|}}}}}}
| characters = <!--
--><tr>
<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="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="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="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>
| items = <!--
--><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:10%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Rarity</th>
<th style="font-weight:bold; color:#eee; background-color: rgb(220,220,220,0.2); text-align:center; vertical-align:middle; width:35%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Effects</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">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: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>
</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 16: Line 33:
<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>
| characters = <!--
| sets <!--DEPRECATED-->
--><tr>
| classes = <!--
<th style="background-color: rgb(220,220,220,0.2); color: #eee;" tabindex="0" title="Sort ascending" role="columnheader button">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="background-color: rgb(220,220,220,0.2); color: #eee;" tabindex="0" title="Sort ascending" role="columnheader button">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>
</tr>
| sets = <!--
--><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 41: Line 52:
!style="background-color: rgb(220,220,220,0.2); color: #eee;"| Code
!style="background-color: rgb(220,220,220,0.2); color: #eee;"| Code
!style="background-color: rgb(220,220,220,0.2); color: #eee;"| Page Preview
!style="background-color: rgb(220,220,220,0.2); color: #eee;"| Page Preview
|-
|<code><nowiki>{{TableHeaders|characters}}</nowiki></code>
|[[Characters]]
|-
|<code><nowiki>{{TableHeaders|items}}</nowiki></code>
|[[Items]]
|-
|-
|<code><nowiki>{{TableHeaders|weapons}}</nowiki></code>
|<code><nowiki>{{TableHeaders|weapons}}</nowiki></code>
|[[Weapons]]
|[[Weapons]]
|-
|-
|<code><nowiki>{{TableHeaders|characters}}</nowiki></code>
|<code><nowiki>{{TableHeaders|classes}}</nowiki></code>
|[[Characters]]
|[[Weapons#Weapon Classes|Weapon Classes]]
|-
|<code><nowiki>{{TableHeaders|sets}}</nowiki></code>
|[[Weapons#Weapon_Sets|Weapon Sets]]
|}
|}


== Previews ==
== Previews ==


=== Weapons ===
=== [[Characters]] ===
<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;">
{{TableHeaders|characters}}
{{TableRowCharacter|Well Rounded}}
</table>
 
=== [[Items]] ===
<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;">
{{TableHeaders|items}}
{{TableRowItem|Acid}}
</table>
 
=== [[Weapons]] ===
<code><nowiki>{{TableHeaders|weapons}}</nowiki></code>
<code><nowiki>{{TableHeaders|weapons}}</nowiki></code>


<table>
<pre><nowiki><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></nowiki></pre>


=== Characters ===
<table class="wikitable sortable jquery-tablesorter" style="color:#eee; background:transparent; text-align: center">
<code><nowiki>{{TableHeaders|characters}}</nowiki></code>
{{TableHeaders|weapons}}
 
{{TableRowWeapon|Cacti Club}}
<table style="width:90%;color:#eee; background:transparent; text-align:center; vertical-align:middle;">
{{TableHeaders|characters}}
<tr>
<td>{{Iconbox|Well Rounded}}</td>
<td>{{Character Data|Well Rounded|stats}}</td>
<td>{{Character Data|Well Rounded|unlockedby}}</td>
<td>{{Iconbox|{{Character Data|Well Rounded|unlocks}}|rarity={{Item Data|{{Character Data|Well Rounded|unlocks}}|rarity}}}}</td>
</tr>
</table>
</table>


=== [[Weapons#Weapon Classes|Weapon Classes]] ===
<code><nowiki>{{TableHeaders|classes}}</nowiki></code>


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


<table 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 93: Line 125:
"type": {
"type": {
"label": "Type",
"label": "Type",
"description": "Type of table header. Options: 'weapons', 'characters'",
"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 14:28, 25 June 2023


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
+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 Damage/Chance 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 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
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', 'classes'

Auto value
Stringrequired