Help talk:ParserFunctions
Latest comment: 18 years ago by CBDunkerson
Yay! Yippee! 'Oh frabjous day! Callooh! Callay!'
Ahem. Ok, so this looks wonderful. Just a couple of comments;
{{if: <condition> | <then text> | <else text> }}
Using pipes (|) as the argument separator is problematic when the <text> sections include wiki table markup (i.e. |-, |, ||) and sometimes even wiki links (i.e. [[Page name|Text to display]]). Would it be possible to use some other character to separate the arguments?
Also, does the expr function take commas into consideration? For example;
{{expr: 1,440 / 60}}
Would this evaluate to '24' or choke on the comma and need '1440' to be used instead? --CBDunkerson 16:09, 5 April 2006 (UTC)