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
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#explode: {{{1|}}} | |-1}}
+
{{#if: {{#explode: {{#explode: {{{1|}}} | (|-2}} | |-1}}  
 
+
|
{{#sub: {{{1|}}}| 0|0}}
+
{{#switch: {{#explode: {{#explode: {{{1|}}} | (|-2}} | |-1}}
 +
| jr
 +
| Jr
 +
| jr.
 +
| Jr.
 +
| sr
 +
| Sr
 +
| sr.
 +
| Sr.
 +
| I
 +
| i
 +
| II
 +
| ii
 +
| III
 +
| iii = {{ucfirst:{{lc:{{#explode: {{#explode: {{#explode: {{{1|}}} | (|-2}} | |-2}} |,|0}}}}}}
 +
| #default= {{ucfirst:{{lc:{{#explode: {{#explode: {{{1|}}} | (|-2}} | |-1}}}}}}
 +
}}
 +
|
 +
{{#switch: {{#explode: {{{1|}}}| |-1}}
 +
| jr
 +
| Jr
 +
| jr.
 +
| Jr.
 +
| sr
 +
| Sr
 +
| sr.
 +
| Sr.
 +
| I
 +
| i
 +
| II
 +
| ii
 +
| III
 +
| iii = {{lc:{{ucfirst:{{#explode: {{#explode: {{{1|}}}| |-2}} |,|0}}}}}}
 +
| #default=  {{ucfirst:{{lc:{{#explode: {{{1|}}}| |-1}}}}}}
 +
}}
 +
}}

Latest revision as of 12:24, 13 March 2019