Difference between revisions of "Template:Allium"

From blackwiki
Jump to navigation Jump to search
blackwiki>Northamerica1000
blackwiki>Funandtrvl
(add links)
Line 3: Line 3:
 
| state = {{{state|{{{1|autocollapse}}}}}}
 
| state = {{{state|{{{1|autocollapse}}}}}}
 
| title = ''[[Allium]]''
 
| title = ''[[Allium]]''
 +
| image = [[File:Iridaceae - Allium neapolitanum (8303567329).jpg|80px|alt=Allium neapolitanum|Allium neapolitanum]]
 
| bodyclass = hlist
 
| bodyclass = hlist
  
 
| above =
 
| above =
* [[Onion]]
+
* [[List of Allium species|''Allium'' species]]
 +
* [[Chives]]
 
* [[Garlic]]
 
* [[Garlic]]
* [[Chives]]
 
 
* [[Leek]]
 
* [[Leek]]
 +
* [[Onion]]
  
| group1 = Onion [[cultivar]]s
+
| group1 = [[List of onion cultivars|Onion cultivars]]
 
| list1 =
 
| list1 =
 
* [[Calçot]]
 
* [[Calçot]]
Line 123: Line 125:
  
 
| belowstyle = font-weight:bold;
 
| belowstyle = font-weight:bold;
| below = {{icon|Category}} {{c|Allium}}
+
| below =  
 
+
* {{icon|Category}} [[:Category:Allium|Category]]
 +
* {{icon|commons}} [[commons:Category:Allium|Commons]]
 
}}<noinclude>
 
}}<noinclude>
 
{{Documentation
 
{{Documentation
 
  | content =
 
  | content =
 
{{Collapsible option |statename=optional}}
 
{{Collapsible option |statename=optional}}
 
+
[[Category:Botany templates]]
 
[[Category:Food navigational boxes]]
 
[[Category:Food navigational boxes]]
[[Category:WikiProject Plants templates]]
+
}}</noinclude>
}}<!--(end Documentation)-->
 
</noinclude>
 

Revision as of 01:34, 5 June 2015

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.