{{#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'}} {{#when this '==' 0.5}} {{/when}} {{#when this '==' 1}} {{/when}} {{#when this '==' 1.5}} {{/when}} {{#when this '==' 2}} {{/when}} {{#when this '==' 2.5}} {{/when}} {{#when this '==' 3}} {{/when}} {{#when this '==' 3.5}} {{/when}} {{#when this '==' 4}} {{/when}} {{#when this '==' 4.5}} {{/when}} {{#when this '>=' 5}} {{/when}} {{/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'}} {{/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}} {{#if field.columns.length}} {{#each field.columns}} {{/each}} {{/if}} {{#each this}} {{#each this}} {{/each}} {{/each}}
{{this}}
{{{this}}}
{{else}}
{{_ 'Empty'}}
{{/if}} {{/when}} {{#when config.format '===' 'jsonpretty'}} {{{json_pretty this}}} {{/when}} {{#when config.format '===' 'formula'}} {{formula config.parameters row}} {{/when}}