Difference between revisions of "Template:Lagomorpha"

From blackwiki
Jump to navigation Jump to search
imported>Colonies Chris
imported>Frietjes
(navbox subgroup syntax update)
Line 15: Line 15:
 
|group1 = Family [[Pika|Ochotonidae <small>(Pikas)</small>]]
 
|group1 = Family [[Pika|Ochotonidae <small>(Pikas)</small>]]
 
|abbr1 = O.
 
|abbr1 = O.
|list1 = {{Navbox subgroup
+
|list1 = {{Navbox|subgroup
  | groupstyle = width:9em;
+
  | groupwidth = 9em
| liststyle = width:auto;
 
| oddstyle  = background:#ffffff;
 
 
  | group1    = ''[[Pika|Ochotona]]''
 
  | group1    = ''[[Pika|Ochotona]]''
 
  | list1      =
 
  | list1      =
Line 57: Line 55:
 
|group2 = Family [[Leporidae]] <small>([[Rabbit]]s and [[Hare]]s)</small>
 
|group2 = Family [[Leporidae]] <small>([[Rabbit]]s and [[Hare]]s)</small>
 
|abbr2 = L.
 
|abbr2 = L.
|list2 = {{Navbox subgroup
+
|list2 =  
| oddstyle  = background:#e6e6ff;
+
{{Navbox|subgroup
}}
+
  | groupwidth = 9em
{{Navbox subgroup
+
 
  | groupstyle = width:9em;
 
| liststyle = width:auto;
 
| style  = background:#ffffff;
 
| evenstyle  = background:#f7f7f7;
 
 
  | group1    = ''[[Amami rabbit|Pentalagus]]''
 
  | group1    = ''[[Amami rabbit|Pentalagus]]''
 
  | list1      =
 
  | list1      =

Revision as of 18:11, 31 August 2017

Initial visibility: currently defaults to autocollapse

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

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

50px Template documentation[create]