Difference between revisions of "Template:Food science"

From blackwiki
Jump to navigation Jump to search
imported>Zazpot
(Add processing aids)
imported>Funandtrvl
(copyedit)
Line 2: Line 2:
 
|name  = Food science
 
|name  = Food science
 
|title = [[Food science]]
 
|title = [[Food science]]
|state = {{{state|autocollapse}}}
+
|state = {{{state<includeonly>|autocollapse</includeonly>}}}
|listclass = hlist
+
|bodyclass = hlist
  
 
|group1 = General
 
|group1 = General
Line 60: Line 60:
 
<noinclude>
 
<noinclude>
 
| belowstyle=font-weight:bold;
 
| belowstyle=font-weight:bold;
| below =  {{portal-inline|Food|size=tiny}} {{portal-inline|Drink|size=tiny}} {{icon|category}} [[:Category:Food safety|Category]]  {{icon|commons}} [[:commons:Category:Food safety|Commons]] {{icon|wikibooks}} [[Wikibooks:Cookbook|Cookbook]] {{icon|Wikiproject}} [[Wikipedia:WikiProject Food and drink|WikiProject]]
+
| below =   
 +
* {{portal-inline|Food|size=tiny}}  
 +
* {{portal-inline|Drink|size=tiny}}  
 +
* {{icon|category}} [[:Category:Food safety|Category]]   
 +
* {{icon|commons}} [[:commons:Category:Food safety|Commons]]  
 +
* {{icon|wikibooks}} [[Wikibooks:Cookbook|Cookbook]]  
 +
* {{icon|Wikiproject}} [[Wikipedia:WikiProject Food and drink|WikiProject]]
 
</noinclude>
 
</noinclude>
 
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 19:07, 14 June 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: {{Food science|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Food science|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Food science|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