aa_macro syntax 
 aa_macro source 
 HTML source 
 HTML render 

4.92 - [else] Built-In

Mnemonic aid: else for ELSE not match

See also:  [if] 

If there is no style, and value and match are not identical, the conditionalContent will be emitted. If there is a style, the style is only evaluated if value and match are not identical. In that case, the content is passed to the style, and the style is responsible for emitting it. sep= defaults to a space.


When there is no style, conditionalContent is generated either way; the only difference is whether it appears in the output stream or not.

To avoid generating any content, put a trailing sep character after match and nothing else, or use a style instead.

[else (style=styleName,)(sep=X,)valueXnotMatchXconditionalContent]

[if this this that][else this this theother]
[if this what that][else this what theother]

that theother

Other built-ins used here:  [if] 

Keyboard Navigation
, Previous Page . Next Page t TOC i Index

Valid HTML 4.01 Loose

This manual was generated with wtfm
wtfm uses aa_macro and SqLite
aa_macro uses python 2.7