Difference between revisions of "Template:Dean of Cardinals"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(tidy style for better HTML5 compatibility)
imported>JoeHebda
(Add: state = autocollapse)
Line 3: Line 3:
 
| title      = [[Dean of the College of Cardinals|<span style="color:white;">Dean</span>]] of the [[College of Cardinals|<span style="color:white;">College of Cardinals</span>]]
 
| title      = [[Dean of the College of Cardinals|<span style="color:white;">Dean</span>]] of the [[College of Cardinals|<span style="color:white;">College of Cardinals</span>]]
 
| titlestyle = background:#DC241F; color:white;  
 
| titlestyle = background:#DC241F; color:white;  
 +
|state = {{{state|autocollapse}}}
 
| image = [[File:Coat of arms Holy See.svg|110px]]
 
| image = [[File:Coat of arms Holy See.svg|110px]]
 
|listclass = hlist
 
|listclass = hlist
Line 37: Line 38:
 
* [[Angelo Sodano|A. Sodano]] (1927-) (1991, 2005)
 
* [[Angelo Sodano|A. Sodano]] (1927-) (1991, 2005)
 
}}
 
}}
 +
 +
}}<noinclude>
 +
{{collapsible option}}
 +
</noinclude>

Revision as of 17:27, 17 September 2015

}} Initial visibility: currently defaults to autocollapse

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

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