Difference between revisions of "Template:Comma swap"
Jump to navigation
Jump to search
Template documentation
imported>Rich Farmbrough |
imported>Zackmann08 (substonly) |
||
| (6 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
{{<includeonly>safesubst:</includeonly>#invoke: string | replace | {{<includeonly>safesubst:</includeonly>#invoke: string | replace | ||
| source = {{{1<noinclude>|Smith Jones, John E.</noinclude>}}} | | source = {{{1<noinclude>|Smith Jones, John E.</noinclude>}}} | ||
| − | | pattern = ^([^ | + | | pattern = ^([^,]*),%s*(.*)$ |
| replace = %2 %1 | | replace = %2 %1 | ||
| plain = false | | plain = false | ||
}}<noinclude> | }}<noinclude> | ||
| − | + | {{Documentation|content= | |
| − | {{ | + | {{substonly}} |
| − | + | This template is used by {{tl|sord}} to transform <code>Last, First</code> to <code>First Last</code>. | |
| − | </noinclude> | + | }}</noinclude> |
Latest revision as of 22:30, 7 March 2019
John E. Smith Jones
Template:Substonly
This template is used by {{sord}} to transform Last, First to First Last.
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |