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}} | ||
{{TableRowSet|Blunt}} | |||
</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 |
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 |
1.66s |
x2 (3%) |
200 |
8 |
0 |
Hitting an enemy spawns 3/4/5/6 projectiles dealing 50%/60%/70%/80% damage |
20 |
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 |
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Type | type 1 | Type of table header. Options: 'characters', 'items', 'weapons', 'sets'
| String | required |