Topics

plural function/modifier

{plural} returns either a 'singular' or 'plural' from of a phrase based on the 'count' parameter.  It is available as either a function for modifier though each operates with different parameters.

{plural count=$items singular='item' plural='items'}
{$items = $title|plural:count($title)}
Loading Help