<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://www.vigyanwiki.in/index.php?action=history&amp;feed=atom&amp;title=Template%3AInfobox_nutritional_value%2Fdoc</id>
	<title>Template:Infobox nutritional value/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.vigyanwiki.in/index.php?action=history&amp;feed=atom&amp;title=Template%3AInfobox_nutritional_value%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://www.vigyanwiki.in/index.php?title=Template:Infobox_nutritional_value/doc&amp;action=history"/>
	<updated>2026-04-30T15:11:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://www.vigyanwiki.in/index.php?title=Template:Infobox_nutritional_value/doc&amp;diff=42443&amp;oldid=prev</id>
		<title>Admin: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://www.vigyanwiki.in/index.php?title=Template:Infobox_nutritional_value/doc&amp;diff=42443&amp;oldid=prev"/>
		<updated>2022-12-14T04:22:06Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:52, 14 December 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en-GB&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://www.vigyanwiki.in/index.php?title=Template:Infobox_nutritional_value/doc&amp;diff=42441&amp;oldid=prev</id>
		<title>wikipedia&gt;Shkuru Afshar at 07:06, 5 January 2022</title>
		<link rel="alternate" type="text/html" href="https://www.vigyanwiki.in/index.php?title=Template:Infobox_nutritional_value/doc&amp;diff=42441&amp;oldid=prev"/>
		<updated>2022-01-05T07:06:50Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{intricate template}}&amp;lt;/includeonly&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This is the {{tl|infobox nutritional value}} template.&lt;br /&gt;
&lt;br /&gt;
=== Basic usage ===&lt;br /&gt;
&amp;lt;pre style=&amp;quot;overflow: auto&amp;quot;&amp;gt;&lt;br /&gt;
{{Infobox nutritional value&lt;br /&gt;
| name    = &lt;br /&gt;
| kJ      = &lt;br /&gt;
| carbs   = &lt;br /&gt;
| fat     = &lt;br /&gt;
| protein = &lt;br /&gt;
| note    = &lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
&lt;br /&gt;
* '''Required fields''': ''name'', ''kJ'', ''carbs'', ''fat'', ''protein''. You must state the units of measurement that are being used, except for kJ, which is in [[kilojoule]]s (1 Calorie = 1 kcal = 4.2 kJ). The units are usually expressed in [[gram]]s (g), for example: {{para|fat|&amp;lt;var&amp;gt;3 g&amp;lt;/var&amp;gt;}}.&lt;br /&gt;
** '''Note''': To specify energy in [[calorie|kcal]] rather than kJ, use ''kcal'' instead.&lt;br /&gt;
* '''Optional fields''': ''image'', ''caption'', ''serving_size'', ''sugars'', ''lactose'', ''satfat'', ''transfat'', ''monofat'', ''polyfat'', ''omega3fat'', ''omega6fat'', ''fibre'', ''starch'', ''water'', ''cholesterol'', ''alcohol'' and ''caffeine''. Again, you must state the units that are being used.&lt;br /&gt;
* '''Contributor defined fields''': Additional fields can be added using the ''opt1n'' and ''opt1v'' fields, where ''n'' is for name and ''v'' is for value. Up to four optional fields are supported, ''opt1n'' &amp;amp; ''opt1v'' up to ''opt4n'' &amp;amp; ''opt4v''.&lt;br /&gt;
&lt;br /&gt;
;The following optional variables are converted into percentages of RDA (taken as averages for males and females aged 25–50 years from the USDA 2000 recommendation):&lt;br /&gt;
* '''Minerals''' (in mg) - ''calcium_mg'', ''copper_mg'', ''iron_mg'', ''phosphorus_mg'', ''magnesium_mg'', ''manganese_mg'', ''selenium_ug'', ''sodium_mg'', ''potassium_mg'', ''zinc_mg''. Write the number without the unit.&lt;br /&gt;
* '''Vitamins''' (in mg, μg, or international units) - ''vitA_ug'', ''vitA_iu'' (in IU), ''vitA_asbeta_iu'' (in IU), ''betacarotene_ug'' (subcategory of vitamin A!), ''thiamin_mg'' (vit. B&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;), ''riboflavin_mg'' (vit. B&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;), ''niacin_mg'' (vit. B&amp;lt;sub&amp;gt;3&amp;lt;/sub&amp;gt;), ''pantothenic_mg'' (pantothenic acid), ''vitB6_mg'', ''folate_ug'', ''vitB12_ug'', ''choline_mg'', ''vitC_mg'', ''vitD_ug'', ''vitD_iu'' (in IU), ''vitE_mg'', ''vitE_iu'', ''vitK_ug''. Write the number without the unit.&lt;br /&gt;
&lt;br /&gt;
; Other optional variables and flags:&lt;br /&gt;
* '''note''' - a convenient way to indicate serving sizes or edible parts, e.g., ''1 banana is 100 to 150'' g or other information.&lt;br /&gt;
* '''source''' - sets the data source of the information used in the template.&lt;br /&gt;
** '''source_usda''' - a ''1'' in this field will automatically set the source as the USDA database.&lt;br /&gt;
* '''noRDA''' - optional suppression of RDA message: noRDA=1&lt;br /&gt;
* '''float''' - {{para|float|left}} will cause the table to appear on the left side of the article, {{para|float|center}} for centered, and {{para|float|none}} to place it on the left, but without wrapping text around it. The default is {{para|float|right}}.&lt;br /&gt;
&lt;br /&gt;
; Additional notes:&lt;br /&gt;
* According to SI rules, there should be a non-breaking space between the number and the unit: &amp;quot;14&amp;amp;amp;nbsp;g&amp;quot; (which displays as &amp;quot;14&amp;amp;nbsp;g&amp;quot;) and not &amp;quot;14g&amp;quot;.&lt;br /&gt;
* Don't specify numbers in too many decimals.&lt;br /&gt;
* Splitting up components that are present in trace amounts is not very meaningful (e.g. 1.5 g fats of which 0.5 g unsaturated).&lt;br /&gt;
* Only vitamins and minerals for which this product is considered to be a good source should be included, in order to prevent clogging up the article with a huge table.&lt;br /&gt;
Nutritional values can be found in the [https://fdc.nal.usda.gov/index.html USDA's FoodData Central] (formerly National Nutrient Database). Note that fibres are counted as carbohydrates. Note also that the calculated energy value given in the USDA database sometimes includes 4 kcal per gram of fibre, which is not really correct, and it would be better for Wikipedia articles to exclude the fibre from the energy value. (The USDA [http://www.ars.usda.gov/sp2UserFiles/Place/12354500/Data/SR26/sr26_doc.pdf documentation] says, &amp;quot;For&lt;br /&gt;
multi-ingredient processed foods, kilocalorie values (source codes 8 or 9; ...) generally reflect industry practices (as&lt;br /&gt;
permitted by NLEA) of calculating kilocalories as 4, 4, or 9 kilocalories per gram of&lt;br /&gt;
protein, carbohydrate, and fat, respectively, or as 4, 4, or 9 kilocalories per gram of&lt;br /&gt;
protein, carbohydrate minus insoluble fiber, and fat. The latter method is often used for&lt;br /&gt;
high-fiber foods.&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
=== Full syntax ===&lt;br /&gt;
&amp;lt;pre style=&amp;quot;width: 40%; overflow: auto&amp;quot;&amp;gt;&lt;br /&gt;
{{Infobox nutritional value&lt;br /&gt;
| name            = &lt;br /&gt;
| image           = &amp;lt;!-- Filename is enough --&amp;gt;&lt;br /&gt;
| image_size      = &amp;lt;!-- Defaults to 235px --&amp;gt;&lt;br /&gt;
| image_alt       = &lt;br /&gt;
| caption         = &lt;br /&gt;
| serving_size    = &lt;br /&gt;
| kJ              = &lt;br /&gt;
| carbs           = &lt;br /&gt;
| starch          = &lt;br /&gt;
| sugars          = &lt;br /&gt;
| lactose         = &lt;br /&gt;
| fibre           = &amp;lt;!-- or |fiber= --&amp;gt;&lt;br /&gt;
| fat             = &lt;br /&gt;
| satfat          = &lt;br /&gt;
| transfat        = &lt;br /&gt;
| monofat         = &lt;br /&gt;
| polyfat         = &lt;br /&gt;
| omega3fat       = &lt;br /&gt;
| omega6fat       = &lt;br /&gt;
| protein         = &lt;br /&gt;
| tryptophan      = &lt;br /&gt;
| threonine       = &lt;br /&gt;
| isoleucine      = &lt;br /&gt;
| leucine         = &lt;br /&gt;
| lysine          = &lt;br /&gt;
| methionine      = &lt;br /&gt;
| cystine         = &lt;br /&gt;
| phenylalanine   = &lt;br /&gt;
| tyrosine        = &lt;br /&gt;
| valine          = &lt;br /&gt;
| arginine        = &lt;br /&gt;
| histidine       = &lt;br /&gt;
| alanine         = &lt;br /&gt;
| aspartic acid   = &lt;br /&gt;
| glutamic acid   = &lt;br /&gt;
| glycine         = &lt;br /&gt;
| proline         = &lt;br /&gt;
| serine          = &lt;br /&gt;
| hydroxyproline  = &lt;br /&gt;
| water           = &lt;br /&gt;
| cholesterol     = &lt;br /&gt;
| alcohol         = &lt;br /&gt;
| caffeine        = &lt;br /&gt;
| vitA_ug         = &lt;br /&gt;
| vitA_iu         = &lt;br /&gt;
| betacarotene_ug = &lt;br /&gt;
| lutein_ug       = &lt;br /&gt;
| thiamin_mg      = &lt;br /&gt;
| riboflavin_mg   = &lt;br /&gt;
| niacin_mg       = &lt;br /&gt;
| pantothenic_mg  = &lt;br /&gt;
| vitB6_mg        = &lt;br /&gt;
| folate_ug       = &lt;br /&gt;
| vitB12_ug       = &lt;br /&gt;
| choline_mg      = &lt;br /&gt;
| vitC_mg         = &lt;br /&gt;
| vitD_ug         = &lt;br /&gt;
| vitD_iu         = &lt;br /&gt;
| vitE_mg         = &lt;br /&gt;
| vitK_ug         = &lt;br /&gt;
| calcium_mg      = &lt;br /&gt;
| copper_mg       = &lt;br /&gt;
| iron_mg         = &lt;br /&gt;
| magnesium_mg    = &lt;br /&gt;
| manganese_mg    = &lt;br /&gt;
| phosphorus_mg   = &lt;br /&gt;
| potassium_mg    = &lt;br /&gt;
| selenium_ug     = &lt;br /&gt;
| sodium_mg       = &lt;br /&gt;
| zinc_mg         = &lt;br /&gt;
| opt1n           = &lt;br /&gt;
| opt1v           = &lt;br /&gt;
| opt2n           = &lt;br /&gt;
| opt2v           = &lt;br /&gt;
| opt3n           = &lt;br /&gt;
| opt3v           = &lt;br /&gt;
| opt4n           = &lt;br /&gt;
| opt4v           = &lt;br /&gt;
| note            = &lt;br /&gt;
| source          = &lt;br /&gt;
| source_usda     = &lt;br /&gt;
| noRDA           = &lt;br /&gt;
| float           = &lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&lt;br /&gt;
{{Infobox nutritional value&lt;br /&gt;
 | name      = Foonuts&lt;br /&gt;
 | kJ        = 2450&lt;br /&gt;
 | carbs     = 22 g&lt;br /&gt;
 | starch    = 8 g&lt;br /&gt;
 | sugars    = 5 g&lt;br /&gt;
 | lactose   = 1 g&lt;br /&gt;
 | fibre     = 9 g&lt;br /&gt;
 | fat       = 50 g&lt;br /&gt;
 | satfat    = 7 g&lt;br /&gt;
 | transfat  = 3 g&lt;br /&gt;
 | monofat   = 25 g&lt;br /&gt;
 | polyfat   = 16 g&lt;br /&gt;
 | omega3fat = 1 g&lt;br /&gt;
 | omega6fat = 2 g&lt;br /&gt;
 | protein   = 24 g&lt;br /&gt;
 | tryptophan      = 70 mg&lt;br /&gt;
 | threonine       = 490 mg&lt;br /&gt;
 | isoleucine      = 570 mg&lt;br /&gt;
 | leucine         = 920 mg&lt;br /&gt;
 | lysine          = 690 mg&lt;br /&gt;
 | methionine      = 200 mg&lt;br /&gt;
 | cystine         = 230 mg&lt;br /&gt;
 | phenylalanine   = 610 mg&lt;br /&gt;
 | tyrosine        = 380 mg&lt;br /&gt;
 | valine          = 750 mg&lt;br /&gt;
 | arginine        = 890 mg&lt;br /&gt;
 | histidine       = 250 mg&lt;br /&gt;
 | alanine         = 640 mg&lt;br /&gt;
 | aspartic acid   = 2.850 g&lt;br /&gt;
 | glutamic acid   = 2.260 g&lt;br /&gt;
 | glycine         = 780 mg&lt;br /&gt;
 | proline         = 2.310 g&lt;br /&gt;
 | serine          = 610 mg&lt;br /&gt;
 | hydroxyproline  = 0 mg&lt;br /&gt;
 | water     = 5 g&lt;br /&gt;
 | cholesterol = 2 mg&lt;br /&gt;
 | alcohol   = 1 g&lt;br /&gt;
 | caffeine  = 20 mg&lt;br /&gt;
 | vitA_ug         = 12&lt;br /&gt;
 | betacarotene_ug = 120&lt;br /&gt;
 | thiamin_mg      = 1&lt;br /&gt;
 | riboflavin_mg   = 2&lt;br /&gt;
 | niacin_mg       = 0.5&lt;br /&gt;
 | pantothenic_mg  = 0.1&lt;br /&gt;
 | vitB6_mg   = 1&lt;br /&gt;
 | folate_ug  = 1.5&lt;br /&gt;
 | vitB12_ug  = 0.5&lt;br /&gt;
 | vitC_mg    = 20&lt;br /&gt;
 | vitD_ug    = 10&lt;br /&gt;
 | vitE_mg    = 5&lt;br /&gt;
 | vitK_ug    = 10&lt;br /&gt;
 | calcium_mg    = 200&lt;br /&gt;
 | copper_mg     = 0.9&lt;br /&gt;
 | iron_mg       = 5&lt;br /&gt;
 | magnesium_mg  = 1.2&lt;br /&gt;
 | manganese_mg  = 1.2&lt;br /&gt;
 | phosphorus_mg = 50&lt;br /&gt;
 | potassium_mg  = 80&lt;br /&gt;
 | sodium_mg     = 40&lt;br /&gt;
 | selenium_ug   = 23&lt;br /&gt;
 | zinc_mg       = 0.4&lt;br /&gt;
 | note        = Footnote text here&lt;br /&gt;
 | source_usda = 1&lt;br /&gt;
 | float       = &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;width:40%; overflow: auto&amp;quot;&amp;gt;&lt;br /&gt;
{{Infobox nutritional value&lt;br /&gt;
| name = Foonuts&lt;br /&gt;
| kJ = 2450&lt;br /&gt;
| carbs = 22 g&lt;br /&gt;
| starch = 8 g&lt;br /&gt;
| sugars = 5 g&lt;br /&gt;
| lactose = 1 g&lt;br /&gt;
| fibre = 9 g&lt;br /&gt;
| fat = 50 g&lt;br /&gt;
| satfat = 7 g&lt;br /&gt;
| transfat = 3 g&lt;br /&gt;
| monofat = 25 g&lt;br /&gt;
| polyfat = 16 g&lt;br /&gt;
| omega3fat = 1 g&lt;br /&gt;
| omega6fat = 2 g&lt;br /&gt;
| protein = 24 g&lt;br /&gt;
| tryptophan = 70 mg&lt;br /&gt;
| threonine = 490 mg&lt;br /&gt;
| isoleucine = 570 mg&lt;br /&gt;
| leucine = 920 mg&lt;br /&gt;
| lysine = 690 mg&lt;br /&gt;
| methionine = 200 mg&lt;br /&gt;
| cystine = 230 mg&lt;br /&gt;
| phenylalanine = 610 mg&lt;br /&gt;
| tyrosine = 380 mg&lt;br /&gt;
| valine = 750 mg&lt;br /&gt;
| arginine = 890 mg&lt;br /&gt;
| histidine = 250 mg&lt;br /&gt;
| alanine = 640 mg&lt;br /&gt;
| aspartic acid = 2.850 g&lt;br /&gt;
| glutamic acid = 2.260 g&lt;br /&gt;
| glycine = 780 mg&lt;br /&gt;
| proline = 2.310 g&lt;br /&gt;
| serine = 610 mg&lt;br /&gt;
| hydroxyproline = 0 mg&lt;br /&gt;
| water = 5 g&lt;br /&gt;
| cholesterol = 2 mg&lt;br /&gt;
| alcohol = 1 g&lt;br /&gt;
| caffeine = 20 mg&lt;br /&gt;
| vitA_ug = 12&lt;br /&gt;
| betacarotene_ug = 120&lt;br /&gt;
| thiamin_mg = 1&lt;br /&gt;
| riboflavin_mg = 2&lt;br /&gt;
| niacin_mg = 0.5&lt;br /&gt;
| pantothenic_mg = 0.1&lt;br /&gt;
| vitB6_mg = 1&lt;br /&gt;
| folate_ug = 1.5&lt;br /&gt;
| vitB12_ug = 0.5&lt;br /&gt;
| vitC_mg = 20&lt;br /&gt;
| vitD_ug = 10&lt;br /&gt;
| vitE_mg = 5&lt;br /&gt;
| vitK_ug = 10&lt;br /&gt;
| calcium_mg    = 200&lt;br /&gt;
| copper_mg     = 0.9&lt;br /&gt;
| iron_mg       = 5&lt;br /&gt;
| magnesium_mg  = 1.2&lt;br /&gt;
| manganese_mg  = 1.2&lt;br /&gt;
| phosphorus_mg = 50&lt;br /&gt;
| potassium_mg  = 80&lt;br /&gt;
| sodium_mg     = 40&lt;br /&gt;
| selenium_ug   = 23&lt;br /&gt;
| zinc_mg       = 0.4&lt;br /&gt;
| note = Footnote text here&lt;br /&gt;
| source_usda = 1&lt;br /&gt;
| float =&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will generate →&lt;br /&gt;
{{Clear}}&lt;br /&gt;
&lt;br /&gt;
=== Translations ===&lt;br /&gt;
If you translate this template for use in other language Wikipedias, you could consider keeping the English variable names, so that you can simply copy/paste existing tables from English to your language (and back). Or you could make two versions, one using native-language variable names, and the other using the English names.&lt;br /&gt;
&lt;br /&gt;
==TemplateData==&lt;br /&gt;
{{TemplateData header}}&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;A template for recording the nutritional value of foods&amp;quot;,&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;name&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;The name of the food&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;kJ&amp;quot;: {&lt;br /&gt;
			&amp;quot;suggested&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;carbs&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Total carbohydrates per 100 grams of food.  State the unit being used (usually g for grams).&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;fat&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Total fat per 100 grams of food.  State the unit being used (usually g for grams).&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;protein&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Total protein per 100 grams of food.  State the unit being used (usually g for grams).&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;note&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Any explanatory notes, e.g., which parts of the vegetable are edible&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;format&amp;quot;: &amp;quot;block&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Food infobox templates|Nutritional value]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>wikipedia&gt;Shkuru Afshar</name></author>
	</entry>
</feed>