Difference between revisions of "Template:Cereals"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Frietjes
Line 7: Line 7:
 
  | group1 = [[Cereal]]s
 
  | group1 = [[Cereal]]s
 
  | list1 = {{Navbox|child
 
  | list1 = {{Navbox|child
  | evenodd = swap
+
 
 
   | group1 = [[Poaceae|Gramineae]]
 
   | group1 = [[Poaceae|Gramineae]]
 
   | list1 =
 
   | list1 =
Line 27: Line 27:
 
     | group1 = [[Wheat|Wheat {{smaller|(Triticum)}}]]
 
     | group1 = [[Wheat|Wheat {{smaller|(Triticum)}}]]
 
     | list1 = {{Navbox|child
 
     | list1 = {{Navbox|child
 
+
      | evenodd = swap
 
       | list1 =
 
       | list1 =
 
* [[Common wheat|Bread]]
 
* [[Common wheat|Bread]]
Line 48: Line 48:
 
  | group2 = [[Pseudocereal]]s
 
  | group2 = [[Pseudocereal]]s
 
  | list2 = {{Navbox|child
 
  | list2 = {{Navbox|child
 
+
  | evenodd = swap
 
   | group1 = [[Polygonaceae]]
 
   | group1 = [[Polygonaceae]]
 
   | list1 =
 
   | list1 =
Line 56: Line 56:
 
   | group2 = [[Amaranthaceae]]
 
   | group2 = [[Amaranthaceae]]
 
   | list2 = {{Navbox|child
 
   | list2 = {{Navbox|child
    | evenodd = even
+
 
 
     | group1 = [[Amaranth]]
 
     | group1 = [[Amaranth]]
 
     | list1 =
 
     | list1 =

Revision as of 18:28, 27 February 2017

Template documentation[view] [edit] [history] [purge]

Usage

Initial visibility: currently defaults to autocollapse

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

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

See also