Template:Checkbox: Difference between revisions

From Imagisphere
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
<includeonly><div style="display: inline-flex; width:28px; height:14px"><span style="position:absolute; margin-left:-6px; margin-top:-6px">[[File:Tweak_Generic_Button.png|link=|30px]]</span>
<includeonly><div style="display: inline-flex; width:28px; height:14px"><span style="position:absolute; margin-left:-6px; margin-top:-5px">[[File:Tweak_Generic_Button.png|link=|30px]]</span>
<span style="position:absolute; margin-top:-3px">{{#switch:{{{1|}}}
<span style="position:absolute; margin-top:-2px">{{#switch:{{{1|}}}
|#default
|#default
|checked=[[File:Tweak_GenericSetting_Yes.png|link=|18px|{{{checked}}}|Yes]]{{{title|}}}
|checked=[[File:Tweak_GenericSetting_Yes.png|link=|18px|{{{checked}}}|Yes]]{{{title|}}}

Revision as of 18:56, 1 June 2024

File:Tweak Generic Button.png Yes
File:Tweak Generic Button.png No
* <code>{{checkbox}}</code> ⇒ {{checkbox}}
* <code>{{checkbox|checked|title}}</code> ⇒ {{checkbox|checked|title}}
* <code>{{checkbox|unchecked|title}}</code> ⇒ {{checkbox|unchecked|title}}