Difference between revisions of "Template:Canidae nav"

From blackwiki
Jump to navigation Jump to search
imported>Colonies Chris
imported>Frietjes
Line 4: Line 4:
 
  | title      = Extant species of family [[Canidae]]
 
  | title      = Extant species of family [[Canidae]]
 
  | bodyclass  = hlist
 
  | bodyclass  = hlist
| liststyle  = background:#ffffff;
+
 
| image      =
 
 
  | above      =  
 
  | above      =  
 
* Kingdom: [[Animal|Animalia]]
 
* Kingdom: [[Animal|Animalia]]
Line 14: Line 13:
  
 
  | group1    = True<br/>dogs
 
  | group1    = True<br/>dogs
  | list1      = {{Navbox subgroup
+
  | list1      = {{Navbox|subgroup
  | groupstyle = width:8em;
+
  | groupwidth = 8em
| liststyle  = width:auto;
+
 
| oddstyle  =
 
| evenstyle  = background:#f7f7f7;
 
 
  | group1 = ''[[Canis]]''
 
  | group1 = ''[[Canis]]''
 
  | list1  =
 
  | list1  =
Line 59: Line 56:
  
 
  | group2    = True<br/>foxes
 
  | group2    = True<br/>foxes
  | list2      = {{Navbox subgroup
+
  | list2      = {{Navbox|subgroup
  | groupstyle = width:8em;
+
  | groupwidth = 8em
| liststyle  = width:auto;
+
 
| oddstyle  =
 
| evenstyle  = background:#f7f7f7;
 
 
  | group1 = ''[[Arctic fox|Alopex]]''
 
  | group1 = ''[[Arctic fox|Alopex]]''
 
  | list1  =
 
  | list1  =
Line 88: Line 83:
  
 
  | group3    = Basal<br/>Caninae
 
  | group3    = Basal<br/>Caninae
  | list3      = {{Navbox subgroup
+
  | list3      = {{Navbox|subgroup
  | groupstyle = width:8em;
+
  | groupwidth = 8em
| liststyle  = width:auto;
+
 
| oddstyle  = background:#f7f7f7;
 
| evenstyle  =
 
 
  | group1 = ''[[Bat-eared fox|Otocyon]]''
 
  | group1 = ''[[Bat-eared fox|Otocyon]]''
 
  | list1  =
 
  | list1  =

Revision as of 14:31, 31 August 2017

Initial visibility: currently defaults to autocollapse

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

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