Changes

Jump to navigation Jump to search
no edit summary
Line 1: Line 1: −
{{#vardefine:subject             | David Hickox}} <!-- will be passed from template later -->
+
<noinclude>
{{#vardefind:first_name          | David}} <!-- will be passed from template later -->
+
{{#vardefine:subject                   | {{{subject}}} }} <!-- will be passed from template later -->
{{#vardefine:birth_date         | {{#show: {{#var:subject}}       | ?was born on}} }}
+
{{#vardefine:pronoun                    | he}} <!-- will be passed from template later -->
{{#vardefine:death_date         | {{#show: {{#var:subject}}       | ?died on}} }}
+
{{#vardefine:first_name                | {{#explode: {{#var:subject}} | | 0}} }}
{{#vardefine:first_marriage_date | {{#show: {{#var:subject}}       | ?was first married on}} }}
+
{{#vardefine:birth_date                 | {{#show: {{#var:subject}}       | ?was born on}} }}
{{#vardefine:first_spouse       | {{#show: {{#var:subject}}       | ?was first married to}} }}
+
{{#vardefine:death_date                 | {{#show: {{#var:subject}}       | ?died on}} }}
{{#vardefine:first_father-in-law       | {{#show: {{#var:first_spouse}} | ?has father}} }}
+
{{#vardefine:first_marriage_date       | {{#show: {{#var:subject}}       | ?was first married on}} }}
{{#vardefine:first_mother-in-law       | {{#show: {{#var:first_spouse}} | ?has mother}} }}
+
{{#vardefine:first_spouse               | {{#show: {{#var:subject}}       | ?was first married to}} }}
{{#vardefine:second_spouse       | {{#show: {{#var:subject}}       | ?was second married to}} }}
+
{{#vardefine:first_father-in-law       | {{#show: {{#var:first_spouse}}   | ?has father}} }}
 +
{{#vardefine:first_mother-in-law       | {{#show: {{#var:first_spouse}}   | ?has mother}} }}
 +
{{#vardefine:second_marriage_date      | {{#show: {{#var:subject}}        | ?was second married on}} }}
 +
{{#vardefine:second_spouse             | {{#show: {{#var:subject}}       | ?was second married to}} }}
 
{{#vardefine:second_father-in-law      | {{#show: {{#var:second_spouse}}  | ?has father}} }}
 
{{#vardefine:second_father-in-law      | {{#show: {{#var:second_spouse}}  | ?has father}} }}
 
{{#vardefine:second_mother-in-law      | {{#show: {{#var:second_spouse}}  | ?has mother}} }}
 
{{#vardefine:second_mother-in-law      | {{#show: {{#var:second_spouse}}  | ?has mother}} }}
Line 15: Line 18:     
<!-- First Marriage Section -->     
 
<!-- First Marriage Section -->     
{{#if: {{#var:first_spouse}} | {{#vardefine:first_marriage_section | {{#if: {{#var:first_spouse}} | first married {{#var:first_spouse}}{{#if: {{#var:father-in-law}} | , child of {{#var:father-in-law}} {{#if: {{#var:first_mother-in-law}} | and {{#var:first_mother-in-law}}, | }} | {{#if: {{#var:first_mother-in-law}} | , child of {{#var:first_mother-in-law}}, | }} }} | }} {{#if: {{#var:first_marriage_date}} | on {{#var:first_marriage_date}} | }}. }} | }}
+
{{#if: {{#var:first_spouse}} | {{#vardefine:first_marriage_section | {{#if: {{#var:first_spouse}} | first married [[{{#var:first_spouse}}]]{{#if: {{#var:first_father-in-law}} | , child of [[{{#var:first_father-in-law}}]] {{#if: {{#var:first_mother-in-law}} | and [[{{#var:first_mother-in-law}}]], | }} | {{#if: {{#var:first_mother-in-law}} | , child of [[{{#var:first_mother-in-law}}]], | }} }} | }} {{#if: {{#var:first_marriage_date}} | on {{#var:first_marriage_date}} | }}.&nbsp;}} | }}
    
<!-- Second Marriage Section -->     
 
<!-- 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}} | , child of {{#var:second_father-in-law}} {{#if: {{#var:second_mother-in-law}} | and {{#var:second_mother-in-law}}, | }} | {{#if: {{#var:second_mother-in-law}} | , child of {{#var:second_mother-in-law}}, | }} }} | }} {{#if: {{#var:second_marriage_date}} | on {{#var:second_marriage_date}} | }}. }} | }}  
+
{{#if: {{#var:second_spouse}} | {{#vardefine:second_marriage_section | {{#if: {{#var:second_spouse}} | {{#var:first_name}} next married [[{{#var:second_spouse}}]]{{#if: {{#var:second_father-in-law}} | , child of [[{{#var:second_father-in-law}}]] {{#if: {{#var:second_mother-in-law}} | and [[{{#var:second_mother-in-law}}]], | }} | {{#if: {{#var:second_mother-in-law}} | , child of [[{{#var:second_mother-in-law}}]], | }} }} | }} {{#if: {{#var:second_marriage_date}} | on {{#var:second_marriage_date}} | }}.&nbsp; }} | }}
 
+
</noinclude>
[[{{#var:subject}}]] {{#var:birth_section}} {{#var:first_marriage_section}} {{#var:second_marriage_section}}
+
[[{{#var:subject}}]] {{#var:birth_section}} {{#var:first_marriage_section}}{{#var:conjuction}}{{#var:second_marriage_section}}

Navigation menu