User:Tiddlywinks/MakeHideButton: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(more useful... (typing each attribute the same is what's a pain in the first place))
(Well that's not what I wanted. Maybe I'll make it settable anyway)
Line 1: Line 1:
class="clicktoggler {{#ifeq: {{{start|on}}}|on|clicktoggle-active}}" data-type="toggle" data-for="{{{1|Spoilers}}},{{{2|DLC}}}"
class="clicktoggler {{#ifeq: {{{start|on}}}|on|clicktoggle-active}}" data-type="{{{type|set}}}" data-for="{{{1|Spoilers}}},{{{2|DLC}}}"
style="{{{common|}}}; {{{off|}}}"  
style="{{{common|}}}; {{{off|}}}"  
data-active-style="{{{common|}}}; {{{on|}}}"<noinclude>
data-active-style="{{{common|}}}; {{{on|}}}"<noinclude>

Revision as of 00:45, 24 December 2023

class="clicktoggler clicktoggle-active" data-type="set" data-for="Spoilers,DLC" style="; " data-active-style="; "


This template makes an element into a button that hides targets that have the same values (User:Tiddlywinks/MakeHideTarget).