Template:Infobox family/render: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly>{| {{WPMILHIST Infobox style|main_box|vcard}} |- ! class="fn" colspan="2" {{WPMILHIST Infobox style|header_bar}} | {{{name|{{PAGENAME}}}}} |- {{#if:{{{image|}}}|...") |
No edit summary |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| {{ | <includeonly>{{Infobox|child={{{child|}}} | ||
| | | name = Infobox individual | ||
| bodyclass = biography | |||
| | | bodystyle = width:{{{box_width|315px}}}; | ||
{{#if:{{{ | | titlestyle = | ||
{{ | | abovestyle = background: {{Colour style|family|1}}; | ||
}} | | subheaderstyle = background: {{Colour style|family|3}}; | ||
| | | imagestyle = | ||
{{#if:{{{ | | captionstyle = | ||
{{ | | headerstyle = background: {{Colour style|family|2}}; | ||
| labelstyle = width:95px | |||
| | | datastyle = | ||
{{# | |||
| above = {{{family_name|}}} - {{{tng_family_id|}}} | |||
{{ | |||
}} | | subheader = {{#if:{{{marrdate|}}}|<!-- | ||
| | -->{{#if:{{{marrplace|}}}|Marriage {{{marrdate}}}<br/>{{{marrplace}}}|Marriage {{{marrdate}}}}}<!-- | ||
-->|{{#if:{{{marrplace|}}}|Marriage {{{marrplace}}}}}<!-- | |||
-->}} | |||
{{ | |||
}} | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|alt={{{alt|}}}|suppressplaceholder=yes}} | ||
| | | caption = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}} | ||
{{ | |||
| header1 = Father | |||
{{ | | label3 = Name | ||
}} | | data3 = {{{father_name|}}} | ||
| | | label5 = Lived | ||
| data5 = {{{fatherlived|}}} | |||
| label7 = Nationality | |||
{{ | | data7 = {{{fathernat|}}} | ||
}} | |||
| | | header11 = Mother | ||
{{# | | label13 = Name | ||
{{ | | data13 = {{{mother_name|}}} | ||
}} | | label15 = Lived | ||
| | | data15 = {{{motherlived|}}} | ||
{{ | | label17 = Nationality | ||
| data17 = {{{mothernat|}}} | |||
{{ | |||
}} | | 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}}}} <hr/> | ||
{{ | | data141 = {{{misc|{{{module|}}}}}} | ||
| data142 = {{{misc2|{{{module2|}}}}}} | |||
{{ | | data143 = {{{misc3|{{{module3|}}}}}} | ||
}} | | data144 = {{{misc4|{{{module4|}}}}}} | ||
| | | data145 = {{{misc5|{{{module5|}}}}}} | ||
{{#if:{{{ | | data146 = {{{misc6|{{{module6|}}}}}} | ||
{{ | | header150 = {{#if:{{{website|{{{homepage|{{{URL|}}}}}}}}}|Website}} | ||
}} | | data151 = {{{website|{{{homepage|{{{URL|}}}}}}}}} | ||
| | |||
{{#if:{{{ | | below = {{#if:{{{footnotes|}}}|'''Notes'''<div style="line-height:1.2em;">{{{footnotes}}}</div>}} | ||
| belowstyle = border-top:1px solid #aaaaaa; text-align:left | |||
{{ | |||
}} | }}</includeonly>{{main other|<!-- | ||
|- | -->{{#if:{{{1|}}}|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Infobox person using numbered parameter]]}}}}<!-- | ||
{{#if:{{{ | -->{{#if:{{{box_width|}}}|[[Category:Infobox person using boxwidth parameter]]}} | ||
{{ | }}<noinclude> | ||
}} | <!---Please add categories to the <includeonly> section at the bottom of the /doc subpage---> | ||
{{documentation}} | |||
{{#if:{{{ | |||
{{ | |||
</noinclude> | </noinclude> |
Latest revision as of 14:11, 4 October 2014
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}