Difference between revisions of "Template:Infobox rebbe"

From blackwiki
Jump to navigation Jump to search
imported>Magioladitis
m (updated some fields according to Infobox person for consistency)
imported>WOSlinker
(use Infobox)
Line 1: Line 1:
{| class="infobox vcard" width="280" height="500" style="font-size: 90%;"
+
{{Infobox
!style="color: #003366; background-color: #E6E6FA; font-size: 150%" align="center" colspan="3" |'''<span class="fn">{{PAGENAME}}</span>'''
+
| bodyclass  = vcard
|-
+
 
{{#if: {{{title|<noinclude>-</noinclude>}}} |
+
| aboveclass  = fn
{{!}} colspan="3" align="center" {{!}} ''<span class="title">{{{title}}}</span>''
+
| abovestyle  = background-color:#E6E6FA;color:#003366;
{{!}}-
+
| above      = {{{name|{{PAGENAME}}}}}
}}
+
 
{{#if: {{{image|<noinclude>-</noinclude>}}} |
+
| subheaderclass = title
{{!}} colspan="3" align="center" {{!}} {{{image}}}
+
| subheader  = {{{title<includeonly>|</includeonly>}}}
{{!}}-
+
 
}}
+
| image      = {{#if:{{{image<includeonly>|</includeonly>}}}|{{{image}}}}}
{{#if: {{{caption|<noinclude>-</noinclude>}}} |
+
| caption    = {{{caption<includeonly>|</includeonly>}}}
{{!}} colspan="3" align="center" {{!}} {{{caption}}}
+
 
{{!}}-
+
| label2      = Term
}}
+
| data2      = {{{term<includeonly>|</includeonly>}}}
{{#if: {{{term|<noinclude>-</noinclude>}}} |
+
 
{{!}}'''Term'''
+
| class3      = nickname
{{!}} colspan="2" {{!}} {{{term}}}
+
| label3      = Full&nbsp;name
{{!}}-
+
| data3      = {{{full name<includeonly>|</includeonly>}}}
}}
+
 
{{#if: {{{full name|<noinclude>-</noinclude>}}} |
+
| label4      = Main work
{{!}}'''Full&nbsp;name'''
+
| data4      = {{{main work<includeonly>|</includeonly>}}}
{{!}} colspan="2" {{!}} <span class="nickname">{{{full name}}}</span>
+
 
{{!}}-
+
| label5      = Born
}}
+
| data5      = {{{birth_date<includeonly>|</includeonly>}}}{{#if:{{{birth_place<includeonly>|</includeonly>}}}|<br>{{{birth_place<includeonly>|</includeonly>}}}}}
{{#if: {{{main work|<noinclude>-</noinclude>}}} |
+
 
{{!}}'''Main work'''
+
| label6      = Died
{{!}} colspan="2" {{!}} ''{{{main work}}}''
+
| data6      = {{{death_date<includeonly>|</includeonly>}}}{{#if:{{{death_place<includeonly>|</includeonly>}}}|<br>{{{death_place<includeonly>|</includeonly>}}}}}
{{!}}-
+
 
}}
+
| label7      = Buried
{{#if: {{{birth_date|<noinclude>-</noinclude>}}} |
+
| data7      = {{{place of burial<includeonly>|</includeonly>}}}{{#if:{{{date of burial<includeonly>|</includeonly>}}}|, {{{date of burial}}}}}
{{!}}'''Born'''
+
 
{{!}} colspan="2" {{!}} {{{birth_date}}}
+
| label8      = Dynasty
{{!}}-
+
| data8      = {{{dynasty<includeonly>|</includeonly>}}}
}}
+
 
{{#if: {{{birth_place|<noinclude>-</noinclude>}}} |
+
| label9      = Predecessor
{{!}}
+
| data9      = {{{predecessor<includeonly>|</includeonly>}}}
{{!}} colspan="2" {{!}} {{{birth_place}}}
+
 
{{!}}-
+
| label10    = Successor
}}
+
| data10      = {{{successor<includeonly>|</includeonly>}}}
{{#if: {{{death_date|<noinclude>-</noinclude>}}} |
+
 
{{!}}'''Died'''
+
| label12    = Father
{{!}} colspan="2" {{!}} {{{death_date}}}
+
| data12      = {{{father<includeonly>|</includeonly>}}}
{{!}}-
+
 
}}
+
| label13    = Mother
{{#if: {{{death_place|<noinclude>-</noinclude>}}} |
+
| data13      = {{{mother<includeonly>|</includeonly>}}}
{{!}}
+
 
{{!}} colspan="2" {{!}} {{{death_place}}}
+
| label14    = Wife {{#if:{{{spouse2<includeonly>|</includeonly>}}}|1}}
{{!}}-
+
| data14      = {{{spouse1<includeonly>|</includeonly>}}}
}}
+
 
{{#if: {{{place of burial|<noinclude>-</noinclude>}}} |
+
| label15    = Children {{#if:{{{spouse2<includeonly>|</includeonly>}}}|1}}
{{!}}'''Buried'''
+
| data15      = {{{issue1<includeonly>|</includeonly>}}}
{{!}} colspan="2" {{!}} {{{place of burial}}}{{#if: {{{date of burial|<noinclude>-</noinclude>}}}{{!}}, {{{date of burial}}}}}
+
 
{{!}}-
+
| label16    = Wife 2
}}
+
| data16      = {{{spouse2<includeonly>|</includeonly>}}}
{{#if: {{{dynasty|<noinclude>-</noinclude>}}} |
+
 
{{!}}'''Dynasty'''
+
| label17    = Children 2
{{!}} colspan="2" {{!}} {{{dynasty}}}
+
| data17      = {{{issue2<includeonly>|</includeonly>}}}
{{!}}-
+
 
}}
+
| label18    = Wife 3
{{#if: {{{dynastyname|<noinclude>-</noinclude>}}} |
+
| data18      = {{{spouse3<includeonly>|</includeonly>}}}
{{!}}'''Dynasty'''
+
 
{{!}} colspan="2" {{!}} [[{{{dynastyname}}} (Hasidic dynasty)|{{{dynastyname}}}]]
+
| label19    = Children 3
{{!}}-
+
| data19      = {{{issue3<includeonly>|</includeonly>}}}
}}
+
 
{{#if: {{{predecessor|<noinclude>-</noinclude>}}} |
+
}}<noinclude>{{documentation}}</noinclude>
{{!}}'''Predecessor'''
 
{{!}} colspan="2" {{!}} {{{predecessor}}}
 
{{!}}-
 
}}
 
{{#if: {{{successor|<noinclude>-</noinclude>}}} |
 
{{!}}'''Successor'''
 
{{!}} colspan="2" {{!}} {{{successor}}}
 
{{!}}-
 
}}
 
{{#if: {{{father|<noinclude>-</noinclude>}}} |
 
{{!}}'''Father'''
 
{{!}} colspan="2" {{!}} {{{father}}}
 
{{!}}-
 
}}
 
{{#if: {{{mother|<noinclude>-</noinclude>}}} |
 
{{!}}'''Mother'''
 
{{!}} colspan="2" {{!}} {{{mother}}}
 
{{!}}-
 
}}
 
{{#if: {{{spouse1|<noinclude>-</noinclude>}}} |
 
{{!}}'''Wife{{#if: {{{spouse2|<noinclude>-</noinclude>}}} | 1}}'''
 
{{!}} colspan="2" {{!}} {{{spouse1}}}
 
{{!}}-
 
}}
 
{{#if: {{{issue1|<noinclude>-</noinclude>}}} |
 
{{!}}'''Children{{#if: {{{spouse2|<noinclude>-</noinclude>}}}| 1}}'''
 
{{!}} colspan="2" {{!}} {{{issue1}}}
 
{{!}}-
 
}}
 
{{#if: {{{spouse2|<noinclude>-</noinclude>}}} |
 
{{!}}'''Wife 2'''
 
{{!}} colspan="2" {{!}} {{{spouse2}}}
 
{{!}}-
 
}}
 
{{#if: {{{issue2|<noinclude>-</noinclude>}}} |
 
{{!}}'''Children 2'''
 
{{!}} colspan="2" {{!}} {{{issue2}}}
 
{{!}}-
 
}}
 
{{#if: {{{spouse3|<noinclude>-</noinclude>}}} |
 
{{!}}'''Wife 3'''
 
{{!}} colspan="2" {{!}} {{{spouse3}}}
 
{{!}}-
 
}}
 
{{#if: {{{issue3|<noinclude>-</noinclude>}}} |
 
{{!}}'''Children 3'''
 
{{!}} colspan="2" {{!}} {{{issue3}}}
 
{{!}}-
 
}}
 
|}<noinclude>{{documentation}}</noinclude>
 

Revision as of 20:53, 22 October 2010

Infobox rebbe
{{{title}}}
{{{image}}}
{{{caption}}}
Term{{{term}}}
Full name{{{full name}}}
Main work{{{main work}}}
Born{{{birth_date}}}
{{{birth_place}}}
Died{{{death_date}}}
{{{death_place}}}
Buried{{{place of burial}}}, {{{date of burial}}}
Dynasty{{{dynasty}}}
Predecessor{{{predecessor}}}
Successor{{{successor}}}
Father{{{father}}}
Mother{{{mother}}}
Wife 1{{{spouse1}}}
Children 1{{{issue1}}}
Wife 2{{{spouse2}}}
Children 2{{{issue2}}}
Wife 3{{{spouse3}}}
Children 3{{{issue3}}}

[[Category:Infobox templates|Template:Remove first word]]

50px Template documentation[view] [edit] [history] [purge]

Usage

{{Infobox rebbe
| title           = name usually known by
| image           = X.jpg
| caption         = Image caption
| term            = D Month YYYY – D Month YYYY
| full name       = Full legal non-titular name
| signature       = Signature
| main work       = title of main seifer
| predecessor     = Name & Wikilink
| successor       = Name & Wikilink
| spouse1         = Name & Wikilink  
| issue1          = Name & Wikilink<br />Name & Wikilink, etc.
| spouse2         = Name & Wikilink  
| issue2          = Name & Wikilink<br />Name & Wikilink, etc.
| spouse3         = Name & Wikilink  
| issue3          = Name & Wikilink<br />Name & Wikilink, etc.
| dynastyname     = name of dynasty
| father          = Name & Wikilink
| mother          = Name & Wikilink
| birth_date      = D Month, YYYY
| birth_place     = Name & Wikilink
| death_date      = D Month, YYYY
| death_place     = Name & Wikilink
| yahrtzeit       = yahrtzeit
| burial_date     = D Month, YYYY
| burial_place    = Name & Wikilink
}}

Tracking category

Microformat

Template:UF-hcard-person