Difference between revisions of "Template:Individual Summary"

From Crews Genealogy Wiki: focusing on the Wiregrass south, and related families
Jump to navigation Jump to search
Line 1: Line 1:
<noinclude>
+
{{#vardefine:subject | {{{subject}}} }}{{#vardefine:pronoun | he}}{{#vardefine:first_name | {{#explode: {{#var:subject}} | | 0}} }} {{#vardefine:birth_date                | {{#show: {{#var:subject}} | ?was born on}} }}{{#vardefine:death_date | {{#show: {{#var:subject}} | ?died on}} }}{{#vardefine:first_marriage_date        | {{#show: {{#var:subject}}        | ?was first married on}} }}{{#vardefine:first_spouse | {{#show: {{#var:subject}} | ?was first 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_mother-in-law      | {{#show: {{#var:second_spouse}}  | ?has mother}} }}{{#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) }} }} }}{{#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;}} | }}{{#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; }} | }}[[{{#var:subject}}]] {{#var:birth_section}} {{#var:first_marriage_section}}{{#var:conjuction}}{{#var:second_marriage_section}}
{{#vardefine:subject                   | {{{subject}}} }} <!-- will be passed from template later -->
 
{{#vardefine:pronoun                   | he}} <!-- will be passed from template later -->
 
{{#vardefine:first_name                 | {{#explode: {{#var:subject}} | | 0}} }}  
 
{{#vardefine:birth_date                | {{#show: {{#var:subject}}       | ?was born on}} }}
 
{{#vardefine:death_date                 | {{#show: {{#var:subject}}       | ?died on}} }}
 
{{#vardefine:first_marriage_date        | {{#show: {{#var:subject}}        | ?was first married on}} }}
 
{{#vardefine:first_spouse               | {{#show: {{#var:subject}}       | ?was first 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_mother-in-law      | {{#show: {{#var:second_spouse}}  | ?has mother}} }}
 
 
 
<!-- Birth Section -->
 
{{#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) }} }} }}
 
 
 
<!-- First Marriage Section -->   
 
{{#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 -->   
 
{{#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:conjuction}}{{#var:second_marriage_section}}
 

Revision as of 09:13, 19 January 2018

[[{{{subject}}}]] (unknown-unknown)