Template:Infobox individual/marriages: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
|data={{{TNGfamilyID}}}childID=tng_children.personID,{{{TNGfamilyID}}}childlastname=tng_people.lastname,{{{TNGfamilyID}}}childfirstname=tng_people.firstname,{{{TNGfamilyID}}}childbirthdate=tng_people.birthdate,{{{TNGfamilyID}}}childdeathdate=tng_people.deathdate}}<!-- | |data={{{TNGfamilyID}}}childID=tng_children.personID,{{{TNGfamilyID}}}childlastname=tng_people.lastname,{{{TNGfamilyID}}}childfirstname=tng_people.firstname,{{{TNGfamilyID}}}childbirthdate=tng_people.birthdate,{{{TNGfamilyID}}}childdeathdate=tng_people.deathdate}}<!-- | ||
-->{{Infobox | -->{{Infobox | child = yes | ||
| headerstyle = background: {{Colour style|{{lc:{{#iferror:{{#external_value:TNGrole}}}}}}|3}}; font-size:100%; | | headerstyle = background: {{Colour style|{{lc:{{#iferror:{{#external_value:TNGrole}}}}}}|3}}; font-size:100%; | ||
| | | header2= {{TNGfamily|{{{TNGfamilyID}}}|bio}} | ||
| label4 = Spouse | | label4 = Spouse | ||
| data4 = {{#switch:{{lc:{{#iferror:{{#external_value:TNGgender}}}}}}| | | data4 = {{#switch:{{lc:{{#iferror:{{#external_value:TNGgender}}}}}}| | ||
Line 28: | Line 28: | ||
| label9 = Children: | | label9 = Children: | ||
| data9 = | | data9 = {{#if:{{#iferror:{{#external_value:{{{TNGfamilyID}}}childID}}}}| }} | ||
| 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|<!-- | ||
-->{{#if:{{{TNGwife|}}}|[[ | -->{{#if:{{{TNGwife|}}}|[[Category:{{TNGperson|{{{TNGwife|}}}|lastname}}]]}}<!-- | ||
-->{{#if:{{{TNGhusband|}}}|[[ | -->{{#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: | -->{{#if:{{{occupation|}}}|[[Category:{{{occupation}}}]]}}<!-- | ||
-->{{#if:{{{hon prefix|}}}{{{hon_prefix|}}}{{{hon suffix|}}}{{{hon_suffix|}}}|[[Category:Biographies with honorific prefix or suffix]]}}<!-- | -->{{#if:{{{hon prefix|}}}{{{hon_prefix|}}}{{{hon suffix|}}}{{{hon_suffix|}}}|[[Category:Biographies with honorific prefix or suffix]]}}<!-- | ||
-->[[Category:Articles with hCards]] | -->[[Category:Articles with hCards]] |
Latest revision as of 05:59, 11 October 2014
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}