{{#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'}} {{#stars this}} {{#when this '===' 'half'}} {{/when}} {{#when this '===' 'whole'}} {{/when}} {{#when this '===' 'empty'}} {{/when}} {{/stars}} {{/when}} {{#when config.format '===' 'date'}} {{#if this}} {{date this config.parameters}} {{else}}   {{/if}} {{/when}} {{#when config.format '===' 'relative'}} {{#if this}} {{relative this config.parameters}} {{else}}   {{/if}} {{/when}} {{#when config.format '===' 'strip'}} {{{strip this config.parameters}}} {{/when}} {{#when config.format '===' 'link'}} {{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'}} {{/when}} {{#when config.format '===' 'ol'}}
    {{#each this}}
  1. {{this}}
  2. {{/each}}
{{/when}} {{#when config.format '===' 'meta'}} {{/when}} {{#when config.format '===' 'tag'}} {{#each this}}
{{this}}
{{/each}} {{/when}} {{#when config.format '===' 'table'}} {{#if this.length}}
{{else}}
{{_ 'Empty'}}
{{/if}} {{/when}} {{#when config.format '===' 'carousel'}} {{#if this.length}} {{/if}} {{/when}} {{#when config.format '===' 'jsonpretty'}} {{{json_pretty this}}} {{/when}} {{#when config.format '===' 'formula'}} {{formula config.parameters row}} {{/when}}