r1 - 27 Mar 2005 - 15:14:15 - TWikiContributorYou are here: Sahaja Yoga Italia >  TWiki Web  >  TWikiVariables > VarIF

IF{"condition" ...} -- simple conditionals

  • Evaluate a condition and show one text or another based on the result. See details in IfStatements
  • Syntax: %IF{"CONDITION" then="THEN" else="ELSE"}% shows "THEN" if "CONDITION" evaluates to TRUE, otherwise "ELSE" will be shown
  • Example: %IF{"defined FUNFACTOR" then="FUNFACTOR is defined" else=" is not defined"}% renders as ==
  • Related: $IF() of SpreadSheetPlugin
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
 
Powered by Sahaja Yoga Italia
Materiale estratto da http://wiki.sahajayoga.it - Copyright © dei rispettivi autori.