User:Tiddlywinks/MakeHideButton: Difference between revisions

m
typo... (my JS function with slightly different logic)
(Created page with "class="clicktoggler {{#ifeq: {{{start|on}}}|clicktoggle-active}}" data-type="toggle" data-for="{{{1|Spoilers}}},{{{2|DLC}}}" style="{{{off|}}}" data-active-style="{{{on|}}}"<...")
 
m (typo... (my JS function with slightly different logic))
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
class="clicktoggler {{#ifeq: {{{start|on}}}|clicktoggle-active}}" data-type="toggle" data-for="{{{1|Spoilers}}},{{{2|DLC}}}"
class="clicktoggle {{#ifeq: {{{start|on}}}|on|clicktoggle-active}}" data-type="{{{type|set}}}" data-for="{{{1|Spoilers}}},{{{2|DLC}}}"
style="{{{off|}}}"  
style="{{{common|}}}; {{{off|}}}"  
data-active-style="{{{on|}}}"<noinclude>
data-active-style="{{{common|}}}; {{{on|}}}"<noinclude>




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


<!--
[[Category:Code templates]]
-->
</noinclude>
</noinclude>