public static function inotEmpty($value, array $params, Template $template)
    {
        if (empty($value)) {
            return '';
        }
        $template = clone $template;
        $placeholders = array_merge(
            !empty($params['addPlaceholders']) ? $template->findPlaceholders($params['addPlaceholders']) : [],
            ['output' => $value]
        );

        return $template->replace($params['then'], $placeholders);
    }