Template:Nutritional value: Difference between revisions
Jump to navigation
Jump to search
AndrzejLKS (talk | contribs) (Created page with "{{Infobox | bodyclass = nowrap | bodystyle = {{#if:{{{float|}}} |float:{{#switch:{{{float|}}} |left=left;margin-left:0;margin-right:1.0em |center=none;margin-left:auto;margin-...") |
AndrzejLKS (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 11: | Line 11: | ||
<!--------------------------------- Energy ------------------------------------> | <!--------------------------------- Energy ------------------------------------> | ||
| label5 = | | label5 = Energy | ||
| data5 = {{#if:{{{kJ|}}} |{{convert|{{{kJ}}}|kJ|kcal|abbr=on}} |{{#if:{{{kcal|}}}|{{convert|{{{kcal}}}|kcal|kJ|abbr=on}}}} }} | | data5 = {{#if:{{{kJ|}}} |{{convert|{{{kJ}}}|kJ|kcal|abbr=on}} |{{#if:{{{kcal|}}}|{{convert|{{{kcal}}}|kcal|kJ|abbr=on}}}} }} | ||
Line 23: | Line 23: | ||
| data1 = {{#if:{{{carbs|}}} |<div style="position:relative;left:-0.65em;">{{{carbs}}}</div> | | data1 = {{#if:{{{carbs|}}} |<div style="position:relative;left:-0.65em;">{{{carbs}}}</div> | ||
| {{#if:{{{starch|}}}{{{sugars|}}}{{{lactose|}}}{{{fiber|}}}{{{fibre|}}} | }} }} | | {{#if:{{{starch|}}}{{{sugars|}}}{{{lactose|}}}{{{fiber|}}}{{{fibre|}}} | }} }} | ||
| label2 = | | label2 = Starch | ||
| data2 = {{{starch|}}} | | data2 = {{{starch|}}} | ||
| label3 = | | label3 = Sugars {{#if:{{{lactose|}}} |<div style="padding-left:0.65em;padding-top:0.25em;font-weight:normal;">[[lactose]]</div>}} | ||
| data3 = {{{sugars|}}} {{#if:{{{lactose|}}} |<div style="padding-left:0.65em;padding-top:0.25em;">{{{lactose}}}</div>}} | | data3 = {{{sugars|}}} {{#if:{{{lactose|}}} |<div style="padding-left:0.65em;padding-top:0.25em;">{{{lactose}}}</div>}} | ||
| label4 = | | label4 = Dietary fiber | ||
| data4 = {{{fiber|}}} | | data4 = {{{fiber|}}} | ||
| label5 = | | label5 = Dietary fibre | ||
| data5 = {{{fibre|}}} | | data5 = {{{fibre|}}} | ||
}} }} | }} }} | ||
Line 39: | Line 39: | ||
|labelstyle=padding-left:0.65em;line-height:1.1em;font-weight:normal;padding-right:0.25em; | |labelstyle=padding-left:0.65em;line-height:1.1em;font-weight:normal;padding-right:0.25em; | ||
|datastyle=vertical-align:middle;padding-left:0.65em;line-height:1.1em; | |datastyle=vertical-align:middle;padding-left:0.65em;line-height:1.1em; | ||
| label1 = <div style="position:relative;left:-0.65em;">''' | | label1 = <div style="position:relative;left:-0.65em;">'''Fat'''</div> | ||
| data1 = {{#if:{{{fat|}}} |<div style="position:relative;left:-0.65em;">{{{fat}}}</div> | | data1 = {{#if:{{{fat|}}} |<div style="position:relative;left:-0.65em;">{{{fat}}}</div> | ||
| {{#if:{{{satfat|}}}{{{transfat|}}}{{{monofat|}}}{{{polyfat|}}}{{{omega3fat|}}}{{{omega6fat|}}} | }} }} | | {{#if:{{{satfat|}}}{{{transfat|}}}{{{monofat|}}}{{{polyfat|}}}{{{omega3fat|}}}{{{omega6fat|}}} | }} }} | ||
| label2 = | | label2 = Saturated | ||
| data2 = {{{satfat|}}} | | data2 = {{{satfat|}}} | ||
| label3 = | | label3 = Trans | ||
| data3 = {{{transfat|}}} | | data3 = {{{transfat|}}} | ||
| label4 = | | label4 = Monounsaturated | ||
| data4 = {{{monofat|}}} | | data4 = {{{monofat|}}} | ||
| label5 = | | label5 = Polyunsaturated<!-- | ||
-->{{#if:{{{omega3fat|}}} |<div style="padding-left:0.65em;padding-top:0.25em;font-weight:normal;"> | -->{{#if:{{{omega3fat|}}} |<div style="padding-left:0.65em;padding-top:0.25em;font-weight:normal;">omega‑3</div>}}<!-- | ||
-->{{#if:{{{omega6fat|}}} |<div style="padding-left:0.65em;padding-top:0.25em;font-weight:normal;"> | -->{{#if:{{{omega6fat|}}} |<div style="padding-left:0.65em;padding-top:0.25em;font-weight:normal;">omega‑6</div>}} | ||
| data5 = {{{polyfat|}}}<!-- | | data5 = {{{polyfat|}}}<!-- | ||
-->{{#if:{{{omega3fat|}}} |<div style="padding-left:0.65em;padding-top:0.25em;">{{{omega3fat}}}</div>}}<!-- | -->{{#if:{{{omega3fat|}}} |<div style="padding-left:0.65em;padding-top:0.25em;">{{{omega3fat}}}</div>}}<!-- | ||
Line 62: | Line 62: | ||
|labelstyle=padding-left:0.65em;line-height:1.1em;font-weight:normal;padding-right:0.25em; | |labelstyle=padding-left:0.65em;line-height:1.1em;font-weight:normal;padding-right:0.25em; | ||
|datastyle=vertical-align:middle;padding-left:0.65em;line-height:1.1em; | |datastyle=vertical-align:middle;padding-left:0.65em;line-height:1.1em; | ||
| label1 = <div style="position:relative;left:-0.65em;">''' | | label1 = <div style="position:relative;left:-0.65em;">'''Protein'''</div> | ||
| data1 = {{#if:{{{protein|}}} |<div style="position:relative;left:-0.65em;">{{{protein}}}</div> | | data1 = {{#if:{{{protein|}}} |<div style="position:relative;left:-0.65em;">{{{protein}}}</div> | ||
| {{#if:{{{tryptophan|}}}{{{threonine|}}}{{{isoleucine|}}}{{{leucine|}}}{{{lysine|}}}{{{methionine|}}}{{{cystine|}}}{{{phenylalanine|}}}{{{tyrosine|}}}{{{valine|}}}{{{arginine|}}}{{{histidine|}}}{{{alanine|}}}{{{aspartic acid|}}}{{{glutamic acid|}}}{{{glycine|}}}{{{proline|}}}{{{serine|}}}{{{hydroxyproline|}}} | }} }} | | {{#if:{{{tryptophan|}}}{{{threonine|}}}{{{isoleucine|}}}{{{leucine|}}}{{{lysine|}}}{{{methionine|}}}{{{cystine|}}}{{{phenylalanine|}}}{{{tyrosine|}}}{{{valine|}}}{{{arginine|}}}{{{histidine|}}}{{{alanine|}}}{{{aspartic acid|}}}{{{glutamic acid|}}}{{{glycine|}}}{{{proline|}}}{{{serine|}}}{{{hydroxyproline|}}} | }} }} | ||
| label2= | | label2=Tryptophan |data2={{{tryptophan|}}} | ||
| label3= | | label3=Threonine |data3={{{threonine|}}} | ||
| label4= | | label4=Isoleucine |data4={{{isoleucine|}}} | ||
| label5= | | label5=Leucine |data5={{{leucine|}}} | ||
| label6= | | label6=Lysine |data6={{{lysine|}}} | ||
| label7= | | label7=Methionine |data7={{{methionine|}}} | ||
| label8= | | label8=Cystine |data8={{{cystine|}}} | ||
| label9= | | label9=Phenylalanine |data9={{{phenylalanine|}}} | ||
| label10= | | label10=Tyrosine |data10={{{tyrosine|}}} | ||
| label11= | | label11=Valine |data11={{{valine|}}} | ||
| label12= | | label12=Arginine |data12={{{arginine|}}} | ||
| label13= | | label13=Histidine |data13={{{histidine|}}} | ||
| label14= | | label14=Alanine |data14={{{alanine|}}} | ||
| label15= | | label15=Aspartic acid |data15={{{aspartic acid|}}} | ||
| label16= | | label16=Glutamic acid |data16={{{glutamic acid|}}} | ||
| label17= | | label17=Glycine |data17={{{glycine|}}} | ||
| label18= | | label18=Proline |data18={{{proline|}}} | ||
| label19= | | label19=Serine |data19={{{serine|}}} | ||
| label20= | | label20=Hydroxyproline |data20={{{hydroxyproline|}}} | ||
}} }} | }} }} | ||
Line 94: | Line 94: | ||
|datastyle=vertical-align:middle;padding-left:0.65em;line-height:1.1em; | |datastyle=vertical-align:middle;padding-left:0.65em;line-height:1.1em; | ||
| label1 = <b style="margin-left:-0.65em>[[Vitamin]]s</b> | | label1 = <b style="margin-left:-0.65em>[[Vitamin]]s</b> | ||
| data1 = '''Quantity''' {{align|right|{{abbr|'''%DV'''|Percentage of Daily Value}} | | data1 = '''Quantity''' {{align|right|{{abbr|'''%DV'''|Percentage of Daily Value}}}} | ||
| label2 = [[Vitamin A|Vitamin A equiv.]]<!-- | | label2 = [[Vitamin A|Vitamin A equiv.]]<!-- | ||
Line 161: | Line 161: | ||
|datastyle=vertical-align:middle;padding-left:0.65em;line-height:1.1em; | |datastyle=vertical-align:middle;padding-left:0.65em;line-height:1.1em; | ||
| label1 = <b style="margin-left:-0.65em>[[Mineral (nutrient)|Minerals]]</b> | | label1 = <b style="margin-left:-0.65em>[[Mineral (nutrient)|Minerals]]</b> | ||
| data1 = '''Quantity''' {{align|right|{{abbr|'''%DV'''|Percentage of Daily Value}} | | data1 = '''Quantity''' {{align|right|{{abbr|'''%DV'''|Percentage of Daily Value}}}} | ||
| label2 = [[Calcium in biology#Humans|Calcium]] | | label2 = [[Calcium in biology#Humans|Calcium]] | ||
Line 227: | Line 227: | ||
* IU = [[International unit]]s | * IU = [[International unit]]s | ||
</div> | </div> | ||
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox nutritional value with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox nutritional value]] with unknown parameter "_VALUE_"|ignoreblank=y| alanine | alcohol | arginine | aspartic acid | belowstyle | betacarotene_ug | caffeine | calcium_mg | caption | carbs | cholesterol | choline_mg | copper_mg | cystine | fat | fiber | fibre | float | folate_ug | glutamic acid | glycine | histidine | hydroxyproline | image | image_alt | image_size | iron_mg | isoleucine | kcal | kJ | lactose | leucine | lutein_ug | lysine | magnesium_mg | manganese_mg | methionine | monofat | name | niacin_mg | noRDA | note | notes | omega3fat | omega6fat | opt1n | opt1v | opt2n | opt2v | opt3n | opt3v | opt4n | opt4v | pantothenic_mg | phenylalanine | phosphorus_mg | polyfat | potassium_mg | proline | protein | riboflavin_mg | satfat | selenium_ug | serine | serving_size | sodium_mg | source | source_usda | source_USDA | starch | sugars | thiamin_mg | threonine | transfat | tryptophan | tyrosine | valine | vitA_asbeta_iu | vitA_iu | vitA_ug | vitB6_mg | vitB12_ug | vitC_mg | vitD_iu | vitD_ug | vitE_iu | vitE_mg | vitK_ug | water | zinc_mg }}<noinclude>{{documentation}}</noinclude> | }}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox nutritional value with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox nutritional value]] with unknown parameter "_VALUE_"|ignoreblank=y| alanine | alcohol | arginine | aspartic acid | belowstyle | betacarotene_ug | caffeine | calcium_mg | caption | carbs | cholesterol | choline_mg | copper_mg | cystine | fat | fiber | fibre | float | folate_ug | glutamic acid | glycine | histidine | hydroxyproline | image | image_alt | image_size | iron_mg | isoleucine | kcal | kJ | lactose | leucine | lutein_ug | lysine | magnesium_mg | manganese_mg | methionine | monofat | name | niacin_mg | noRDA | note | notes | omega3fat | omega6fat | opt1n | opt1v | opt2n | opt2v | opt3n | opt3v | opt4n | opt4v | pantothenic_mg | phenylalanine | phosphorus_mg | polyfat | potassium_mg | proline | protein | riboflavin_mg | satfat | selenium_ug | serine | serving_size | sodium_mg | source | source_usda | source_USDA | starch | sugars | thiamin_mg | threonine | transfat | tryptophan | tyrosine | valine | vitA_asbeta_iu | vitA_iu | vitA_ug | vitB6_mg | vitB12_ug | vitC_mg | vitD_iu | vitD_ug | vitE_iu | vitE_mg | vitK_ug | water | zinc_mg }}<noinclude>{{documentation}}</noinclude> |
Latest revision as of 22:41, 18 March 2023
|