Revision as of 19:43, 24 February 2008 by imported>Robert W King
Nutrition Facts
|
Serving Size {{{servingsize}}} ({{{grams}}} g)
|
Servings Per Container {{{percontainer}}}
|
|
Amount Per Serving
|
Calories {{{calories}}}
|
Calories from Fat {{{fromfat}}}
|
|
% Daily Value*
|
Total Fat {{{totalfat}}}g
|
{{{percenttotalfat}}}%
|
Saturated Fat {{{satfat}}}g
|
{{{percentsatfat}}}%
|
Cholesterol {{{cholesterol}}}mg
|
{{{percentcholesterol}}}%
|
Sodium {{{sodium}}}mg
|
{{{percentsodium}}}%
|
Total Carbohydrate {{{carbs}}}g
|
{{{percentcarbs}}}%
|
Dietary Fiber {{{fiber}}}g
|
{{{percentfiber}}}%
|
Sugars {{{sugar}}}g
|
Protein {{{protein}}}g
|
|
Vitamin A {{{A}}}%
|
•
|
Vitamin C {{{C}}}%
|
Calcium {{{calcium}}}%
|
•
|
Iron {{{iron}}}%
|
|
Template Description
Nutrition Facts label based on this site at okstate.edu
Execution
use
{{nutrition
|align=the side you want it on
|servingsize= how many servings for each unit?
|percontainer= how many servings in the total container
|grams= how many grams per serving
|calories= number of calories
|fromfat= calories from fat
|totalfat= total fat
|percenttotalfat= percentage of total fat
|satfat= saturated fat
|percentsatfat= percentage of saturated fat
|cholesterol= cholesterol
|percentcholesterol= percentage of cholesterol
|sodium= sodium
|percentsodium= percentage of sodium
|carbs= carbohydrates
|percentcarbs= percent of carbs
|fiber= dietary fibers
|percentfiber= percent of dietary fiber
|sugar= sugar in grams
|protein= protein in grams
|A= vitamin A percent
|C= vitamin C percent
|calcium= percent calcium
|iron= percent iron
}}
Sample
Nutrition Facts
|
Serving Size 2 pieces (3 g)
|
Servings Per Container 1000
|
|
Amount Per Serving
|
Calories 5
|
Calories from Fat 100
|
|
% Daily Value*
|
Total Fat 13g
|
20%
|
Saturated Fat 5g
|
10%
|
Cholesterol 30mg
|
10%
|
Sodium 660mg
|
28%
|
Total Carbohydrate 31g
|
10%
|
Dietary Fiber 0g
|
0%
|
Sugars 5g
|
Protein 5g
|
|
Vitamin A 4%
|
•
|
Vitamin C 2%
|
Calcium 15%
|
•
|
Iron 4%
|
|
Caveats
does not yet include logic to add or remove sections of the label as of 2008-02-24
Authors
--Robert W King 18:41, 24 February 2008 (CST)