Location: PHPKode > projects > SithTemplate > SithTemplate-1.1/docs/examples/stdlib/01_filter_pluralize.html
{# var1 = 1, var2 = 7 #}

{{ var1|pluralize }} {# outputs nothing #}
{{ var2|pluralize }} {# outputs 's' #}

{{ var1|pluralize:"es" }} {# outputs nothing #}
{{ var2|pluralize:"es" }} {# outputs 'es' #}

{{ var1|pluralize:"e,es" }} {# outputs 'e' #}
{{ var2|pluralize:"e,es" }} {# outputs 'es' #}
Return current item: SithTemplate