Pagecount
From Sonic Retro
Revision as of 19:18, 1 January 2022 by BSonirachi (talk | contribs) (Text replacement - "Category:Sonic Retro templates" to "Category:Templates")
Revision as of 19:18, 1 January 2022 by BSonirachi (talk | contribs) (Text replacement - "Category:Sonic Retro templates" to "Category:Templates")
Calculate the size of a range (inclusive) given by the format "a-b". It also works with broken ranges in the format "a-b,c-d".
Example: {{pagecount|12-14}} becomes 3.
Example: {{pagecount|12-14,17,20-21}} becomes 6.