User:Mathglot/sandbox/Templates/Comma flip
Appearance
Documentation
For an inverted string with a comma, flip the order and pipe the original (no brackets). Return original string if no comma.
Usage
{{comma flip|string}}
Examples
{{comma flip|Forty Mile No. 8, County of}}
⟶ Draft:Comma flip
{{comma flip|Lac Ste. Anne County}}
⟶ Draft:Comma flip