Template:Infobox individual/marriages: Difference between revisions

From 'City of Adelaide' History and Genealogy Site
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>{{Infobox | child = yes
    | header3  = {{TNGfamily|{{{TNGfamilyID}}}}}
| headerstyle = background: {{Roleclass colour|{{lc:{{{roleclass}}}}}|3}};
    | label4  = Spouse
| title      = {{TNGfamily|{{{TNGfamilyID}}}}}
    |  data4  = {{#switch:{{lc:{{#iferror:{{#external_value:TNGgender}}}}}}|
| label4  = Spouse
    |male  |m = {{TNGperson|{{{TNGwife|}}}|biobd}}
|  data4  = {{#switch:{{lc:{{#iferror:{{#external_value:TNGgender}}}}}}|
    |female|f = {{TNGperson|{{{TNGhusband|}}}|biobd}}
|male  |m = {{TNGperson|{{{TNGwife|}}}|biobd}}
    |#default = {{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>}}}}}}
| label5  = Married
|  data5  = {{#if:{{{TNGmarrdate|}}}{{{TNGmarrplace|}}}|{{br separated entries|1={{{TNGmarrdate|}}}|2={{#if:{{{TNGmarrplace|}}}|<span class="birthplace">{{{TNGmarrplace|}}}</span>}}}}}}
}}
<!--
{{ Count | base=1 }}
{{ 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}}}}}
Line 33: Line 35:
{{#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:42, 2 October 2014

{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}