Difference between revisions of "Template:Chabad"

From blackwiki
Jump to navigation Jump to search
(disabled image's appearance in Navbox version (too small))
imported>Frietjes
Line 1: Line 1:
{{ {{#ifeq:{{{1|}}}|sidebar |Sidebar |Navbox}}
+
{{{{#ifeq:{{{1|}}}|sidebar|Sidebar|Navbox}}
 
| name = Chabad
 
| name = Chabad
| titlestyle = {{#ifeq:{{{1|}}}|sidebar |font-size:175%;}}
 
 
| title = [[Chabad]]
 
| title = [[Chabad]]
| {{#ifeq:{{{1|}}}|sidebar |topimage <!--image too small for Navbox: |image-->}} = [[File:770 Eastern Parkway (thumbnail size).jpg|frameless|770 Eastern Parkway]]
 
  
<!---Sidebar-specific formatting:--->
+
| titlestyle = {{#ifeq:{{{1|}}}|sidebar|font-size:175%;}}
| pretitle = Part of a [[:Category:Chabad-Lubavitch (Hasidic dynasty)|series]] on
+
| {{#ifeq:{{{1|}}}|sidebar|topimage|image}} = [[File:770 Eastern Parkway (thumbnail size).jpg|frameless|770 Eastern Parkway]]
| headingclass = navbox-title
 
| headingstyle = border-top:1px solid #aaa;padding-top:0.1em;border-bottom:1px solid #aaa;
 
| contentstyle = padding:0.15em 0 0.6em;
 
| content1style= text-align:left;
 
| contentclass = plainlist
 
  
<!---Navbox-specific formatting:--->
+
<!-- sidebar specific -->
 +
|pretitle = Part of a [[:Category:Chabad-Lubavitch (Hasidic dynasty)|series]] on
 +
|headingclass = navbox-title
 +
|headingstyle = border-top:1px solid #aaa;padding-top:0.1em;border-bottom:1px solid #aaa;
 +
|contentstyle = padding:0.15em 0 0.6em;
 +
|content1style= text-align:left;
 +
|contentclass = plainlist
 +
 
 +
<!-- navbox specific -->
 +
|listclass = hlist
 
| state = {{{state<includeonly>|collapsed</includeonly>}}}
 
| state = {{{state<includeonly>|collapsed</includeonly>}}}
| listclass = hlist
 
  
<!---Template content:--->
+
<!-- main content -->
| {{#ifeq:{{{1|}}}|sidebar |heading1 |group1}} = [[:Category:Rebbes of Lubavitch|Rebbes {{#ifeq:{{{1|}}}|sidebar |of Chabad-Lubavitch}}]]
+
| {{#ifeq:{{{1|}}}|sidebar|heading1|group1}} = [[:Category:Rebbes of Lubavitch|Rebbes of Chabad-Lubavitch]]
| {{#ifeq:{{{1|}}}|sidebar |content1 |list1}} = {{#ifeq:{{{1|}}}|sidebar |<div style="text-align:center;">}}
+
| {{#ifeq:{{{1|}}}|sidebar|content1|list1}} =
 
* [[Shneur Zalman of Liadi]]
 
* [[Shneur Zalman of Liadi]]
 
* [[Dovber Schneuri]]
 
* [[Dovber Schneuri]]
Line 27: Line 28:
 
* [[Yosef Yitzchak Schneersohn]]
 
* [[Yosef Yitzchak Schneersohn]]
 
* [[Menachem Mendel Schneerson]]
 
* [[Menachem Mendel Schneerson]]
{{#ifeq:{{{1|}}}|sidebar |</div>}}
 
  
 
| {{#ifeq:{{{1|}}}|sidebar|heading2|group2}} = [[:Category:Chabad history|History]]
 
| {{#ifeq:{{{1|}}}|sidebar|heading2|group2}} = [[:Category:Chabad history|History]]
Line 43: Line 43:
 
| {{#ifeq:{{{1|}}}|sidebar|content3|list3}} = <div class="hlist">
 
| {{#ifeq:{{{1|}}}|sidebar|content3|list3}} = <div class="hlist">
 
* [[Agudas Chasidei Chabad]]
 
* [[Agudas Chasidei Chabad]]
* {{#ifeq:{{{1|}}}|sidebar |<br/>}}[[Chabad on Campus International Foundation|Chabad on Campus]]
+
* [[Chabad on Campus International Foundation|Chabad on Campus]]
 
* [[Chabad.org]]
 
* [[Chabad.org]]
 
* [[Jewish Children's Museum|Children's Museum]]
 
* [[Jewish Children's Museum|Children's Museum]]
 
* [[Colel Chabad]]
 
* [[Colel Chabad]]
* {{#ifeq:{{{1|}}}|sidebar |<br/>}}[[Gan Israel Camping Network|Gan Israel]]
+
* [[Gan Israel Camping Network|Gan Israel]]
 
* [[Jewish Relief Agency]]
 
* [[Jewish Relief Agency]]
* {{#ifeq:{{{1|}}}|sidebar |<br/>}}[[Jewish Learning Institute|JLI]]
+
* [[Jewish Learning Institute|JLI]]
 
* [[Kehot Publication Society]]
 
* [[Kehot Publication Society]]
 
* [[Lubavitch Youth Organization]]
 
* [[Lubavitch Youth Organization]]
Line 60: Line 60:
 
</div>
 
</div>
  
| {{#ifeq:{{{1|}}}|sidebar|heading4|group4}} = [[:Category:Chabad-Lubavitch Hasidim|Notable figures]]
+
| {{#ifeq:{{{1|}}}|sidebar|heading4|group4}} = [[:Category:Chabad-Lubavitch Hasidim|Notable Figures]]
 
| {{#ifeq:{{{1|}}}|sidebar|content4|list4}} = <div class="hlist">
 
| {{#ifeq:{{{1|}}}|sidebar|content4|list4}} = <div class="hlist">
 
* [[Adin Steinsaltz]]
 
* [[Adin Steinsaltz]]
Line 99: Line 99:
 
* [[Hillel Paritcher]]
 
* [[Hillel Paritcher]]
 
* [[Manis Friedman]]
 
* [[Manis Friedman]]
* {{#ifeq:{{{1|}}}|sidebar |<br/>}}[[Yehuda Chitrik]]
+
* [[Yehuda Chitrik]]
 
* [[Yoel Kahn]]
 
* [[Yoel Kahn]]
 
* [[Yosef Yitzchak Jacobson]]
 
* [[Yosef Yitzchak Jacobson]]
Line 179: Line 179:
  
 
}}<noinclude>
 
}}<noinclude>
 
 
{{documentation
 
{{documentation
|content =
+
|content =
 
{{Chabad|sidebar}}
 
{{Chabad|sidebar}}
 
This template is used to create either a footer or sidebar navigation template for topics related to [[Chabad]].
 
This template is used to create either a footer or sidebar navigation template for topics related to [[Chabad]].
  
 
== Sidebar usage ==
 
== Sidebar usage ==
* Use {{tld|Chabad |sidebar}} to show this template as a sidebar.
+
* Use {{tld|Chabad|sidebar}} to show this template as a sidebar
  
 
== Footer usage ==
 
== Footer usage ==
{{collapsible option |default=collapsed}}
+
{{collapsible option|default=collapsed}}
  
 
[[Category:Jews and Judaism templates]]
 
[[Category:Jews and Judaism templates]]
 +
 
}}</noinclude>
 
}}</noinclude>

Revision as of 19:43, 30 January 2014

Template documentation

This template is used to create either a footer or sidebar navigation template for topics related to Chabad.

Sidebar usage

  • Use {{Chabad|sidebar}} to show this template as a sidebar

Footer usage

Initial visibility: currently defaults to collapsed

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{Chabad|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Chabad|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Chabad|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to collapsed.