Template:Nutrition summary new/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.

This template is intended to be used in recipes with 4 or more, or single servings. For two- or three-serving recipes, see the double-column template, Template:Nutrition summary new/2c.

This is example of nutrition summary of frozen lasagna.


Nutrition Facts
4 servings per recipe
Serving size 1 cup (227g)
Amount per serving
Calories
277
% Daily Value*
Total Fat 9g 12%
Saturated Fat 4.5g 23%
Trans Fat 0g
Cholesterol 35mg 12%
Sodium 850mg 37%
Total Carbohydrates 34g 12%
Dietary Fiber 4g 14%
Total Sugars 6g
Includes 0g Added Sugars 0%
Protein 15g 30%
Vitamin D 0mcg 0%
Calcium 320mg 25%
Iron 1.6mg 9%
Potassium 510mg 11%
* 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
|servings      =4
|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
4 servings per recipe
Serving size 1 cup (227g)
Amount per serving
Calories
277
% Daily Value*
Total Fat 9g 12%
Saturated Fat 4.5g 23%
Trans Fat 0g
Cholesterol 35mg 12%
Sodium 850mg 37%
Total Carbohydrates 34g 12%
Dietary Fiber 4g 14%
Total Sugars 6g
Includes 0g Added Sugars 0%
Protein 15g 30%
Vitamin D 0mcg 0%
Calcium 320mg 25%
Iron 1.6mg 9%
Potassium 510mg 11%
* 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|4|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