{{#when config.format '===' 'none'}}
{{#is_array this}}
{{_ 'Array'}}
{{else}}
{{~this~}}
{{/is_array}}
{{/when}}
{{#when config.format '===' 'lower'}}
{{lower this}}
{{/when}}
{{#when config.format '===' 'upper'}}
{{upper this}}
{{/when}}
{{#when config.format '===' 'capital'}}
{{capital this}}
{{/when}}
{{#when config.format '===' 'length'}}
{{chars this config.parameters}}
{{/when}}
{{#when config.format '===' 'words'}}
{{words this config.parameters}}
{{/when}}
{{#when config.format '===' 'html'}}
{{{this}}}
{{/when}}
{{#when config.format '===' 'markdown'}}
{{{markdown this}}}
{{/when}}
{{#when config.format '===' 'number'}}
{{number this}}
{{/when}}
{{#when config.format '===' 'price'}}
{{price this}}
{{/when}}
{{#when config.format '===' 'yes'}}
{{#if this}}Yes{{else}}No{{/if}}
{{/when}}
{{#when config.format '===' 'stars'}}
{{compile config.parameters.1 row}}
{{/when}}
{{#when config.format '===' 'image'}}
{{#if this}}
{{/if}}
{{/when}}
{{#when config.format '===' 'email'}}
{{compile config.parameters row}}
{{/when}}
{{#when config.format '===' 'phone'}}
{{compile config.parameters row}}
{{/when}}
{{#when config.format '===' 'custom'}}
{{{compile config.parameters row}}}
{{/when}}
{{#when config.format '===' 'comma'}}
{{join this ', '}}
{{/when}}
{{#when config.format '===' 'space'}}
{{join this ' '}}
{{/when}}
{{#when config.format '===' 'nl'}}
{{#each this}}
{{this}}
{{#unless @last}}
{{/unless}}
{{/each}}
{{/when}}
{{#when config.format '===' 'ul'}}