Template:Nutrition summary new/2c/doc

Usage

edit

This template shows nutrition facts on recipes. It is based on newer 2016 format of nutrition facts label. Simply enter the nutrients and it will calculate the amount of calories and DV in a serving and calories, nutrients and daily values in a whole recipe.

This template is intended to be used in recipes with two or three servings. For single-serving recipes and those with more than three servings, see the single-column template, Template:Nutrition summary new.

This is example of nutrition summary of frozen lasagna.


Nutrition Facts
2 servings per recipe
Serving size 1 cup (227g)
Calories
Per serving
277
Per recipe
554
% DV* % DV*
Total Fat 9g 12% 18g 23%
Saturated Fat 4.5g 23% 9g 45%
Trans Fat 0g 0g
Cholesterol 35mg 12% 70mg 23%
Sodium 850mg 37% 1700mg 74%
Total Carb. 34g 12% 68g 25%
Dietary Fiber 4g 14% 8g 29%
Total Sugars 6g 12g
Incl. Added Sugars 0g 0% 0g 0%
Protein 15g 30% 30g 60%
Vitamin D 0mcg 0% 0mcg 0%
Calcium 320mg 25% 640mg 49%
Iron 1.6mg 9% 3.2mg 18%
Potassium 510mg 11% 1020mg 22%
* The % Daily Value (DV) tells you how much a nutrient in a serving of food contributes to a daily diet. 2,000 calories a day is used for general nutrition advice.
{{Nutrition summary new/2c
|servings      =2
|servingsize   =1 cup (227g)
|totalfat      =9
|saturatedfat  =4.5
|transfat      =0
|cholesterol   =35
|sodium        =850
|carbohydrates =34
|dietaryfiber  =4
|totalsugars   =6
|addedsugars   =0
|protein       =15
|vitamind      =0
|calcium       =320
|iron          =1.6
|potassium     =510
}}

The following template is the shorter form:


Nutrition Facts
2 servings per recipe
Serving size 1 cup (227g)
Calories
Per serving
277
Per recipe
554
% DV* % DV*
Total Fat 9g 12% 18g 23%
Saturated Fat 4.5g 23% 9g 45%
Trans Fat 0g 0g
Cholesterol 35mg 12% 70mg 23%
Sodium 850mg 37% 1700mg 74%
Total Carb. 34g 12% 68g 25%
Dietary Fiber 4g 14% 8g 29%
Total Sugars 6g 12g
Incl. Added Sugars 0g 0% 0g 0%
Protein 15g 30% 30g 60%
Vitamin D 0mcg 0% 0mcg 0%
Calcium 320mg 25% 640mg 49%
Iron 1.6mg 9% 3.2mg 18%
Potassium 510mg 11% 1020mg 22%
* The % Daily Value (DV) tells you how much a nutrient in a serving of food contributes to a daily diet. 2,000 calories a day is used for general nutrition advice.
{{Nutrition summary new/2c|2|1 cup (227g)|9|4.5|0|35|850|34|4|6|0|15|0|320|1.6|510}}

See also

edit


No description.

Template parameters

ParameterDescriptionTypeStatus
Number of servingsservings 1

Number of servings in a recipe

Example
4
Numberrequired
Serving sizeservingsize 2

Serving size of a recipe

Example
1 cup (250 g)
Stringrequired
Total Fattotalfat 3 fat

Amount of total fat per serving in a recipe in grams

Example
10
Numberrequired
Saturated Fatsaturatedfat 4 saturated satfat

Amount of saturated fat per serving in a recipe in grams

Example
5
Numberrequired
Trans Fattransfat 5

Amount of trans fat per serving in a recipe in grams

Example
0.5
Numberrequired
Cholesterolcholesterol 6

Amount of cholesterol per serving in a recipe in milligrams

Example
50
Numberrequired
Sodiumsodium 7

Amount of sodium per serving in a recipe in milligrams

Example
500
Numberrequired
Total Carbohydratestotalcarbohydrates carbohydrates totalcarbs carbs 8

Amount of total carbohydrates per serving in a recipe in grams

Example
20
Numberrequired
Dietary Fiberdietaryfiber 9 fiber dietaryfibre fibre

Amount of dietary fiber per serving in a recipe in grams

Example
5
Numberrequired
Total Sugarstotalsugars 10 sugars totalsugar sugar

Amount of total sugars per serving in a recipe in grams

Example
5
Numberrequired
Added Sugarsaddedsugars 11 addedsugar

Amount of added sugars per serving in a recipe in grams

Example
2
Numberrequired
Proteinprotein 12

Amount of protein per serving in a recipe in grams

Example
10
Numberrequired
Vitamin Dvitamind 13 vitd

Amount of vitamin D per serving in a recipe in micrograms

Example
5
Numberrequired
Calciumcalcium 14

Amount of calcium per serving in a recipe in milligrams

Example
200
Numberrequired
Ironiron 15

Amount of iron per serving in a recipe in milligrams

Example
5
Numberrequired
Potassiumpotassium 16

Amount of potassium per serving in a recipe in milligrams

Example
500
Numberrequired