Difference between revisions of "Template:Get surname"

From Crews Genealogy Wiki: focusing on the Wiregrass south, and related families
Jump to navigation Jump to search
Line 1: Line 1:
{{#explode: {{{1|}}} | |-1}}
+
<!-- check first character of last word for (-->{{#ifeq: <!--get first character of last word -->{{#sub: {{#explode: {{{1|}}} | |-1}}| 0|1}} | ( | {{#explode: {{{1|}}} | |-2}} | <!--do the switch-->
 
+
{{#switch: {{#explode: {{{1|}}} | |-1}}
{{#sub: {{#explode: {{{1|}}} | |-1}}| 0|1}}
+
| jr
 +
| Jr
 +
| jr.
 +
| Jr.
 +
| sr
 +
| Sr
 +
| sr.
 +
| Sr.
 +
| III
 +
| iii = {{#explode: {{{1|}}} | |-2}}
 +
| #default={{#explode: {{{1|}}} | |-1}}
 +
}} }}

Revision as of 00:20, 17 February 2019