Widget:If

From RepRap
Revision as of 12:57, 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 ( .replace('<'+"script","script").toLowerCase() == .replace('<'+"script","script").toLowerCase() ) { document.write(); } else { document.write(); } </script>