Difference between revisions of "Template:Catholic Church in Pakistan"

From blackwiki
Jump to navigation Jump to search
imported>Magioladitis
m (Remove unicode control characters (CHECKWIKI error 16) + general fixes using AWB (8789))
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 3: Line 3:
 
|titlestyle = background-color:#FFFF66
 
|titlestyle = background-color:#FFFF66
 
|basestyle  = background-color:#FFFF66   
 
|basestyle  = background-color:#FFFF66   
|state      = autocollapse
+
|state      = {{{state|autocollapse}}}
 
|title  = [[Roman Catholicism in Pakistan]]
 
|title  = [[Roman Catholicism in Pakistan]]
 
|listclass = hlist
 
|listclass = hlist
Line 46: Line 46:
 
|group8 = Notable Roman Catholics
 
|group8 = Notable Roman Catholics
 
|list8  = see [[:Category:Pakistani Roman Catholics|Category:Pakistani Roman Catholics]]
 
|list8  = see [[:Category:Pakistani Roman Catholics|Category:Pakistani Roman Catholics]]
}}<noinclude>[[Category:Roman Catholic navigational boxes]] [[Category:Pakistan templates]]</noinclude>
+
}}<noinclude>
 +
{{collapsible option}}
 +
[[Category:Roman Catholic navigational boxes]] [[Category:Pakistan templates]]</noinclude>

Revision as of 00:34, 25 January 2013

Initial visibility: currently defaults to autocollapse

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

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