Template:Infobox diet

From WikiMD's WELLNESSPEDIA

Usage[edit]

This template creates a right-aligned infobox for diet, nutrition, cuisine, and weight loss diet pages.

Basic example[edit]

{{Infobox diet
| name = Keto Nigerian food
| image = [[File:Nigerian home made suya and sliced onions.png|250px]]
| caption = [[Suya]] can be adapted as a keto-friendly Nigerian protein dish.
| type = [[Ketogenic diet]], [[low-carbohydrate diet]], [[medical weight loss]]
| region = [[Nigeria]], [[West Africa]]
| foods = [[Suya]], [[egusi soup]], [[pepper soup]], [[okro soup]], [[afang soup]], [[efo riro]]
| avoid = [[Garri]], [[pounded yam]], [[eba]], [[amala]], [[rice]], [[beans]], [[plantain]], sugary drinks
}}

Full example[edit]

{{Infobox diet
| name = Ketogenic diet
| image = 
| caption = 
| type = [[Low-carbohydrate diet]], [[high-fat diet]], [[medical nutrition therapy]]
| region = Worldwide
| origin = Early 20th-century medical nutrition therapy
| creator = 
| purpose = [[Weight loss]], [[obesity management]], [[epilepsy]] therapy in selected patients
| foods = [[Meat]], [[fish]], [[eggs]], [[leafy greens]], [[healthy fats]], [[nuts and seeds]]
| avoid = [[Sugar]], [[bread]], [[rice]], [[pasta]], [[potatoes]], sweetened beverages
| macros = Very low carbohydrate, moderate protein, higher fat
| carbs = Usually 20–50 grams net carbohydrates per day
| protein = Moderate
| fat = Higher fat intake from healthy fat sources
| benefits = May support [[weight loss]], [[satiety]], and improved [[blood glucose]] in selected people
| risks = May cause constipation, nutrient gaps, medication interactions, and low blood sugar in patients taking diabetes medications
| related = [[Low-carbohydrate diet]], [[Atkins diet]], [[very-low-carbohydrate diet]], [[medical weight loss]]
}}

Parameters[edit]

  • name - Name of the diet or food pattern.
  • image - Image markup, such as [[File:Example.jpg|250px]].
  • caption - Image caption.
  • type - Type of diet, such as ketogenic, vegetarian, low-fat, low-carbohydrate, medical diet, or cultural cuisine adaptation.
  • region - Geographic or cultural region associated with the diet.
  • origin - Origin or history of the diet.
  • creator - Person or organization associated with the diet, if applicable.
  • purpose - Main purpose, such as weight loss, diabetes management, heart health, or cultural/religious practice.
  • foods - Foods emphasized.
  • avoid - Foods limited or avoided.
  • macros - General macronutrient pattern.
  • carbs - Carbohydrate target or carbohydrate description.
  • protein - Protein target or protein description.
  • fat - Fat target or fat description.
  • benefits - Possible benefits.
  • risks - Risks, limitations, or cautions.
  • related - Related diets or nutrition topics.

Notes[edit]

Place this template near the top of a diet or cuisine-related article, immediately after the short description if used.