Template:Nutrition summary new/2c/doc
This is a documentation subpage for Template:Nutrition summary new/2c It may contain usage information, categories and other content that is not part of the original template page. |
Usage
editThis 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Number of servings | servings 1 | Number of servings in a recipe
| Number | required |
Serving size | servingsize 2 | Serving size of a recipe
| String | required |
Total Fat | totalfat 3 fat | Amount of total fat per serving in a recipe in grams
| Number | required |
Saturated Fat | saturatedfat 4 saturated satfat | Amount of saturated fat per serving in a recipe in grams
| Number | required |
Trans Fat | transfat 5 | Amount of trans fat per serving in a recipe in grams
| Number | required |
Cholesterol | cholesterol 6 | Amount of cholesterol per serving in a recipe in milligrams
| Number | required |
Sodium | sodium 7 | Amount of sodium per serving in a recipe in milligrams
| Number | required |
Total Carbohydrates | totalcarbohydrates carbohydrates totalcarbs carbs 8 | Amount of total carbohydrates per serving in a recipe in grams
| Number | required |
Dietary Fiber | dietaryfiber 9 fiber dietaryfibre fibre | Amount of dietary fiber per serving in a recipe in grams
| Number | required |
Total Sugars | totalsugars 10 sugars totalsugar sugar | Amount of total sugars per serving in a recipe in grams
| Number | required |
Added Sugars | addedsugars 11 addedsugar | Amount of added sugars per serving in a recipe in grams
| Number | required |
Protein | protein 12 | Amount of protein per serving in a recipe in grams
| Number | required |
Vitamin D | vitamind 13 vitd | Amount of vitamin D per serving in a recipe in micrograms
| Number | required |
Calcium | calcium 14 | Amount of calcium per serving in a recipe in milligrams
| Number | required |
Iron | iron 15 | Amount of iron per serving in a recipe in milligrams
| Number | required |
Potassium | potassium 16 | Amount of potassium per serving in a recipe in milligrams
| Number | required |