Template:Infobox individual/marriages: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{!}}- | <includeonly> | ||
| header3 = {{TNGfamily|{{{TNGfamilyID}}}}} | |||
| label4 = Spouse | |||
| data4 = {{#switch:{{lc:{{#iferror:{{#external_value:TNGgender}}}}}}| | |||
|male |m = {{TNGperson|{{{TNGwife|}}}|biobd}} | |||
|female|f = {{TNGperson|{{{TNGhusband|}}}|biobd}} | |||
|#default = {{TNGperson|{{{TNGwife|}}}|biobd}} | |||
}} | |||
| label5 = Married | |||
| data5 = {{#if:{{{TNGmarrdate|}}}{{{TNGmarrplace|}}}|{{br separated entries|1={{{TNGmarrdate|}}}|2={{#if:{{{TNGmarrplace|}}}|<span class="birthplace">{{{TNGmarrplace|}}}</span>}}}}}} | |||
{{ Count | base=1 }} | |||
<!-- | |||
{{!}}- | |||
{{!}} class="fn" colspan="2" {{Individual infobox/style|sub_sub_header_bar|{{lc:{{#iferror:{{#external_value:TNGrole}}}}}}}} {{!}} {{TNGfamily|{{{TNGfamilyID}}}}} | {{!}} class="fn" colspan="2" {{Individual infobox/style|sub_sub_header_bar|{{lc:{{#iferror:{{#external_value:TNGrole}}}}}}}} {{!}} {{TNGfamily|{{{TNGfamilyID}}}}} | ||
{{!}}- | {{!}}- | ||
! style="padding-right: 1em;" {{!}} Spouse | ! style="padding-right: 1em;" {{!}} Spouse | ||
{{!}} | {{!}} {{!}}- | ||
{{!}}- | |||
{{#if:{{{TNGmarrdate|}}}| | {{#if:{{{TNGmarrdate|}}}| | ||
! style="padding-right: 1em;" {{!}} Married | ! style="padding-right: 1em;" {{!}} Married | ||
Line 26: | Line 33: | ||
{{#if:{{#iferror:{{#external_value:{{{TNGfamilyID}}}childID}}}}| | {{#if:{{#iferror:{{#external_value:{{{TNGfamilyID}}}childID}}}}| | ||
! style="padding-right: 1em; border-top: {{Individual infobox/style|section_border}}" {{!}} Children | ! style="padding-right: 1em; border-top: {{Individual infobox/style|section_border}}" {{!}} Children | ||
{{!}}style="padding-right: 1em; border-top: {{Individual infobox/style|section_border}}" {{!}} {{#display_external_table:template=Individual infobox/children|data=childID={{{TNGfamilyID}}}childID,childlastname={{{TNGfamilyID}}}childlastname,childfirstname={{{TNGfamilyID}}}childfirstname,childbirthdate={{{TNGfamilyID}}}childbirthdate,childdeathdate={{{TNGfamilyID}}}childdeathdate}} }}</includeonly><noinclude> | {{!}}style="padding-right: 1em; border-top: {{Individual infobox/style|section_border}}" {{!}} {{#display_external_table:template=Individual infobox/children|data=childID={{{TNGfamilyID}}}childID,childlastname={{{TNGfamilyID}}}childlastname,childfirstname={{{TNGfamilyID}}}childfirstname,childbirthdate={{{TNGfamilyID}}}childbirthdate,childdeathdate={{{TNGfamilyID}}}childdeathdate}} }}--></includeonly><noinclude> | ||
[[Category:Data retrieval templates]] | [[Category:Data retrieval templates]] | ||
[[Category:People infobox templates| ]] | [[Category:People infobox templates| ]] | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 00:35, 2 October 2014
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}