Template:Allium

From blackwiki
Revision as of 18:40, 6 February 2019 by blackwiki>Catfurball (Added onion cultivars.)
Jump to navigation Jump to search

{{Navbox | name = Allium | state = autocollapse | title = Allium

| image = Allium neapolitanum | bodyclass = hlist

| above =

| group1 = Onion cultivars | list1 =

| group2 = Onion species | list2style = font-style:italic; | list2 =

| group3 = Onion food | list3 =

| group4 = Garlic cultivars | list4 =

| group5 = Garlic species | list5style = font-style:italic; | list5 =

| group6 = Garlic food | list6 =

| group7 = Garlic and onion
constituents | list7 =

| group8 = Related | list8 =

| belowstyle = font-weight:bold; | below =

}}

50px Template documentation

Initial visibility: currently defaults to autocollapse

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

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