Template:Infobox Person: Difference between revisions
Appearance
Restyle to match Wikipedia (Module:Infobox / Navbox / succession box) |
Add optional spouse and children fields |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{#invoke:Infobox| | {{#invoke:Infobox|infoboxTemplate | ||
| bodyclass = biography vcard | | bodyclass = biography vcard | ||
| above = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | | above = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | ||
| subheader = {{{nickname|}}} | | subheader = {{{nickname|}}} | ||
| image = {{#if:{{{image|}}}|[[File:{{{image}}}|frameless| | | image = {{#if:{{{image|}}}|[[File:{{{image}}}|frameless|250px]]}} | ||
| caption = {{{description|}}} | | caption = {{{description|}}} | ||
| label1 = Born | | label1 = Born | data1 = {{#if:{{{birth_date|}}}|{{{birth_date}}}{{#if:{{{birth_place|}}}|<br />{{{birth_place}}}}}|{{{birth_place|}}}}} | ||
| label2 = Passed away | data2 = {{#if:{{{death_date|}}}|{{{death_date}}}{{#if:{{{death_place|}}}|<br />{{{death_place}}}}}|{{{death_place|}}}}} | | label2 = Passed away | data2 = {{#if:{{{death_date|}}}|{{{death_date}}}{{#if:{{{death_place|}}}|<br />{{{death_place}}}}}|{{{death_place|}}}}} | ||
| label3 = Resting place | data3 = {{{burial_place|}}} | | label3 = Resting place | data3 = {{{burial_place|}}} | ||
| label4 = Place of activity | | | label4 = Father | data4 = {{{father|}}} | ||
| | | label5 = Mother | data5 = {{{mother|}}} | ||
| | | label6 = Spouse | data6 = {{{spouse|}}} | ||
| | | label7 = Children | data7 = {{{children|}}} | ||
| | | label8 = Place of activity | data8 = {{{activity_place|}}} | ||
| | | label9 = Residence | data9 = {{{residence|}}} | ||
| | | label10 = Roles | data10 = {{{roles|}}} | ||
| | | label11 = Predecessor | data11 = {{{predecessor|}}} | ||
| label12 = Successor | data12 = {{{successor|}}} | |||
| label13 = Teachers | data13 = {{{teachers|}}} | |||
| label14 = Students | data14 = {{{students|}}} | |||
| label15 = Works | data15 = {{{works|}}} | |||
| label16 = Affiliation | data16 = {{{affiliation|}}} | |||
| data17 = {{{module|}}} | |||
| data18 = {{{module2|}}} | |||
| data19 = {{{module3|}}} | |||
}}<noinclude> | }}<noinclude> | ||
Infobox for people, in the style of Wikipedia's biography infoboxes. Ported from the Hebrew edition ({{tl|דמות}}, {{tl|אדמו"ר}}). | Infobox for people, in the style of Wikipedia's biography infoboxes. Ported from the Hebrew edition ({{tl|דמות}}, {{tl|אדמו"ר}}). | ||
| Line 21: | Line 29: | ||
|name= |image= |description= |nickname= | |name= |image= |description= |nickname= | ||
|birth_date= |birth_place= |death_date= |death_place= |burial_place= | |birth_date= |birth_place= |death_date= |death_place= |burial_place= | ||
|activity_place= |roles= |predecessor= |successor= | |activity_place= |residence= |father= |mother= |spouse= |children= |roles= |predecessor= |successor= | ||
|teachers= |students= |works= |affiliation= | |teachers= |students= |works= |affiliation= | ||
|module= |module2= |module3= (sections embedded from other boxes, e.g. {{Chabad Rebbes Box|embed=yes|…}}) | |||
}}</pre> | }}</pre> | ||
[[Category:Templates]] | [[Category:Templates]] | ||
[[he:תבנית:דמות]] | [[he:תבנית:דמות]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 13:00, 19 November 2026
| Infobox Person |
|---|
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= |residence= |father= |mother= |spouse= |children= |roles= |predecessor= |successor=
|teachers= |students= |works= |affiliation=
|module= |module2= |module3= (sections embedded from other boxes, e.g. {{Chabad Rebbes Box|embed=yes|…}})
}}