Template:Checkbox: Difference between revisions

From Imagisphere
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly><div style="display: inline-flex; width:28px; height:14px"><span style="position:absolute">[[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:-3px">[[File:Tweak_Generic_Button.png|link=|30px]]</span>
<span style="position:absolute; padding-left:6px; padding-top:3px">{{#switch:{{{1|}}}
<span style="position:absolute;">{{#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|}}}
|unchecked=[[File:Tweak_GenericSetting_No.png|link=|18px|{{{unchecked}}}|No]]{{{ title|}}}
|unchecked=[[File:Tweak_GenericSetting_No.png|link=|18px|{{{unchecked}}}|No]]{{{title|}}}
}}</span></div></includeonly><noinclude>
}}</span></div></includeonly><noinclude>
{{checkbox}}{{checkbox|unchecked}}
{{checkbox}}{{checkbox|unchecked}}

Revision as of 18:54, 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}}