User:Tiddlywinks/MakeHideButton: Difference between revisions

Well that's not what I wanted. Maybe I'll make it settable anyway
(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>