Difference between revisions of "Template:Digestive enzymes"

From blackwiki
Jump to navigation Jump to search
imported>Lmatt
m (use listclass = hlist in navbox as per WP:HLIST)
imported>DePiep
(rm Mednav index templates. See talk (via AWB script))
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Navbox  
+
{{Navbox
| name = Digestive enzymes
+
| name = Digestive enzymes
| title = [[Digestive enzyme]]s
+
| title = [[Digestive enzyme]]s
|listclass = hlist
+
| state = {{{state<includeonly>|autocollapse</includeonly>}}}
| titlestyle = background:#e7dcc3
+
| listclass = hlist
| groupstyle = background-color: AntiqueWhite
 
  
| group1 = [[Amino acid]]s
+
| group1 = [[Amino acid]]s
| list1 =
+
| list1 =
 
* [[Pepsin]]
 
* [[Pepsin]]
 
* [[Enteropeptidase]]
 
* [[Enteropeptidase]]
Line 16: Line 15:
 
* [[Nepenthesin]]
 
* [[Nepenthesin]]
  
| group2 = [[Lipid]]s
+
| group2 = [[Lipid]]s
| list2 = Gastric [[lipase]]
+
| list2 =
 +
* Gastric [[lipase]]
  
| group3 = [[Carbohydrate]]s
+
| group3 = [[Carbohydrate]]s
| list3 =
+
| list3 =
 
* Gastric [[amylase]]
 
* Gastric [[amylase]]
 
* Pancreatic [[amylase]]
 
* Pancreatic [[amylase]]
 
| belowstyle = background: transparent; padding: 0px;
 
| below = {{Digestive system navs}}
 
  
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Alimentary anatomy templates]]
 
[[Category:Alimentary anatomy templates]]
 
[[cs:Šablona:Trávicí enzymy]]
 
[[pt:Predefinição:Enzimas digestivas]]
 
[[zh:Template:消化酶类]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 17:13, 13 February 2016

Initial visibility: currently defaults to autocollapse

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

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