Difference between revisions of "Template:Bool"

From Synfig Studio :: Documentation
Jump to: navigation, search
(Created page with "{{#ifexist: {{{1}}} | <table style="width:18px; height:16px; font-size:18pt;" border="0"><tr><td>✔</td></tr></table> | <table style="width:18px; height:16px; font-size:18pt;...")
 
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#ifexist: {{{1}}} | <table style="width:18px; height:16px; font-size:18pt;" border="0"><tr><td>✔</td></tr></table> | <table style="width:18px; height:16px; font-size:18pt;" border="0"><tr><td>&nbsp;</td></tr></table> }}
+
{{#if: {{{1}}} | <table style="width:18px; height:16px; font-size:18pt;" border="0"><tr><td>✔</td></tr></table> | <table style="width:18px; height:16px; font-size:18pt;" border="0"><tr><td>&nbsp;</td></tr></table> }}<noinclude>
 +
Template for using in examples of tables from {{l|Parameters Panel}}.
 +
 
 +
If is used as <nowiki>{{Bool|On}}</nowiki> or <nowiki>{{Bool}}</nowiki>, is viewed as checked. Without paramater value <nowiki>{{Bool|}}</nowiki> or with <nowiki>{{Bool|Off}}</nowiki>, is table cell as unchecked.
 +
</noinclude>

Latest revision as of 10:48, 2 March 2017

Template for using in examples of tables from Parameters Panel.

If is used as {{Bool|On}} or {{Bool}}, is viewed as checked. Without paramater value {{Bool|}} or with {{Bool|Off}}, is table cell as unchecked.