From Brotato Wiki
(→Weapons: Add `text-align: center` to example and preview code) |
ArosRising (talk | contribs) No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
<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: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> | <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> | ||
<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> | </tr> | ||
Line 17: | 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"> | <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 | <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 33: | 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 <!--DEPRECATED--> | |||
| classes = <!-- | |||
--><tr> | --><tr> | ||
<th style="background-color: rgb(220,220,220,0.2); color: #eee;" tabindex="0" title="Sort ascending" role="columnheader button"> | <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 61: | Line 64: | ||
|[[Weapons]] | |[[Weapons]] | ||
|- | |- | ||
|<code><nowiki>{{TableHeaders| | |<code><nowiki>{{TableHeaders|classes}}</nowiki></code> | ||
|[[Weapons# | |[[Weapons#Weapon Classes|Weapon Classes]] | ||
|} | |} | ||
== Previews == | == Previews == | ||
=== Characters === | === [[Characters]] === | ||
<code><nowiki>{{TableHeaders|characters}}</nowiki></code> | <code><nowiki>{{TableHeaders|characters}}</nowiki></code> | ||
Line 80: | Line 83: | ||
</table> | </table> | ||
=== Items === | === [[Items]] === | ||
<code><nowiki>{{TableHeaders|items}}</nowiki></code> | <code><nowiki>{{TableHeaders|items}}</nowiki></code> | ||
Line 93: | Line 96: | ||
</table> | </table> | ||
=== Weapons === | === [[Weapons]] === | ||
<code><nowiki>{{TableHeaders|weapons}}</nowiki></code> | <code><nowiki>{{TableHeaders|weapons}}</nowiki></code> | ||
Line 106: | Line 109: | ||
</table> | </table> | ||
=== Weapon | === [[Weapons#Weapon Classes|Weapon Classes]] === | ||
<code><nowiki>{{TableHeaders| | <code><nowiki>{{TableHeaders|classes}}</nowiki></code> | ||
<pre><nowiki><table class="wikitable sortable jquery-tablesorter" style="color:#eee; background:transparent;"> | <pre><nowiki><table class="wikitable sortable jquery-tablesorter" style="color:#eee; background:transparent;"> | ||
{{TableHeaders| | {{TableHeaders|classes}} | ||
{{ | {{TableRowWeaponClass|Blunt}} | ||
</table></nowiki></pre> | </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}} | ||
{{ | {{TableRowWeaponClass|Blunt}} | ||
</table> | </table> | ||
Line 124: | Line 127: | ||
"type": { | "type": { | ||
"label": "Type", | "label": "Type", | ||
"description": "Type of table header. Options: 'characters', 'items', 'weapons', ' | "description": "Type of table header. Options: 'characters', 'items', 'weapons', 'classes'", | ||
"type": "string", | "type": "string", | ||
"autovalue": " | "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 |
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 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 |
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Type | type 1 | Type of table header. Options: 'characters', 'items', 'weapons', 'classes'
| String | required |