Jump to content

Template:Infobox Person: Difference between revisions

English person infobox, ported from תבנית:דמות / תבנית:אדמו"ר
 
Restyle to match Wikipedia (Module:Infobox / Navbox / succession box)
Line 1: Line 1:
{| cellpadding="2.5" cellspacing="0" style="width: 280px; float: right; clear: right; border: 1px solid #CBD3DD; margin: 0 0 1em 1em; background: #F9FAFB; font-size: 95%; text-align: left;"
{{#invoke:Infobox|infobox
! colspan="2" style="font-size: larger; background-color: #b0ffb5; color: #000000; text-align: center;" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
| bodyclass  = biography vcard
|-valign="top"
| above      = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{#if:{{{image|}}}|
| subheader  = {{{nickname|}}}
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image}}}|220px]]{{#if:{{{description|}}}|<br />{{{description}}}}}
| image      = {{#if:{{{image|}}}|[[File:{{{image}}}|frameless|upright=1]]}}
{{!}}-valign="top"
| caption    = {{{description|}}}
}}
| label1 = Born      | data1 = {{#if:{{{birth_date|}}}|{{{birth_date}}}{{#if:{{{birth_place|}}}|<br />{{{birth_place}}}}}|{{{birth_place|}}}}}
{{#if:{{{nickname|}}}|
| label2 = Passed away | data2 = {{#if:{{{death_date|}}}|{{{death_date}}}{{#if:{{{death_place|}}}|<br />{{{death_place}}}}}|{{{death_place|}}}}}
{{!}} colspan="2" style="text-align:center;" {{!}} '''{{{nickname}}}'''
| label3 = Resting place | data3 = {{{burial_place|}}}
{{!}}-valign="top"
| label4 = Place of activity | data4 = {{{activity_place|}}}
}}
| label5 = Roles      | data5 = {{{roles|}}}
{{#if:{{{birth_date|}}}|
| label6 = Predecessor | data6 = {{{predecessor|}}}
{{!}} '''Born'''
| label7 = Successor  | data7 = {{{successor|}}}
{{!}} {{{birth_date}}}
| label8 = Teachers  | data8 = {{{teachers|}}}
{{!}}-valign="top"
| label9 = Students  | data9 = {{{students|}}}
}}
| label10 = Works    | data10 = {{{works|}}}
{{#if:{{{birth_place|}}}|
| label11 = Affiliation | data11 = {{{affiliation|}}}
{{!}} '''Place of birth'''
}}<noinclude>
{{!}} {{{birth_place}}}
Infobox for people, in the style of Wikipedia's biography infoboxes. Ported from the Hebrew edition ({{tl|דמות}}, {{tl|אדמו"ר}}).
{{!}}-valign="top"
}}
{{#if:{{{death_date|}}}|
{{!}} '''Passed away'''
{{!}} {{{death_date}}}
{{!}}-valign="top"
}}
{{#if:{{{death_place|}}}|
{{!}} '''Place of passing'''
{{!}} {{{death_place}}}
{{!}}-valign="top"
}}
{{#if:{{{burial_place|}}}|
{{!}} '''Resting place'''
{{!}} {{{burial_place}}}
{{!}}-valign="top"
}}
{{#if:{{{activity_place|}}}|
{{!}} '''Place of activity'''
{{!}} {{{activity_place}}}
{{!}}-valign="top"
}}
{{#if:{{{roles|}}}|
{{!}} '''Roles'''
{{!}} {{{roles}}}
{{!}}-valign="top"
}}
{{#if:{{{predecessor|}}}|
{{!}} '''Preceded by'''
{{!}} {{{predecessor}}}
{{!}}-valign="top"
}}
{{#if:{{{successor|}}}|
{{!}} '''Succeeded by'''
{{!}} {{{successor}}}
{{!}}-valign="top"
}}
{{#if:{{{teachers|}}}|
{{!}} '''Teachers'''
{{!}} {{{teachers}}}
{{!}}-valign="top"
}}
{{#if:{{{students|}}}|
{{!}} '''Students'''
{{!}} {{{students}}}
{{!}}-valign="top"
}}
{{#if:{{{works|}}}|
{{!}} '''Works'''
{{!}} {{{works}}}
{{!}}-valign="top"
}}
{{#if:{{{affiliation|}}}|
{{!}} '''Affiliation'''
{{!}} {{{affiliation}}}
{{!}}-valign="top"
}}
|}<noinclude>
Infobox for people. Ported from the Hebrew edition ({{tl|דמות}}, {{tl|אדמו"ר}}).
<pre>{{Infobox Person
<pre>{{Infobox Person
|name=
|name= |image= |description= |nickname=
|image=
|birth_date= |birth_place= |death_date= |death_place= |burial_place=
|description=
|activity_place= |roles= |predecessor= |successor=
|nickname=
|teachers= |students= |works= |affiliation=
|birth_date=
|birth_place=
|death_date=
|death_place=
|burial_place=
|activity_place=
|roles=
|predecessor=
|successor=
|teachers=
|students=
|works=
|affiliation=
}}</pre>
}}</pre>
[[Category:Templates]]
[[Category:Templates]]
[[he:תבנית:דמות]]
[[he:תבנית:דמות]]
</noinclude>
</noinclude>

Revision as of 22:54, 18 November 2026

Infobox for people, in the style of Wikipedia's biography infoboxes. Ported from the Hebrew edition ({{דמות}}, {{אדמו"ר}}).

{{Infobox Person
|name= |image= |description= |nickname=
|birth_date= |birth_place= |death_date= |death_place= |burial_place=
|activity_place= |roles= |predecessor= |successor=
|teachers= |students= |works= |affiliation=
}}