[template myTemplate(var : Mytype) ? (getProperty('genType') <> 'mysql' and getProperty('genType') <> 'mongodb' )] // FIXME invalid genType in the properties file [/template] [template myTemplate(var : Mytype) ? (getProperty('genType') = 'mysql')] // My SQL code [/template] [template myTemplate(var : Mytype) ? (getProperty('genType') = 'mongoDB')] // MongoDB code [/template]