Changes

Jump to navigation Jump to search
no edit summary
Line 1: Line 1: −
{{#vardefine:subject       | Elizabeth Hickox }} <!-- will be passed from template later -->
+
{{#vardefine:subject             | David Hickox}} <!-- will be passed from template later -->
{{#vardefine:birth_date   | {{#ask: {{#var:subject}} | ?was born on}} }}
+
{{#vardefind:first_name          | David}} <!-- will be passed from template later -->
{{#vardefine:death_date   | {{#ask: {{{full_name}}| ?died on}} }}
+
{{#vardefine:birth_date         | {{#show: {{#var:subject}}       | ?was born on}} }}
{{#vardefine:marriage_date | {{#ask: {{{full_name}}| ?was married on}} }}
+
{{#vardefine:death_date         | {{#show: {{#var:subject}}       | ?died on}} }}
{{#vardefine:spouse       | {{#ask: {{{full_name}}}  | ?was first married to }} }}
+
{{#vardefine:first_marriage_date | {{#show: {{#var:subject}}       | ?was first married on}} }}
{{#vardefine:father-in-law | {{#ask: {{#var:spouse}}  | ?has father}} }}
+
{{#vardefine:first_spouse       | {{#show: {{#var:subject}}      | ?was first married to}} }}
{{#vardefine:mother-in-law | {{#ask: {{#var:spouse}}  | ?has mother}} }}
+
{{#vardefine:first_father-in-law      | {{#show: {{#var:first_spouse}}  | ?has father}} }}
 +
{{#vardefine:first_mother-in-law      | {{#show: {{#var:first_spouse}}  | ?has mother}} }}
 +
{{#vardefine:second_spouse        | {{#show: {{#var:subject}}      | ?was second married to}} }}
 +
{{#vardefine:second_father-in-law       | {{#show: {{#var:second_spouse}}  | ?has father}} }}
 +
{{#vardefine:second_mother-in-law       | {{#show: {{#var:second_spouse}}  | ?has mother}} }}
   −
*{{#var:subject}}
+
*subject: {{#var:subject}}
*{{#var:birth_date}}
+
*born: {{#var:birth_date}}
*{{#var:death_date}}
+
*died: {{#var:death_date}}
*{{#var:marriage_date}}  
+
*married: {{#var:first_marriage_date}}
 +
*spouse: {{#var:first_spouse}}
 +
*father in law: {{#var:first_father-in-law}}
 +
*mother in law: {{#var:first_mother-in-law}}
       
<!-- Birth Section -->
 
<!-- Birth Section -->
[[{{#var:subject}}]]{{#vardefine:birth_section | {{#if: {{#var:birth_date}} | {{#if: {{#var:death_date}} | ({{#var:birth_date}} - {{#var:death_date}}) | , born {{#var:birth_date}}, }} | {{#if: {{#var:death_date}} | , died {{#var:death_date}} | (unknown-unknown) }} }} }}
+
{{#vardefine:birth_section | {{#if: {{#var:birth_date}} | {{#if: {{#var:death_date}} | ({{#var:birth_date}} - {{#var:death_date}}) | , born {{#var:birth_date}}, }} | {{#if: {{#var:death_date}} | , died {{#var:death_date}} | (unknown-unknown) }} }} }}
   −
<!-- Marriage Section -->     
+
<!-- First Marriage Section -->     
{{#if: {{#var:marriage_date}} | married {{#if: {{#var:spouse}} | [[{{#var:husband}}]] | unknown}} | }} }}
+
{{#if: {{#var:first_spouse}} | {{#vardefine:first_marriage_section | {{#if: {{#var:first_spouse}} | first married {{#var:first_spouse}}{{#if: {{#var:father-in-law}} | , son of {{#var:father-in-law}} {{#if: {{#var:first_mother-in-law}} | and {{#var:first_mother-in-law}}, | }} | {{#if: {{#var:first_mother-in-law}} | , son of {{#var:first_mother-in-law}}, | }} }} | }} {{#if: {{#var:first_marriage_date}} | on {{#var:first_marriage_date}} | }}. }} | }}
   −
{{#if:{{#var:father-in-law}} | son of [[{{#var:father-in-law}}]] | unknown father }}
+
<!-- Second Marriage Section -->   
 +
{{#if: {{#var:second_spouse}} | {{#vardefine:second_marriage_section | {{#if: {{#var:second_spouse}} | {{#var:first_name}} next married {{#var:second_spouse}}{{#if: {{#var:father-in-law}} | , son of {{#var:second_father-in-law}} {{#if: {{#var:second_mother-in-law}} | and {{#var:second_mother-in-law}}, | }} | {{#if: {{#var:second_mother-in-law}} | , son of {{#var:second_mother-in-law}}, | }} }} | }} {{#if: {{#var:second_marriage_date}} | on {{#var:second_marriage_date}} | }}. }} | }}  
   −
{{#if:{{#var:mother-in-law}} | and [[{{#var:mother-in-law}}]] | unknown mother }}
+
[[{{#var:subject}}]] {{#var:birth_section}} {{#var:first_marriage_section}} {{#var:second_marriage_section}}
   −
{{#var:section_a}}  married {{#var:husband}} child of {{#ask: {{#var:husband}} | ?has father}} and {{#ask: {{#var:husband}} | ?has mother}} on 18 Jan 1853 in Wayne Co.Ga. Jesse was born in 1815 in Wayne Co.Ga. He died on 17 Jan 1900 in Pierce County, Georgia.
+
{{#var:section_a}}  married {{#var:husband}} child of {{#ask: {{#var:husband}} | ?has father}} and {{#ask: {{#var:husband}} | ?has mother}} on 18 Jan 1853 in Wayne Co.Ga. Jesse was born in 1815 in Wayne Co.Ga. He died on 17 Jan 1900 in Pierce County, Georgia.

Navigation menu