Line 14: |
Line 14: |
| [[{{{subject}}}|{{#var:first_name}}]] ({{#var:birth_date}} - {{#var:death_date}}) | [[{{{subject}}}|{{#var:first_name}}]], b. {{#var:birth_date}}, }} | {{#if: {{#var:death_date}} | [[{{{subject}}}|{{#var:first_name}}]], d. {{#var:death_date}}, | [[{{{subject}}}|{{#var:first_name}}]] (unknown-unknown) }} }} }} | | [[{{{subject}}}|{{#var:first_name}}]] ({{#var:birth_date}} - {{#var:death_date}}) | [[{{{subject}}}|{{#var:first_name}}]], b. {{#var:birth_date}}, }} | {{#if: {{#var:death_date}} | [[{{{subject}}}|{{#var:first_name}}]], d. {{#var:death_date}}, | [[{{{subject}}}|{{#var:first_name}}]] (unknown-unknown) }} }} }} |
| | | |
− | {{#if: {{#var:first_spouse}} | | + | {{#if: {{#var:first_spouse}} |
− | {{#vardefine:first_marriage_date | {{#show: {{#var:subject}} | ?was first married 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_father-in-law | {{#show: {{#var:first_spouse}} | ?has father}} }} |
− | {{#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}} | }}. }} | }} | + | {{#vardefine:first_mother-in-law | {{#show: {{#var:first_spouse}} | ?has mother}} }} |
| + | {{#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}} |
| + | | }} |
| + | . }} |
| + | | }} |
| | | |
− | {{#if: {{#var:second_spouse}} | | + | {{#if: {{#var:second_spouse}} |
− | {{#vardefine:second_marriage_date | {{#show: {{#var:subject}} | ?was second married on}} }} | + | | |
− | {{#vardefine:second_spouse | {{#show: {{#var:subject}} | ?was second married to}} }} | + | {{#vardefine:second_marriage_date | {{#show: {{#var:subject}} | ?was second married on}} }} |
− | {{#vardefine:second_father-in-law | {{#show: {{#var:second_spouse}} | ?has father}} }} | + | {{#vardefine:second_spouse | {{#show: {{#var:subject}} | ?was second married to}} }} |
− | {{#vardefine:second_mother-in-law | {{#show: {{#var:second_spouse}} | ?has mother}} }} | + | {{#vardefine:second_father-in-law | {{#show: {{#var:second_spouse}} | ?has father}} }} |
− | {{#vardefine:second_marriage_section | | + | {{#vardefine:second_mother-in-law | {{#show: {{#var:second_spouse}} | ?has mother}} }} |
− | {{#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}} | }}. }} |no 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}} |
| + | | }} |
| + | | |
| + | {{#vardefine:second_marriage_section | }} |
| + | . }} |
| + | | }} |
| | | |
| {{#if: {{#var:third_spouse}} | | | {{#if: {{#var:third_spouse}} | |
Line 33: |
Line 78: |
| {{#vardefine:third_father-in-law | {{#show: {{#var:third_spouse}} | ?has father}} }} | | {{#vardefine:third_father-in-law | {{#show: {{#var:third_spouse}} | ?has father}} }} |
| {{#vardefine:third_mother-in-law | {{#show: {{#var:third_spouse}} | ?has mother}} }} | | {{#vardefine:third_mother-in-law | {{#show: {{#var:third_spouse}} | ?has mother}} }} |
− | {{#vardefine:third_marriage_section | {{#if: {{#var:third_spouse}} | {{#var:first_name}} next married [[{{#var:third_spouse}}]]{{#if: {{#var:third_father-in-law}} | , child of [[{{#var:third_father-in-law}}]] {{#if: {{#var:third_mother-in-law}} | and [[{{#var:third_mother-in-law}}]], | }} | {{#if: {{#var:third_mother-in-law}} | , child of [[{{#var:third_mother-in-law}}]], | }} }} | }} {{#if: {{#var:third_marriage_date}} | on {{#var:third_marriage_date}} | }}. }} | }} | + | {{#vardefine:third_marriage_section | |
− | | }} | + | {{#if: {{#var:third_spouse}} | {{#var:first_name}} next married [[{{#var:third_spouse}}]]{{#if: {{#var:third_father-in-law}} | , child of [[{{#var:third_father-in-law}}]] {{#if: {{#var:third_mother-in-law}} | and [[{{#var:third_mother-in-law}}]], | }} | {{#if: {{#var:third_mother-in-law}} | , child of [[{{#var:third_mother-in-law}}]], | }} }} | }} {{#if: {{#var:third_marriage_date}} | on {{#var:third_marriage_date}} | }}. }} | }} |
| + | | |
| + | {{#vardefine:second_marriage_date | }} |
| + | {{#vardefine:second_spouse | }} |
| + | {{#vardefine:second_father-in-law | }} |
| + | {{#vardefine:second_mother-in-law | }} |
| + | {{#vardefine:second_marriage_section | }} |
| + | {{#vardefine:third_marriage_date | }} |
| + | {{#vardefine:third_spouse | }} |
| + | {{#vardefine:third_father-in-law | }} |
| + | {{#vardefine:third_mother-in-law | }} |
| + | {#vardefine:third_marriage_section | }} |
| + | }} |
| | | |
− | <noinclude>
| |
| ==debug== | | ==debug== |
| :subject:{{#var:subject}} | | :subject:{{#var:subject}} |
Line 47: |
Line 103: |
| :first father in law:{{#var:first_father-in-law}} | | :first father in law:{{#var:first_father-in-law}} |
| :first mother in law:{{#var:first_mother-in-law}} | | :first mother in law:{{#var:first_mother-in-law}} |
| + | :second spouse:{{#var:second_spouse}} |
| :second md:{{#var:second_marriage_date}} | | :second md:{{#var:second_marriage_date}} |
− | :second s:{{#var:second_spouse}}
| |
| :second fil:{{#var:second_father-in-law}} | | :second fil:{{#var:second_father-in-law}} |
| :second mil{{#var:second_mother-in-law}} | | :second mil{{#var:second_mother-in-law}} |
| + | :third spouse:{{#var:third_spouse}} |
| :third md:{{#var:third_marriage_date}} | | :third md:{{#var:third_marriage_date}} |
− | :third s:{{#var:third_spouse}}
| |
| :third fil:{{#var:third_father-in-law}} | | :third fil:{{#var:third_father-in-law}} |
| :third mil{{#var:third_mother-in-law}} | | :third mil{{#var:third_mother-in-law}} |
Line 62: |
Line 118: |
| ==test section== | | ==test section== |
| {{Individual Summary |subject=Elizabeth Hickox |pronoun=she}} | | {{Individual Summary |subject=Elizabeth Hickox |pronoun=she}} |
− | </noinclude>
| + | |
| | | |
| {{#var:birth_section}} {{#var:first_marriage_section}} {{#var: third_marriage_section}} | | {{#var:birth_section}} {{#var:first_marriage_section}} {{#var: third_marriage_section}} |