Widget:If
Revision as of 12:30, 22 March 2010 by TheOtherRob (talk | contribs)
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> if ( {{{1}}}=={{{2}}} )