Template:Checkbox: Difference between revisions
Jump to navigation
Jump to search
(checkbox) |
DokkeFyxen (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
{{#switch:{{{1|}}} | <includeonly><div style="display: inline-flex; width:28px; height:14px"><span style="position:absolute">[[File:Tweak_Generic_Button.png|link=|30px]]</span> | ||
<span style="position:absolute; padding-left:6px; padding-top:3px">{{#switch:{{{1|}}} | |||
|#default | |#default | ||
|checked=[[File: | |checked=[[File:Tweak_GenericSetting_Yes.png|link=|18px|{{{checked}}}|{{{title|Yes}}}]] | ||
|unchecked=[[File: | |unchecked=[[File:Tweak_GenericSetting_No.png|link=|18px|{{{unchecked}}}|{{{title|No}}}]] | ||
}}<noinclude> | }}</span></div></includeonly><noinclude> | ||
{{ | {{checkbox}}{{checkbox|unchecked}} | ||
<pre> | |||
* <code><nowiki>{{checkbox}}</nowiki></code> ⇒ {{checkbox}} | * <code><nowiki>{{checkbox}}</nowiki></code> ⇒ {{checkbox}} | ||
* <code><nowiki>{{checkbox|checked|title}}</nowiki></code> ⇒ {{checkbox|checked|title}} | * <code><nowiki>{{checkbox|checked|title}}</nowiki></code> ⇒ {{checkbox|checked|title}} | ||
* <code><nowiki>{{checkbox|unchecked|title}}</nowiki></code> ⇒ {{checkbox|unchecked|title}} | * <code><nowiki>{{checkbox|unchecked|title}}</nowiki></code> ⇒ {{checkbox|unchecked|title}} | ||
</pre> | |||
</noinclude> | </noinclude> |
Revision as of 17:53, 1 June 2024
* <code>{{checkbox}}</code> ⇒ {{checkbox}} * <code>{{checkbox|checked|title}}</code> ⇒ {{checkbox|checked|title}} * <code>{{checkbox|unchecked|title}}</code> ⇒ {{checkbox|unchecked|title}}