Difference between revisions of "Template:Diets"

From blackwiki
Jump to navigation Jump to search
Line 14: Line 14:
 
* [[Nutrition]]
 
* [[Nutrition]]
 
* [[Obesity]]
 
* [[Obesity]]
* [[Dietary supplement|Supplement]]
 
  
 
|group1 = Basic types
 
|group1 = Basic types
Line 43: Line 42:
 
* [[Meat analogue]]
 
* [[Meat analogue]]
 
* [[Raw veganism|Raw vegan]]
 
* [[Raw veganism|Raw vegan]]
 +
 +
|group4 = [[Dietary supplement|Supplement diets]]
 +
|list4 =
 +
* [[Plumpy'nut]]
 +
* [[Therapeutic food]]
  
 
|group4 = Non-solid diets
 
|group4 = Non-solid diets
Line 48: Line 52:
 
* [[Liquid diet]]s
 
* [[Liquid diet]]s
 
* [[Bodybuilding supplement|Protein shake]]s
 
* [[Bodybuilding supplement|Protein shake]]s
* [[Plumpy'nut]]
 
 
* [[Soylent (drink)|Soylent]]
 
* [[Soylent (drink)|Soylent]]
 
* [[Ambronite]]
 
* [[Ambronite]]
 
* [[Very low calorie diet|Very low calorie]]
 
* [[Very low calorie diet|Very low calorie]]
  
|group5 = Specific restrictions
+
|group6 = Specific restrictions
|list5 =
+
|list6 =
 
* [[Calorie restriction]]s
 
* [[Calorie restriction]]s
 
* [[Gluten-free diet|Gluten-free]]
 
* [[Gluten-free diet|Gluten-free]]
Line 66: Line 69:
 
* [[Low-glycemic diet|Low-glycemic]]
 
* [[Low-glycemic diet|Low-glycemic]]
  
|group6 = [[List of feeding behaviours|Other feeding<br/>behaviors]]
+
|group7 = [[List of feeding behaviours|Other feeding<br/>behaviors]]
|list6 =
+
|list7 =
 
* [[DASH diet|DASH]]
 
* [[DASH diet|DASH]]
 
* [[Ketogenic diet|Ketogenic]]
 
* [[Ketogenic diet|Ketogenic]]
Line 77: Line 80:
 
* [[History of military nutrition in the United States|U.S. military]]
 
* [[History of military nutrition in the United States|U.S. military]]
  
|group7 = [[Food faddism]]
+
|group8 = [[Food faddism]]
|list7 =
+
|list8 =
 
* [[Atkins diet|Atkins]]
 
* [[Atkins diet|Atkins]]
 
* [[The Cambridge Diet|Cambridge]]
 
* [[The Cambridge Diet|Cambridge]]

Revision as of 21:25, 18 September 2015

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

Usage

Add {{Diets}} to the bottom of the page. Use best judgement on placement.

Initial visibility: currently defaults to autocollapse

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

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