Template:Infobox Person: Difference between revisions

Add module fields (embedded sections, as on Wikipedia) so all side boxes show on mobile
Add optional spouse and children fields
 
Line 10: Line 10:
| label4 = Father | data4 = {{{father|}}}
| label4 = Father | data4 = {{{father|}}}
| label5 = Mother | data5 = {{{mother|}}}
| label5 = Mother | data5 = {{{mother|}}}
| label6 = Place of activity | data6 = {{{activity_place|}}}
| label6 = Spouse | data6 = {{{spouse|}}}
| label7 = Residence | data7 = {{{residence|}}}
| label7 = Children | data7 = {{{children|}}}
| label8 = Roles | data8 = {{{roles|}}}
| label8 = Place of activity | data8 = {{{activity_place|}}}
| label9 = Predecessor | data9 = {{{predecessor|}}}
| label9 = Residence | data9 = {{{residence|}}}
| label10 = Successor | data10 = {{{successor|}}}
| label10 = Roles | data10 = {{{roles|}}}
| label11 = Teachers | data11 = {{{teachers|}}}
| label11 = Predecessor | data11 = {{{predecessor|}}}
| label12 = Students | data12 = {{{students|}}}
| label12 = Successor | data12 = {{{successor|}}}
| label13 = Works | data13 = {{{works|}}}
| label13 = Teachers | data13 = {{{teachers|}}}
| label14 = Affiliation | data14 = {{{affiliation|}}}
| label14 = Students | data14 = {{{students|}}}
| data15 = {{{module|}}}
| label15 = Works | data15 = {{{works|}}}
| data16 = {{{module2|}}}
| label16 = Affiliation | data16 = {{{affiliation|}}}
| data17 = {{{module3|}}}
| 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 27: 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= |residence= |father= |mother= |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|…}})
|module= |module2= |module3=  (sections embedded from other boxes, e.g. {{Chabad Rebbes Box|embed=yes|…}})