Difference between revisions of "Template:AONBs in Northern Ireland"

From blackwiki
Jump to navigation Jump to search
blackwiki>WOSlinker
(use listclass = hlist in navbox as per WP:HLIST)
blackwiki>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 2: Line 2:
 
| titlestyle = background-color: #9bcb65
 
| titlestyle = background-color: #9bcb65
 
| title      = [[Area of Outstanding Natural Beauty|Areas of Outstanding Natural Beauty]] in [[Northern Ireland]]
 
| title      = [[Area of Outstanding Natural Beauty|Areas of Outstanding Natural Beauty]] in [[Northern Ireland]]
 +
| state      = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
 
| name      = AONBs in Northern Ireland
 
| name      = AONBs in Northern Ireland
Line 18: Line 19:
 
| below      = ''Areas marked † are proposed''
 
| below      = ''Areas marked † are proposed''
 
| belowstyle = background-color: #abdb75
 
| belowstyle = background-color: #abdb75
}}<noinclude>[[Category:Northern Ireland templates]]</noinclude>
+
}}<noinclude>
 +
{{collapsible option}}
 +
[[Category:Northern Ireland templates]]</noinclude>

Revision as of 23:16, 21 March 2013

Initial visibility: currently defaults to autocollapse

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

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