Difference between revisions of "Template:Alevism"

From blackwiki
Jump to navigation Jump to search
blackwiki>Dudewithafez
m (coloring.)
blackwiki>Frietjes
Line 2: Line 2:
 
|name = Alevism
 
|name = Alevism
 
|bodyclass = collapsible {{#if:{{{collapsed|}}}|collapsed}}
 
|bodyclass = collapsible {{#if:{{{collapsed|}}}|collapsed}}
|bodystyle = width:{{{width|}}};border:1px dotted #cc852b;background:#FFEFF1;font-size:84%;color:black;
+
|bodystyle = border:1px dotted #cc852b;background:#FFEFF1;font-size:84%;color:black;
 
|titlestyle = font-size:65%;
 
|titlestyle = font-size:65%;
 
|title = {{pad|2.25em}}<!--(padding to offset [show/hide] link)-->[[File:Basmala.svg|195px|Bismillahir Rahmanir Rahim]]
 
|title = {{pad|2.25em}}<!--(padding to offset [show/hide] link)-->[[File:Basmala.svg|195px|Bismillahir Rahmanir Rahim]]
Line 216: Line 216:
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
[[Category:Exclude in print]]
 
 
[[Category:Islam templates|Alevism]]
 
[[Category:Islam templates|Alevism]]
 
[[Category:"Part of a series on" templates]]
 
[[Category:"Part of a series on" templates]]
 
</noinclude>
 
</noinclude>

Revision as of 14:03, 3 June 2014

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Alevism|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Alevism|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Alevism|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 autocollapse.