Difference between revisions of "Template:Carrick navigation box"

From blackwiki
Jump to navigation Jump to search
imported>Joowwww
(former)
imported>Crusoe8181
m
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name = Carrick navigation box
+
| name       = Carrick navigation box
|titlestyle= background: #cef2e0;
+
| title     = Civil parishes of the former [[Carrick, Cornwall|Carrick]] District
|title=Civil Parishes of the former [[Carrick, Cornwall|Carrick]] District
+
| state      = {{{state|autocollapse}}}
|image= [[Image:CornwallCarrick.png|40px]]
+
| listclass  = hlist
|list1=[[Image:Flag of Cornwall.svg|20px]] [[Cornwall]]
+
| image     = [[File:CornwallCarrick.png|40px]]
|list2=[[Chacewater ]] [[Cubert ]] [[Cuby, Cornwall|Cuby ]] [[Falmouth, Cornwall|Falmouth ]] [[Feock, Cornwall|Feock ]] [[Gerrans ]] [[Gwennap ]] [[Kea, Cornwall|Kea ]] [[Kenwyn ]] [[Ladock ]] [[Mylor, Cornwall|Mylor ]] [[Penryn, Cornwall|Penryn]] [[Perranarworthal ]] [[Perranzabuloe]] [[Philleigh ]] [[Probus, Cornwall|Probus ]] [[Ruan Lanihorne ]] [[St Agnes, Cornwall |St Agnes ]] [[St Allen ]] [[St Clement, Cornwall|St Clement ]] [[St Erme ]] [[St Just in Roseland ]] [[St Michael Penkivel ]] [[St Newlyn East ]] [[Tregony ]] [[Truro ]] [[Veryan ]]
+
| above      = [[File:Flag of Cornwall.svg|20px]] [[Cornwall]]
 +
| list1 =  
 +
* [[Chacewater]]
 +
* [[Cubert]]
 +
* [[Cuby, Cornwall|Cuby]]
 +
* [[Falmouth, Cornwall|Falmouth]]
 +
* [[Feock, Cornwall|Feock]]
 +
* [[Gerrans]]
 +
* [[Gwennap]]
 +
* [[Kea, Cornwall|Kea]]
 +
* [[Kenwyn]]
 +
* [[Ladock]]
 +
* [[Mylor, Cornwall|Mylor]]
 +
* [[Penryn, Cornwall|Penryn]]
 +
* [[Perranarworthal]]
 +
* [[Perranzabuloe]]
 +
* [[Philleigh]]
 +
* [[Probus, Cornwall|Probus]]
 +
* [[Ruan Lanihorne]]
 +
* [[St Agnes, Cornwall |St Agnes]]
 +
* [[St Allen]]
 +
* [[St Clement, Cornwall|St Clement]]
 +
* [[St Erme]]
 +
* [[St Just in Roseland]]
 +
* [[St Michael Penkivel]]
 +
* [[St Newlyn East]]
 +
* [[Tregony]]
 +
* [[Truro]]
 +
* [[Veryan]]
 
}}<noinclude>
 
}}<noinclude>
[[Category:Cornwall subdivision navigational boxes|{{PAGENAME}}]]
+
{{collapsible option}}
[[Category:Cornwall templates|{{PAGENAME}}]]
+
[[Category:Cornwall subdivision navigational boxes]]
 +
[[Category:Cornwall templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 11:37, 13 July 2013

Initial visibility: currently defaults to autocollapse

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

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