Difference between revisions of "Template:Adur"

From blackwiki
Jump to navigation Jump to search
blackwiki>SilkTork
(cleanup)
m (18 revisions imported)
 
(7 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name = Adur
 
|name = Adur
|state =
 
 
|title = Settlements in [[Adur District]]  
 
|title = Settlements in [[Adur District]]  
|titlestyle = background:#BFD7FF;
+
|state = {{{state|autocollapse}}}
|groupstyle = background:#BFD7FF; font-size:95%;
+
|listclass = hlist
|belowstyle = background:#BFD7FF;
+
 
 
|group1=Towns
 
|group1=Towns
|list1= [[Shoreham-by-Sea]]{{·}}[[Southwick, West Sussex|Southwick]]
+
|list1=
|group2=Villages and Hamlets
+
* [[Shoreham-by-Sea]]
|list2= [[Coombes]]{{·}}Fishersgate{{·}}[[Kingston by Sea]]{{·}}[[Lancing, West Sussex|Lancing]]{{·}}[[Sompting]]{{·}}[[Sompting| Sompting Abbotts]]
+
* [[Southwick, West Sussex|Southwick]]
}}<includeonly>[[Category:Adur|{{PAGENAME}}]]</includeonly>
+
 
<noinclude>[[Category:West Sussex subdivision navigational boxes|{{PAGENAME}}]]
+
|group2=Villages and hamlets
 +
|list2=
 +
* [[Coombes]]
 +
* [[Fishersgate]]
 +
* [[Kingston by Sea]]
 +
* [[Lancing, West Sussex|Lancing]]
 +
* [[Sompting]]
 +
}}
 +
<noinclude>
 +
{{collapsible option}}
 +
[[Category:West Sussex subdivision navigational boxes]]
 
</noinclude>
 
</noinclude>

Latest revision as of 10:27, 18 October 2020

Initial visibility: currently defaults to autocollapse

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

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