Difference between revisions of "Template:Diets"

From blackwiki
Jump to navigation Jump to search
imported>Omanyd
imported>Omanyd
Line 28: Line 28:
 
* [[Plant-based diet|Plant-based]]
 
* [[Plant-based diet|Plant-based]]
  
   | group2 = Religious diets
+
   | group1 = Regional diets
   | list2 =
+
  | list1 =
 +
* [[Western pattern diet|Western]]
 +
* [[Mediterranean diet|Mediterranean]]
 +
 
 +
  | group12 = Religious diets
 +
   | list12 =
 
* [[Buddhist cuisine|Buddhist]]
 
* [[Buddhist cuisine|Buddhist]]
 
* [[Christian dietary laws|Christian]]
 
* [[Christian dietary laws|Christian]]
Line 39: Line 44:
 
* [[Diet in Sikhism|Sikh]]
 
* [[Diet in Sikhism|Sikh]]
  
   | group3 = [[Vegetarianism]]<br />and [[veganism]]
+
   | group13 = [[Vegetarianism]]<br />and [[veganism]]
   | list3 =
+
   | list13 =
 
* [[Dried fruit]]
 
* [[Dried fruit]]
 
* [[Fruitarianism]]
 
* [[Fruitarianism]]
Line 49: Line 54:
 
* [[Semi-vegetarianism]]
 
* [[Semi-vegetarianism]]
  
   | group4 = [[Dietary supplement|Supplement diets]]
+
   | group14 = [[Dietary supplement|Supplement diets]]
   | list4 =
+
   | list14 =
 
* [[Bodybuilding supplement]]s
 
* [[Bodybuilding supplement]]s
 
* [[Meal replacement]]
 
* [[Meal replacement]]
 
* [[Therapeutic food]]
 
* [[Therapeutic food]]
  
   | group5 = Non-solid diets
+
   | group15 = Non-solid diets
   | list5 =
+
   | list15 =
 
* [[Liquid diet]]s
 
* [[Liquid diet]]s
 
* [[Very-low-calorie diet]]
 
* [[Very-low-calorie diet]]
  
   | group6 = Specific restrictions
+
   | group16 = Specific restrictions
   | list6 =
+
   | list16 =
 
* [[Calorie restriction]]s
 
* [[Calorie restriction]]s
 
* [[Gluten-free diet|Gluten-free]]
 
* [[Gluten-free diet|Gluten-free]]
Line 71: Line 76:
 
* [[Low sodium diet|Low-sodium]]
 
* [[Low sodium diet|Low-sodium]]
  
   | group7 = Other diets
+
   | group17 = Other diets
   | list7 =
+
   | list17 =
 
* [[Cotton ball diet|Cotton ball]]
 
* [[Cotton ball diet|Cotton ball]]
 
* [[Pica (disorder)|Pica]]
 
* [[Pica (disorder)|Pica]]
Line 82: Line 87:
 
* [[History of military nutrition in the United States|U.S. military]]
 
* [[History of military nutrition in the United States|U.S. military]]
  
   | group8 = [[Fad diet|Food faddism]]
+
   | group18 = [[Fad diet|Food faddism]]
   | list8 =
+
   | list18 =
 
* [[The Cambridge Diet|Cambridge]]
 
* [[The Cambridge Diet|Cambridge]]
 
* [[Macrobiotic diet|Macrobiotic]]
 
* [[Macrobiotic diet|Macrobiotic]]
Line 92: Line 97:
  
  
   | group9 = [[List of diets]]
+
   | group19 = [[List of diets]]
   | list9 =
+
   | list19 =
 
* [[Diet food]]
 
* [[Diet food]]
  

Revision as of 19:48, 7 September 2019

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