[SOLVED] Multiple conditions in TEMPLATE code
The TEMPLATE instructions show how to use various functions/commands to set values based on 1 condition. For instance; "Display Yes if the book has an EPUB format. Template:{formats:contains(EPUB, Yes,)}"
That works great. But, how do you code this if you want a "YES" where "formats" is one of a number of possible values; "EPUB" as well as "MOBI" and {however many more you wish} types?
Thank you.
Last edited by HFC3; 07-07-2013 at 01:39 PM.
Reason: Annotate solved
|