Template:Checkbox: Difference between revisions

From Imagisphere
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 2: Line 2:
<span style="position:absolute; padding-left:6px; padding-top:3px">{{#switch:{{{1|}}}
<span style="position:absolute; padding-left:6px; padding-top:3px">{{#switch:{{{1|}}}
|#default
|#default
|checked=[[File:Tweak_GenericSetting_Yes.png|link=|18px|{{{checked}}}|{{{title|Yes}}}]]
|checked=[[File:Tweak_GenericSetting_Yes.png|link=|18px|{{{checked}}}|{{{Yes}}}]]title
|unchecked=[[File:Tweak_GenericSetting_No.png|link=|18px|{{{unchecked}}}|{{{title|No}}}]]
|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:36, 1 June 2024

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