From Brotato Wiki
(data attr for miscs (tags/costs)) |
(updates) |
||
Line 19: | Line 19: | ||
<span class="btn btn--active" data-hide-type="misc" data-hide-target="box__stats-tags" title="Tags" style="height: 20px;">🏷️</span> | <span class="btn btn--active" data-hide-type="misc" data-hide-target="box__stats-tags" title="Tags" style="height: 20px;">🏷️</span> | ||
</td>|}} | </td>|}} | ||
<td style="text-align: right;"> | <td style="padding-left: 20px; text-align: right;"> | ||
<!-- Item Tags (Stats) --> | <!-- Item Tags (Stats) --> | ||
<span class="btn btn--active" data-hide-type="item" data-hide-target="stat_max_hp" title="Max HP">{{StatIcon|Max HP|nolink=1}}</span> | <span class="btn btn--active" data-hide-type="item" data-hide-target="stat_max_hp" title="Max HP">{{StatIcon|Max HP|nolink=1}}</span> |
Revision as of 19:18, 16 December 2022
Creates buttons that can be used above a table grid of items, shown with StatsCard, to toggle the visibility of those items.
See Mod:Extatonion/Items for a working example.
Default
{{StatsCard_GridToggles}}
❌ ✔️ |
|
Tier Buttons
{{StatsCard_GridToggles|tier_btns=1}}
❌ ✔️ |
Common Uncommon Rare Legendary |
|
Extra Buttons
{{StatsCard_GridToggles|extra_btns=1}}
❌ ✔️ |
🏷️ |
|