Widget:If

From RepRap
Revision as of 12:29, 22 March 2010 by TheOtherRob (talk | contribs)
Jump to: navigation, search

Usage:

{{#Widget:if|value1 equals|value2|then=do this|else=do this}}

<script type="text/javascript"> if ( {{{1}}}=={{{2}}} ) { document.write(); } else { document.write(); } </script>