Difference between revisions of "Template:Bioenergy"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
m (update link)
(minor cleanup)
Line 2: Line 2:
 
|name      = Bioenergy
 
|name      = Bioenergy
 
|title    = [[Bioenergy]]
 
|title    = [[Bioenergy]]
|state    = {{{state|}}}
+
|state    = {{{state<includeonly>|autocollapse</includeonly>}}}
 
|listclass = hlist
 
|listclass = hlist
|image    = [[Image:Sugarcane field.jpg|120px]]
+
|image    = [[File:Sugarcane field.jpg|120px]]
  
 
|group1 = [[:Category:Biofuels|Biofuels]]
 
|group1 = [[:Category:Biofuels|Biofuels]]
 
|list1  =
 
|list1  =
* [[Alcohol]]
+
*[[Alcohol]]
 
*[[Algae fuel]]
 
*[[Algae fuel]]
 
*[[Bagasse]]
 
*[[Bagasse]]
Line 22: Line 22:
 
*[[Methanol fuel|Methanol]]
 
*[[Methanol fuel|Methanol]]
 
*[[Stover]]
 
*[[Stover]]
** [[Corn stover]]
+
**[[Corn stover]]
 
*[[Straw]]
 
*[[Straw]]
 
*[[Cooking oil]]
 
*[[Cooking oil]]
 
**[[Vegetable oil fuel|Vegetable oil]]
 
**[[Vegetable oil fuel|Vegetable oil]]
* [[Wood gas]]
+
*[[Wood gas]]
  
 
|group2 = [[:Category:Energy crops|Energy from<br>foodstock]]
 
|group2 = [[:Category:Energy crops|Energy from<br>foodstock]]

Revision as of 09:21, 31 July 2016

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

Usage

This is a simple navigation template based on {{Navbox}} that takes an optional state parameter:

{{Bioenergy}}

Initial visibility: currently defaults to autocollapse

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

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

The template is suitable for transcluding at the bottoms of articles relating to Bioenergy, when no more specific energy template exists.

See also