Difference between revisions of "Template:Add vitals"

From Crews Genealogy Wiki: focusing on the Wiregrass south, and related families
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{{1|}}} ({{#switch: {{#explode: {{{2|}}} | – | 0}}  
+
<includeonly>{{{1|}}} ({{get birth year|{{{2|}}} }}{{#ifeq:{{#explode: {{{2|}}} | – | 0}}|unknown|<!--do nothing-->| {{#ifeq:{{#explode: {{{2|}}} | – | 1}}|unknown|<!--do nothing-->| – }} }}{{get death year|{{{2|}}} }})</includeonly><noinclude>{{documentation}}</noinclude>
| unknown
 
| Unknown
 
| UNKNOWN =
 
| #default = {{#explode: {{#explode: {{{2|}}} | – | 0}} | | 2}}
 
}}{{#switch:{{#explode: {{{2|}}} | – | 0}}{{#explode: {{{2|}}} | – | 1}}
 
| unknown
 
| Unknown
 
| UNKNOWN =
 
| #default =  –  
 
}}{{#switch: {{#explode: {{{2|}}} | – | 1}}  
 
| unknown
 
| Unknown
 
| UNKNOWN =
 
| #default = {{#explode: {{#explode: {{{2|}}} | – | 1}} | | 2}}
 
}})</includeonly><noinclude>{{documentation}}</noinclude>
 

Latest revision as of 23:12, 23 February 2019