Template:Infobox family/render: Difference between revisions

From 'City of Adelaide' History and Genealogy Site
Jump to navigation Jump to search
No edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| {{WPMILHIST Infobox style|main_box|vcard}}
<includeonly>{{Infobox|child={{{child|}}}
|-
| name      = Infobox individual
! class="fn" colspan="2" {{WPMILHIST Infobox style|header_bar}} | {{{name|{{PAGENAME}}}}}
| bodyclass      = biography
|-
| bodystyle      = width:{{{box_width|315px}}};
{{#if:{{{image|}}}|
| titlestyle    =
{{!}} colspan="2" {{WPMILHIST Infobox style|image_box}} {{!}} {{{image|}}}<br/>{{{caption|}}}
| abovestyle    = background: {{Colour style|family|1}};
}}
| subheaderstyle = background: {{Colour style|family|3}};
|-
| imagestyle    =
{{#if:{{{father_name|}}}|
| captionstyle  =  
{{!}} colspan="2" {{WPMILHIST Infobox style|header_bar}} {{!}} Father
| headerstyle    = background: {{Colour style|family|2}};
}}
| labelstyle    = width:95px
|-
| datastyle      =
{{#if:{{{father_name|}}}|
 
! style="padding-right: 1em;" {{!}} Father name
| above      = {{{family_name|}}} - {{{tng_family_id|}}}
{{!}} {{{father_name|}}}
 
}}
| subheader  = {{#if:{{{marrdate|}}}|<!--
|-
              -->{{#if:{{{marrplace|}}}|Marriage {{{marrdate}}}<br/>{{{marrplace}}}|Marriage {{{marrdate}}}}}<!--
{{#if:{{{father_birthdate|}}}|
              -->|{{#if:{{{marrplace|}}}|Marriage {{{marrplace}}}}}<!--
! style="padding-right: 1em;" {{!}} Birth Date
            -->}}
{{!}} {{{father_birthdate|}}}
 
}}
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|alt={{{alt|}}}|suppressplaceholder=yes}}
|-
| caption    = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}}
{{#if:{{{father_deathdate|}}}|
 
! style="padding-right: 1em;" {{!}} Death Date
| header1    = Father
{{!}} {{{father_deathdate|}}}
|  label3    = Name
}}
|  data3    = {{{father_name|}}}
|-
| label5    = Lived
{{#if:{{{father_nationality|}}}|
|  data5    = {{{fatherlived|}}}
! style="padding-right: 1em;" {{!}} Nationality
|  label7    = Nationality
{{!}} {{{father_nationality|}}}
|  data7    = {{{fathernat|}}}
}}
 
|-
| header11  = Mother
{{#if:{{{mother_name|}}}|
|  label13  = Name
{{!}} colspan="2" {{WPMILHIST Infobox style|header_bar}} {{!}} Mother
|  data13  = {{{mother_name|}}}
}}
|  label15  = Lived
|-
|  data15  = {{{motherlived|}}}
{{#if:{{{mother_name|}}}|
| label17  = Nationality
! style="padding-right: 1em;" {{!}} Mother name
|  data17  = {{{mothernat|}}}
{{!}} {{{mother_name|}}}
 
}}
| header21  = Children
|-
|  data22  = {{#if:{{#iferror:{{#external_value:{{{tng_family_id}}}childID}}}}|{{#display_external_table:template=Infobox individual/children|data=childID={{{tng_family_id}}}childID,childlastname={{{tng_family_id}}}childlastname,childfirstname={{{tng_family_id}}}childfirstname,childbirthdate={{{tng_family_id}}}childbirthdate,childdeathdate={{{tng_family_id}}}childdeathdate}}}}&nbsp;<hr/>
{{#if:{{{mother_birthdate|}}}|
|   data141  = {{{misc|{{{module|}}}}}}
! style="padding-right: 1em;" {{!}} Birth Date
|   data142  = {{{misc2|{{{module2|}}}}}}
{{!}} {{{mother_birthdate|}}}
|  data143  = {{{misc3|{{{module3|}}}}}}
}}
|   data144  = {{{misc4|{{{module4|}}}}}}
|-
|   data145  = {{{misc5|{{{module5|}}}}}}
{{#if:{{{mother_deathdate|}}}|
|  data146  = {{{misc6|{{{module6|}}}}}}
! style="padding-right: 1em;" {{!}} Death Date
 
{{!}} {{{mother_deathdate|}}}
| header150  = {{#if:{{{website|{{{homepage|{{{URL|}}}}}}}}}|Website}}
}}
|  data151  = {{{website|{{{homepage|{{{URL|}}}}}}}}}
|-
 
{{#if:{{{mother_nationality|}}}|
| below      = {{#if:{{{footnotes|}}}|'''Notes'''<div style="line-height:1.2em;">{{{footnotes}}}</div>}}
! style="padding-right: 1em;" {{!}} Nationality
| belowstyle = border-top:1px solid #aaaaaa; text-align:left
{{!}} {{{mother_nationality|}}}
 
}}
}}</includeonly>{{main other|<!--
|-
-->{{#if:{{{1|}}}|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Infobox person using numbered parameter]]}}}}<!--
{{#if:{{{children|}}}|
-->{{#if:{{{box_width|}}}|[[Category:Infobox person using boxwidth parameter]]}}
{{!}} colspan="2" {{WPMILHIST Infobox style|header_bar}} {{!}} Children
}}<noinclude>
}}
<!---Please add categories to the <includeonly> section at the bottom of the /doc subpage--->
|-
{{documentation}}  
{{#if:{{{children|}}}|
! style="padding-right: 1em;" {{!}} Children names
{{!}} {{{children|}}}
}}
|}</includeonly><noinclude>
{{template doc}}
</noinclude>
</noinclude>

Latest revision as of 14:11, 4 October 2014

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