Changes

Jump to: navigation, search

SSlogic

126 bytes added, 14:47, 22 August 2013
no edit summary
'''Multiple Options ("else if" syntax):'''
You can use multiple sslogic statements "else if" operators if there are more than just 2 options:
<nowiki><!--@sslogic(</nowiki>''condition 1'')-->aaa <nowiki><!--@else if(</nowiki>''condition 2'')-->bbb <nowiki><!--@else if(</nowiki>''condition 3'')-->ccc <nowiki><!--@else-->ddd </nowiki> <nowiki><!--@end--></nowiki>
'''Example:''' <pre><!--@sslogic("@possibility@"="Yes")-->
This will happen for certain.
<!--@end--> <!--@sslogicelse if("@possibility@"="No")--> This is not happening.<!--@end--> <!--@sslogicelse if('"@possibility@'"='"Maybe'")-->
This may or may not happen.
<!--@else--> No-one knows what will happen.<!--@end--></pre> 
'''Multiple Conditions:'''
8,849
edits

Navigation menu