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