Template:Checkbox: Difference between revisions

From Imagisphere
Jump to navigation Jump to search
No edit summary
mNo 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}}}|{{{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:40, 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}}