Jump to content

Template:Beis HaRav: Difference between revisions

Add embed=yes mode (section inside the infobox, visible on mobile); family lists in subtemplates
Use infoboxTemplate for embedded mode
Line 1: Line 1:
{{#ifeq:{{{embed|}}}|yes|{{#invoke:Infobox|infobox|child=yes
{{#ifeq:{{{embed|}}}|yes|{{#invoke:Infobox|infoboxTemplate|child=yes
|headerstyle=background:#d8f5b5;
|headerstyle=background:#d8f5b5;
|header1=[[File:אייקון בית רבי.png|22px|link=Portal:Beis HaRav]] [[Beis HaRav]]
|header1=[[File:אייקון בית רבי.png|22px|link=Portal:Beis HaRav]] [[Beis HaRav]]

Revision as of 09:30, 19 November 2026

Usage: {{Beis HaRav}}, or {{Beis HaRav|expanded=TzemachTzedek}} to open one section. With embed=yes it renders as a section inside an infobox (used in the module field of Template:Infobox Person, so it also shows on mobile). Section names: AlterRebbe, MittelerRebbe, TzemachTzedek, RebbeMaharash, RebbeRashab, RebbeRayatz, Rebbe.