Template:FormatPageNumbers/doc

This template formats a page number range or a comma-separated list of page numbers (or both together) by replacing hyphens with n-dashes and adding a space after any commas.

Examples
returns

returns

returns

returns