For example, {{PLURAL:$1|subpage|subpages}} is better than sub{{PLURAL:$1|page|pages}}.
{{PLURAL:$1|subpage|subpages}}
sub{{PLURAL:$1|page|pages}}