Template:Infobox family: Difference between revisions

From 'City of Adelaide' History and Genealogy Site
Jump to navigation Jump to search
No edit summary
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| {{WPMILHIST Infobox style|main_box|vcard}}
<includeonly>{{#clear_external_data:}}{{Infobox family/getTNGdata|{{{tng_family_id}}}}}<!--
|-  
 
! class="fn" colspan="2" {{WPMILHIST Infobox style|header_bar}} | {{{name|{{PAGENAME}}}}}
-->{{Infobox family/render
|-
| tng_family_id = {{{tng_family_id|}}}
{{#if:{{{image|}}}|
| box_width    = {{{box_width|}}}
{{!}} colspan="2" {{WPMILHIST Infobox style|image_box}} {{!}} {{{image|}}}<br/>{{{caption|}}}
| image        = {{{image|}}} <!--Pessoa_Neutra.png-->
}}
| image_size    = {{{image_size|220x330px}}}
|-
| image_alt    = {{{image_alt|}}}
{{#if:{{{father_name|}}}|
| image_caption = {{{image_caption|}}}
{{!}} colspan="2" {{WPMILHIST Infobox style|header_bar}} {{!}} Father
| family_name  = {{{name|{{TNGfamily|{{{tng_family_id}}}|family}} }}}
}}
| marrdate      = {{#iferror:{{#external_value:TNGmarrdate}}}}
|-
| marrplace    = {{#iferror:{{#external_value:TNGmarrplace}}}}
{{#if:{{{father_name|}}}|
| fatherID      = {{#iferror:{{#external_value:TNGhusband}}}}
! style="padding-right: 1em;" {{!}} Father name
| father_name  = {{{father_name|{{TNGfamily|{{{tng_family_id}}}|husbandlink}}}}}
{{!}} class="nickname" {{!}} {{{father_name|}}}
| fatherlived  = {{{fatherlived|{{#if:{{{father_birthdate|}}}{{{father_deathdate|}}}|({{{father_birthdate|}}} - {{{father_deathdate|}}})|{{#iferror:{{TNGperson|{{#external_value:TNGhusband}}|birthdeath}}}}}}}}}
}}
| fathernat    = {{{father_nationality|{{{fathernat|{{#iferror:{{TNGperson|{{#external_value:TNGhusband}}|natflag}}}}}}}}}}
|-
| motherID      = {{#iferror:{{#external_value:TNGwife}}}}
{{#if:{{{father_birthdate|}}}|
| mother_name  = {{{mother_name|{{TNGfamily|{{{tng_family_id}}}|wifelink}}}}}
! style="padding-right: 1em;" {{!}} Birth Date
| motherlived  = {{{motherlived|{{#if:{{{mother_birthdate|}}}{{{mother_deathdate|}}}|({{{mother_birthdate|}}} - {{{mother_deathdate|}}})|{{#iferror:{{TNGperson|{{#external_value:TNGwife}}|birthdeath}}}}}}}}}
{{!}} class="nickname" {{!}} {{{father_birthdate|}}}
| mothernat    = {{{mother_nationality|{{{mothernat|{{#iferror:{{TNGperson|{{#external_value:TNGwife}}|natflag}}}}}}}}}}
}}
| children      = {{{children|}}}
|-
| see_also      = {{{see_also|{{#iferror:{{#external_value:TNGseealso}}}}}}}
{{#if:{{{father_deathdate|}}}|
| website      = {{{website|}}}
! style="padding-right: 1em;" {{!}} Death Date
| footnotes    = {{{footnotes|}}}
{{!}} class="nickname" {{!}} {{{father_deathdate|}}}
}}</includeonly>{{main other|<!--
}}
-->[[Category:Families]]<!--
|-
-->{{#if:{{#iferror:{{TNGperson|{{#external_value:TNGhusband}}|lastname}}}}|[[Category:{{TNGperson|{{#external_value:TNGhusband}}|lastname}}]]}}<!--
{{#if:{{{mother_name|}}}|
-->{{#if:{{#iferror:{{TNGperson|{{#external_value:TNGwife}}|lastname}}}}|[[Category:{{TNGperson|{{#external_value:TNGwife}}|lastname}}]]}}<!--
{{!}} colspan="2" {{WPMILHIST Infobox style|header_bar}} {{!}} Mother
-->{{#if:{{#iferror:{{TNGperson|{{#external_value:TNGhusband}}|nationality}}}}|[[Category:{{TNGperson|{{#external_value:TNGhusband}}|nationality}} families]]}}<!--
}}
-->{{#if:{{#iferror:{{TNGperson|{{#external_value:TNGwife}}|nationality}}}}|[[Category:{{TNGperson|{{#external_value:TNGwife}}|nationality}} families]]}}<!--
|-
-->{{#if:{{{name|}}}{{{father_name|}}}{{{father_birthdate|}}}{{{father_deathdate|}}}{{{father_nationality|}}}{{{fathernat|}}}{{{mother_name|}}}{{{mother_birthdate|}}}{{{mother_deathdate|}}}{{{mother_nationality|}}}{{{mothernat|}}}|[[Category:Biographies with user-changed parameters]]}}<!--
{{#if:{{{mother_name|}}}|
-->}}<noinclude>
! style="padding-right: 1em;" {{!}} Mother name
{{template doc}}
{{!}} class="nickname" {{!}} {{{mother_name|}}}
}}
|-
{{#if:{{{mother_birthdate|}}}|
! style="padding-right: 1em;" {{!}} Birth Date
{{!}} class="nickname" {{!}} {{{mother_birthdate|}}}
}}
|-
{{#if:{{{mother_deathdate|}}}|
! style="padding-right: 1em;" {{!}} Death Date
{{!}} class="nickname" {{!}} {{{mother_deathdate|}}}
}}
|-
{{#if:{{{children|}}}|
{{!}} colspan="2" {{WPMILHIST Infobox style|header_bar}} {{!}} Children
}}
|-
{{#if:{{{children|}}}|
! style="padding-right: 1em;" {{!}} Children names
{{!}} class="nickname" {{!}} {{{children|}}}
}}
|}</includeonly><noinclude>
{{template doc}}{{pp-template|small=yes}}
</noinclude>
</noinclude>

Latest revision as of 03:45, 5 October 2014

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