User:Mathglot/sandbox/Templates/Comma flip
Appearance
From Wikipedia, the free encyclopedia
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
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Subpages of this page.
Subpages of this page.