Template:Paganism/doc: Difference between revisions

From Bharatpedia, an open encyclopedia
(Created page with "{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> {{warning|''Note: A general consensus has been agreed that this template should only be placed on articles that are about general Paganism, where more specific templates such as {{tl|Neopaganism}} are not more appropriate. There are other templates on Modern Paganism and specific traditions. Do not add this...")
Tags: Mobile edit Mobile web edit
 
m (clean up)
 
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
<!-- Please place categories where indicated at the bottom of this page and interwikis at Bharatdata (see [[Bharatpedia:Bharatdata]]) -->
{{warning|''Note: A general consensus has been agreed that this template should only be placed on articles that are about general [[Paganism]], where more specific templates such as {{tl|Neopaganism}} are not more appropriate. There are other templates on [[Modern Paganism]] and specific traditions. Do not add this template to Abrahamic or Indigenous religions that are not considered Pagan.''|image=Stop hand nuvola.svg}}
{{warning|''Note: A general consensus has been agreed that this template should only be placed on articles that are about general [[Paganism]], where more specific templates such as {{tl|Neopaganism}} are not more appropriate. There are other templates on [[Modern Paganism]] and specific traditions. Do not add this template to Abrahamic or Indigenous religions that are not considered Pagan.''|image=Stop hand nuvola.svg}}


Line 12: Line 12:


<includeonly>{{sandbox other||
<includeonly>{{sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
<!-- Categories below this line, please; interwikis at Bharatdata -->
[[Category:Paganism templates]]
[[Category:Paganism templates]]


}}</includeonly>
}}</includeonly>

Latest revision as of 10:16, 5 December 2023

Initial visibility: currently defaults to autocollapse

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

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

See also