Template:Infobox individual/marriages: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
| label4 = Spouse | | label4 = Spouse | ||
| data4 = {{#switch:{{lc:{{#iferror:{{#external_value:TNGgender}}}}}}| | | data4 = {{#switch:{{lc:{{#iferror:{{#external_value:TNGgender}}}}}}| | ||
| | |female|f = {{#iferror:{{{{TNGperson|{{{TNGhusband|}}}|biobd}}}}}} | ||
| | |male |m = {{#iferror:{{{{TNGperson|{{{TNGwife|}}}|biobd}}}}}} | ||
|#default = {{TNGperson|{{{TNGwife|}}}|biobd}} | |#default = {{#iferror:{{{{TNGperson|{{{TNGwife|}}}|biobd}}}}}} | ||
}} | }} | ||
| label5 = Married | | label5 = Married | ||
Line 24: | Line 24: | ||
| data10 = {{#if:{{#iferror:{{#external_value:{{{TNGfamilyID}}}childID}}}}|{{#display_external_table:template=Infobox individual/children|data=childID={{{TNGfamilyID}}}childID,childlastname={{{TNGfamilyID}}}childlastname,childfirstname={{{TNGfamilyID}}}childfirstname,childbirthdate={{{TNGfamilyID}}}childbirthdate,childdeathdate={{{TNGfamilyID}}}childdeathdate}}}} <hr/> | | data10 = {{#if:{{#iferror:{{#external_value:{{{TNGfamilyID}}}childID}}}}|{{#display_external_table:template=Infobox individual/children|data=childID={{{TNGfamilyID}}}childID,childlastname={{{TNGfamilyID}}}childlastname,childfirstname={{{TNGfamilyID}}}childfirstname,childbirthdate={{{TNGfamilyID}}}childbirthdate,childdeathdate={{{TNGfamilyID}}}childdeathdate}}}} <hr/> | ||
}}</includeonly>{{main other|<!-- | }}</includeonly>{{main other|<!-- | ||
-->[[Category:{{TNGperson|{{{TNGwife|}}}|lastname}}]][[Category:{{TNGperson|{{{TNGhusband|}}}|lastname}}]]<!-- | -->{{#if:{{{TNGwife|}}}|[[Category:{{TNGperson|{{{TNGwife|}}}|lastname}}]]}}<!-- | ||
-->{{#if:{{{TNGhusband|}}}|[[Category:{{TNGperson|{{{TNGhusband|}}}|lastname}}]]}}<!-- | |||
-->{{#if:{{{box_width|}}}|[[Category:Infobox person using boxwidth parameter]]}}<!-- | -->{{#if:{{{box_width|}}}|[[Category:Infobox person using boxwidth parameter]]}}<!-- | ||
-->{{#if:{{{occupation|}}}|[[Category:{{{occupation}}}]]}}<!-- | -->{{#if:{{{occupation|}}}|[[Category:{{{occupation}}}]]}}<!-- |
Revision as of 04:09, 4 October 2014
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}