Template:Chabad Rebbes Box: Difference between revisions
English version of the Hebrew portal box for the Chabad Rebbes (תבנית:אדמו"רי חב"ד) |
Show category links only when the category exists |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{| | {{#ifeq:{{{embed|}}}|yes|{{#invoke:Infobox|infoboxTemplate|child=yes | ||
|headerstyle=background:#efe2ae; | |||
| | |header1=[[File:אייקון נשיאי חבד.png|22px|link=Portal:Rebbes of Chabad]] [[Portal:Rebbes of Chabad|Rebbes of Chabad]] | ||
| | |label2=Series|data2={{{series|}}} | ||
| | |label3=Nesius|data3={{{years|}}} | ||
|label4=Preceded by|data4={{{before|}}} | |||
|label5=Succeeded by|data5={{{after|}}} | |||
| | |data6=<div class="hlist" style="font-size:92%; text-align:center;">{{#ifexist:Category:Family of the {{{rebbe}}}| | ||
| | * [[:Category:Family of the {{{rebbe}}}|Family]]}}{{#ifexist:Category:Chassidim in the Era of the {{{rebbe}}}| | ||
| | * [[:Category:Chassidim in the Era of the {{{rebbe}}}|Chassidim]]}}{{#ifexist:Category:Disciples of the {{{rebbe}}}| | ||
* [[:Category:Disciples of the {{{rebbe}}}|Disciples]]}}{{#ifexist:Category:Works of the {{{rebbe}}}| | |||
| | * [[:Category:Works of the {{{rebbe}}}|Works]]}}{{#ifexist:Category:Niggunim of the {{{rebbe}}}| | ||
* [[:Category:Niggunim of the {{{rebbe}}}|Niggunim]]}} | |||
| | </div> | ||
}}|{{Sidebar | |||
|- | | name = Chabad Rebbes Box | ||
|}<noinclude> | | style = width:22em; | ||
| wraplinks = true | |||
| pretitle = Part of a series on the | |||
| title = [[Portal:Rebbes of Chabad|Rebbes of Chabad]] | |||
| image = [[File:אייקון נשיאי חבד.png|80px|link=Portal:Rebbes of Chabad]] | |||
| heading1 = [[The {{{rebbe}}}]]{{#if:{{{years|}}}|<div style="font-weight:normal;">Nesius: {{{years}}}</div>}} | |||
| content1 = {{#if:{{{before|}}}{{{after|}}}|<div style="display:flex; justify-content:space-between; gap:0.5em; margin-bottom:0.4em;"><div style="text-align:left;">{{#if:{{{before|}}}|← Preceded by<br />'''{{{before}}}'''}}</div><div style="text-align:right;">{{#if:{{{after|}}}|Succeeded by →<br />'''{{{after}}}'''}}</div></div>}}<div style="text-align:left;"> | |||
{{#ifexist:Category:Family of the {{{rebbe}}}| | |||
* [[:Category:Family of the {{{rebbe}}}|Family of the {{{rebbe}}}]]}} | |||
{{#ifexist:Category:Chassidim in the Era of the {{{rebbe}}}| | |||
* [[:Category:Chassidim in the Era of the {{{rebbe}}}|Chassidim in the Era of the {{{rebbe}}}]]}} | |||
{{#ifexist:Category:Works of the {{{rebbe}}}| | |||
* [[:Category:Works of the {{{rebbe}}}|Works of the {{{rebbe}}}]]}} | |||
{{#ifexist:Category:Niggunim of the {{{rebbe}}}| | |||
* [[:Category:Niggunim of the {{{rebbe}}}|Niggunim of the {{{rebbe}}}]]}} | |||
</div> | |||
| heading2 = Portals | |||
| content2 = <div style="text-align:left;"> | |||
* [[Portal:Rebbes of Chabad|Rebbes of Chabad]] | |||
* [[Portal:Beis HaRav|Beis HaRav]] | |||
* [[:Category:General Chassidus|General Chassidus]] | |||
</div> | |||
}}}}<noinclude> | |||
Side box for the Chabad Rebbes (English version of the Hebrew template אדמו"רי חב"ד, including the succession of the Hebrew סדרה). Place at the top of the article, below the infobox. With <code>embed=yes</code> it renders as a section inside the infobox (module field), visible on mobile. Usage: | |||
Optional: <code>series=</code> (extra row, e.g. for the leaders of the general Chassidic movement). Category links appear only if the category exists. | |||
<pre>{{Chabad Rebbes Box|rebbe=Tzemach Tzedek|before=[[The Mitteler Rebbe]]|after=[[The Rebbe Maharash]]|years=9 Kislev 5588 – 13 Nissan 5626}}</pre> | |||
[[Category:Templates]] | [[Category:Templates]] | ||
[[he:תבנית:אדמו"רי חב"ד]] | [[he:תבנית:אדמו"רי חב"ד]] | ||
</noinclude> | </noinclude> | ||