Difference between revisions of "Template:Hinduism (compact)"

From blackwiki
Jump to navigation Jump to search
imported>GTBacchus
m (dodging redirect to moved page)
imported>Funandtrvl
(fix links)
 
(22 intermediate revisions by 9 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
| name = Hinduism (compact)
+
| name     = Hinduism (compact)
| title = [[Hinduism]]
+
| title     = [[Hinduism]]
| titlestyle = background-color: #FFC569; <!--lighter orange to ease eye-strain-->
+
| state        = {{{state|autocollapse}}}
| belowstyle = background-color: #FFC569; <!--lighter orange to ease eye-strain-->
+
| bodyclass = hlist
| below = '''[[Portal:Hinduism|Portal]]'''
+
| basestyle = background-color: #FFC569; <!--lighter orange to ease eye-strain-->
| list1 = <div>{{nowrap begin}}
+
 
[[Om|Aum]]{{·w}}
+
| list1 =
[[Ayurveda]]{{·w}}
+
* [[Chakra]]
[[Chakra]]{{·w}}
+
* [[Dharma]]
[[Dharma]]{{·w}}
+
* [[List of Hindu gurus and sants|Gurus and sants]]
[[Hindu denominations|Denominations]]{{·w}}
+
* [[Karma in Hinduism|Karma]]
[[Hindu deities|Deities]]{{·w}}
+
* [[Mantra]]
[[List of Hindu gurus and saints|Gurus and saints]]{{·w}}
+
* [[Moksha]]
[[Schools of Hinduism|Schools]]{{·w}}
+
* [[Om]]
[[Karma in Hinduism|Karma]]{{·w}}
+
* [[Yoga]]
[[Jyotiṣa|Jyotish]]{{·w}}
+
* [[Worship in Hinduism|Worship]]
[[Mantras]]{{·w}}
+
 
[[Moksha]]{{·w}}
+
| below =
[[Sruti]]{{·w}}
+
* '''[[Portal:Hinduism|Portal]]'''
[[Smriti]]{{·w}}
+
 
[[Yoga]]
 
{{nowrap end}}</div>
 
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Hinduism templates| ]]
 
[[Category:Hinduism templates| ]]
 
</noinclude>
 
</noinclude>

Latest revision as of 20:47, 16 April 2020

Initial visibility: currently defaults to autocollapse

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

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