Current development on JAMWiki is primarily focused on maintenance rather than new features due to a lack of developer availability. If you are interested in working on JAMWiki please join the jamwiki-devel mailing list.

Template comments:If

if test[edit]

Code Result Expected
{{If|test=1|then=a|else=b}} a a
{{If|test=|then=a|else=b}} b b
{{If|test=1|then=a}} a a
{{If|test=|then=a}} a
{{If|test=|else=b}} b b
{{If|then=a|else=b}} b b
{{If|then=a}} a a
{{If|else=b}} b b