Difference between revisions of "Template:Clan MacLeod"

From blackwiki
Jump to navigation Jump to search
imported>Brianann MacAmhlaidh
(tweak)
imported>Frietjes
(navbox subgroup syntax update)
Line 6: Line 6:
 
| group1 = Clan chiefs
 
| group1 = Clan chiefs
 
| list1  =  
 
| list1  =  
   {{Navbox subgroup
+
   {{Navbox|subgroup
 
   |group1=[[Chiefs of Clan MacLeod|MacLeod of Harris and Dunvegan<br>(MacLeod of MacLeod)]]
 
   |group1=[[Chiefs of Clan MacLeod|MacLeod of Harris and Dunvegan<br>(MacLeod of MacLeod)]]
 
   |list1=
 
   |list1=
Line 52: Line 52:
 
|group2=Castles and buildings
 
|group2=Castles and buildings
 
| list2  =  
 
| list2  =  
   {{Navbox subgroup
+
   {{Navbox|subgroup
 
   |group1=MacLeod of Harris and Dunvegan
 
   |group1=MacLeod of Harris and Dunvegan
 
   |list1=
 
   |list1=
Line 64: Line 64:
 
|group3=Clan heirlooms and relics
 
|group3=Clan heirlooms and relics
 
|list3=  
 
|list3=  
   {{Navbox subgroup
+
   {{Navbox|subgroup
 
   |group1=MacLeod of Harris and Dunvegan
 
   |group1=MacLeod of Harris and Dunvegan
 
   |list1=
 
   |list1=
Line 74: Line 74:
 
| group4 = Clan battles
 
| group4 = Clan battles
 
| list4  =  
 
| list4  =  
   {{Navbox subgroup
+
   {{Navbox|subgroup
 
   |group1=MacLeod of Harris and Dunvegan
 
   |group1=MacLeod of Harris and Dunvegan
 
   |list1=
 
   |list1=

Revision as of 14:10, 6 September 2017

Initial visibility: currently defaults to autocollapse

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

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