Difference between revisions of "Template:Infobox nutrition facts"
Jump to navigation
Jump to search
(hyphenate compound adjective ("2,000-calorie diet")) |
imported>WOSlinker (tidy style for better HTML5 compatibility) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| class="infobox" style="width: 20em; text-align: left; font-size: 95%; padding-left:5px; padding-right:5px;" | <includeonly>{| class="infobox" style="width: 20em; text-align: left; font-size: 95%; padding-left:5px; padding-right:5px;" | ||
− | |+ style="background:#00CCFF; font-size: 150% | + | |+ style="background:#00CCFF; font-size: 150%; text-align:center;" colspan="4" | '''Nutrition facts''' |
|- | |- | ||
− | | colspan="4" | Serving | + | | colspan="4" | Serving size {{{serv_size_us}}} ({{{serv_size_met}}}) |
|- | |- | ||
− | | colspan="4" | Servings | + | | colspan="4" | Servings per container {{{#_servings}}} |
|- | |- | ||
| colspan="4" style="background:#000000;" | | | colspan="4" style="background:#000000;" | | ||
|- | |- | ||
− | | colspan="4" | <small>'''Amount | + | | colspan="4" | <small>'''Amount per serving'''</small> |
|- | |- | ||
− | | colspan="2" | '''Calories''' {{{calories}}} || colspan="2" | + | | colspan="2" | '''Calories''' {{{calories}}} || colspan="2" style="text-align:right;" | Calories from fat {{{cal_from_fat}}} |
|- | |- | ||
| colspan="4" style="background:#000000;" | | | colspan="4" style="background:#000000;" | | ||
|- | |- | ||
− | | colspan="4" style="text-align:right;" | '''% Daily | + | | colspan="4" style="text-align:right;" | '''% Daily value*''' |
|- | |- | ||
− | | colspan="3" | '''Total | + | | colspan="3" | '''Total fat''' {{{total_fat_g}}} g || style="text-align:right;" | '''{{ #expr: ({{{total_fat_g}}}/65)*100 round 0 }}%''' |
|- | |- | ||
− | | colspan="3" | Saturated | + | | colspan="3" | Saturated fat {{{sat_fat_g}}} g || style="text-align:right;" | '''{{ #expr: ({{{sat_fat_g}}}/20)*100 round 0 }}%''' |
|- | |- | ||
− | | colspan="4" | ''Trans'' | + | | colspan="4" | ''Trans'' fat {{{trans_fat_g}}} g |
|- | |- | ||
| colspan="3" | '''Cholesterol''' {{{cholesterol_mg}}} mg || style="text-align:right;" | '''{{ #expr: ({{{cholesterol_mg}}}/300)*100 round 0 }}%''' | | colspan="3" | '''Cholesterol''' {{{cholesterol_mg}}} mg || style="text-align:right;" | '''{{ #expr: ({{{cholesterol_mg}}}/300)*100 round 0 }}%''' | ||
Line 28: | Line 28: | ||
| colspan="3" | '''Potassium''' {{{potassium_mg}}} mg || style="text-align:right;" | '''{{ #expr: ({{{potassium_mg}}}/3600)*100 round 0 }}%''' | | colspan="3" | '''Potassium''' {{{potassium_mg}}} mg || style="text-align:right;" | '''{{ #expr: ({{{potassium_mg}}}/3600)*100 round 0 }}%''' | ||
|- | |- | ||
− | | colspan="3" | '''Total | + | | colspan="3" | '''Total carbohydrate''' {{{carb_g}}} g || style="text-align:right;" | '''{{ #expr: ({{{carb_g}}}/300)*100 round 0 }}%''' |
|- | |- | ||
− | | colspan="3" | Dietary | + | | colspan="3" | Dietary fiber {{{fiber_g}}} g || style="text-align:right;" | '''{{ #expr: ({{{fiber_g}}}/250)*100 round 0 }}%''' |
|- | |- | ||
| colspan="4" | Sugars {{{sugars_g}}} g | | colspan="4" | Sugars {{{sugars_g}}} g | ||
Line 38: | Line 38: | ||
| colspan="4" style="background:#000000;" | | | colspan="4" style="background:#000000;" | | ||
|- | |- | ||
− | | Vitamin A || | + | | Vitamin A || style="text-align:right;" | '''{{{vit_a}}}%''' || Vitamin C || style="text-align:right;" | '''{{{vit_c}}}%''' |
|- | |- | ||
− | | Calcium || | + | | Calcium || style="text-align:right;" | '''{{{calcium}}}%''' || Iron || style="text-align:right;" | '''{{{iron}}}%''' |
|- | |- | ||
| colspan="4" style="background:#000000;" | | | colspan="4" style="background:#000000;" | | ||
|- | |- | ||
− | | colspan="4" | <small><nowiki>*</nowiki>Percent | + | | colspan="4" | <small><nowiki>*</nowiki>Percent daily values are based on a 2,000‑calorie diet. Your daily values may be higher or lower depending on your calorie needs.</small> |
− | |}</includeonly><noinclude>{{warning|'''This template has been deprecated in favor of [[Template: | + | |}</includeonly><noinclude>{{warning|'''This template has been deprecated in favor of [[Template:Infobox nutritional value]].'''}}</noinclude> |
Latest revision as of 21:32, 26 June 2015
![]() | This template has been deprecated in favor of Template:Infobox nutritional value. |