aa_macro syntax 
 aa_macro source 
 HTML source 
 HTML render 
Key

4.91 - [if] Built-In

Mnemonic aid: if for IF match

See also:  [else] 

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

Note:

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.


[if (style=styleName,)(sep=X,)valueXmatchXconditionalContent]

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

that
theother
that theother

Other built-ins used here:  [else] 

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