Difference between revisions of "Template:Infobox nutrition facts"

From blackwiki
Jump to navigation Jump to search
(hyphenate compound adjective ("2,000-calorie diet"))
imported>Smjg
m (caP)
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%" align="center" colspan="4" | '''Nutrition Facts'''
+
|+ style="background:#00CCFF; font-size: 150%" align="center" colspan="4" | '''Nutrition facts'''
 
|-
 
|-
| colspan="4" | Serving Size {{{serv_size_us}}} ({{{serv_size_met}}})
+
| colspan="4" | Serving size {{{serv_size_us}}} ({{{serv_size_met}}})
 
|-
 
|-
| colspan="4" | Servings Per Container {{{#_servings}}}
+
| colspan="4" | Servings per container {{{#_servings}}}
 
|-
 
|-
 
| colspan="4" style="background:#000000;" |
 
| colspan="4" style="background:#000000;" |
 
|-
 
|-
| colspan="4" | <small>'''Amount Per Serving'''</small>
+
| colspan="4" | <small>'''Amount per serving'''</small>
 
|-  
 
|-  
| colspan="2" | '''Calories''' {{{calories}}} || colspan="2" align="right" | Calories from Fat {{{cal_from_fat}}}
+
| colspan="2" | '''Calories''' {{{calories}}} || colspan="2" align="right" | Calories from fat {{{cal_from_fat}}}
 
|-
 
|-
 
| colspan="4" style="background:#000000;" |
 
| colspan="4" style="background:#000000;" |
 
|-
 
|-
| colspan="4" style="text-align:right;" | '''%&nbsp;Daily&nbsp;Value*'''
+
| colspan="4" style="text-align:right;" | '''%&nbsp;Daily value*'''
 
|-
 
|-
| colspan="3" | '''Total Fat''' {{{total_fat_g}}} g || style="text-align:right;" | '''{{ #expr: ({{{total_fat_g}}}/65)*100 round 0 }}%'''
+
| colspan="3" | '''Total fat''' {{{total_fat_g}}} g || style="text-align:right;" | '''{{ #expr: ({{{total_fat_g}}}/65)*100 round 0 }}%'''
 
|-
 
|-
| colspan="3" | &nbsp;&nbsp;&nbsp;Saturated Fat {{{sat_fat_g}}} g || style="text-align:right;" | '''{{ #expr: ({{{sat_fat_g}}}/20)*100 round 0 }}%'''
+
| colspan="3" | &nbsp;&nbsp;&nbsp;Saturated fat {{{sat_fat_g}}} g || style="text-align:right;" | '''{{ #expr: ({{{sat_fat_g}}}/20)*100 round 0 }}%'''
 
|-
 
|-
| colspan="4" | &nbsp;&nbsp;&nbsp;''Trans'' Fat {{{trans_fat_g}}} g
+
| colspan="4" | &nbsp;&nbsp;&nbsp;''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 Carbohydrate''' {{{carb_g}}} g || style="text-align:right;" | '''{{ #expr: ({{{carb_g}}}/300)*100 round 0 }}%'''
+
| colspan="3" | '''Total carbohydrate''' {{{carb_g}}} g || style="text-align:right;" | '''{{ #expr: ({{{carb_g}}}/300)*100 round 0 }}%'''
 
|-
 
|-
| colspan="3" | &nbsp;&nbsp;&nbsp;Dietary Fiber {{{fiber_g}}} g || style="text-align:right;" | '''{{ #expr: ({{{fiber_g}}}/250)*100 round 0 }}%'''
+
| colspan="3" | &nbsp;&nbsp;&nbsp;Dietary fiber {{{fiber_g}}} g || style="text-align:right;" | '''{{ #expr: ({{{fiber_g}}}/250)*100 round 0 }}%'''
 
|-
 
|-
 
| colspan="4" | &nbsp;&nbsp;&nbsp;Sugars {{{sugars_g}}} g
 
| colspan="4" | &nbsp;&nbsp;&nbsp;Sugars {{{sugars_g}}} g
Line 44: Line 44:
 
| colspan="4" style="background:#000000;" |
 
| colspan="4" style="background:#000000;" |
 
|-
 
|-
| 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>
+
| 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:Nutritional value]].'''}}</noinclude>
 
|}</includeonly><noinclude>{{warning|'''This template has been deprecated in favor of [[Template:Nutritional value]].'''}}</noinclude>

Revision as of 23:48, 1 May 2010