Template:Individual infobox/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 16: Line 16:
{{!}}-
{{!}}-
! style="padding-right: 1em;" {{!}} Married place DDDDD
! style="padding-right: 1em;" {{!}} Married place DDDDD
{{!}} {{{TNGmarrplace}}} EEEE }}-->{{Template:Individual infobox/getchildren|TNGfamilyID}}GGGGG
{{!}} {{{TNGmarrplace}}} EEEE }}
{{!}}-
{{Template:Individual infobox/getchildren|TNGfamilyID}}GGGGG
 
-->{{#get_db_data:db=tng_db
  |from=tng_children LEFT JOIN tng_people ON tng_children.personID=tng_people.personID
  |where=tng_children.familyID='{{{TNGfamilyID}}}'
  |order by=tng_people.birthdate ASC
  |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}}<!--
 
 
-->{{!}}-
! style="padding-right: 1em;" {{!}} Children
! style="padding-right: 1em;" {{!}} Children
{{!}}{{#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>
{{!}}{{#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>

Revision as of 09:01, 1 October 2014

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