Difference between revisions of "Template:Family"
| Line 35: | Line 35: | ||
| {{#if:{{{start year|}}}|{{{start year|}}}|{{{marriage year|}}}}}-{{{parent death year|}}} | | {{#if:{{{start year|}}}|{{{start year|}}}|{{{marriage year|}}}}}-{{{parent death year|}}} | ||
}} {{Wrap|(|{{Wrap|b. |{{{parent birth year|}}}}}{{#if:{{{start year|}}} | }} {{Wrap|(|{{Wrap|b. |{{{parent birth year|}}}}}{{#if:{{{start year|}}} | ||
| − | | {{#if:{{{marriage year|}}}| {{#if:{{{parent birth year|}}}| | + | | {{#if:{{{marriage year|}}}| {{Select|, |param={{#if:{{{parent birth year|}}}|1}}}}m. {{{marriage year}}} }} |
}}|)}} | }}|)}} | ||
}}}}'' | }}}}'' | ||
Latest revision as of 08:53, 19 June 2020
Header for a family page.
- Unnamed parameters: parent names interleaved with FamilySearch ID numbers, for linking (supports up to 6 parents)
- surname: family's surname for sorting; defaults to the last word in the page name
- child family: name of a child's own family page; multiple children may be separated by semicolons (;)
- grandparent family: families to link to in which the parents are children, separated by semicolons (;)
- other family: other related families to link to, separated by semicolons (;)
- start year: Earliest relevant year in parents' adult life; default is marriage year or parent birth year+25 or parent death year-75
- marriage year: Year of the primary couple's marriage or similar event; default is start year or parent birth year+25 or parent death year-75
- parent birth year: Earliest year of a parent's birth; default is parent death year-100 or start year-25
- parent death year: Latest year of a parent's death; default is parent birth year+100 or start year+75
- residence: place where the family lived; multiple places separated by semicolons (;)
- photo: name of a file to display at the top; does not include the "File:" namespace prefix (e.g., Family Picture.jpg)
Adds the Category:Family tag and sets Property:Surname, Property:Child Family, Property:Descendant Family, Property:Marriage Year, Property:Family Start Year, Property:Parent Birth Year, Property:Parent Death Year, and Property:Residence; creates link subobjects with Property:Child Link Family, Property:Child Link Index, Property:Grandparent Link Family, Property:Grandparent Link Index, Property:Residence Link Place, and Property:Residence Link Index.