Required variables:name,kJ,carbs,fat,protein. Supply units (except for kJ which is in kJ).
Optional variables:sugars,lactose,satfat,transfat,monofat,polyfat,omega3fat,omega6fat,fiber,fibre,starch,water,alcohol,caffeine. Supply units (normally g).
Optional freeformat variables (name andvalue):opt1n,opt1v, etc. up toopt4n andopt4v.
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):
Optional minerals (in mg):calcium_mg,iron_mg,phosphorus_mg,magnesium_mg,sodium_mg,potassium_mg,zinc_mg
Optional vitamins (in mg, μg, or international units):vitA_ug,thiamin_mg (Vit. B1),riboflavin_mg (Vit. B2),niacin_mg (Vit. B3),pantothenic_mg (pantothenic acid),vitB6_mg,folate_ug,vitB12_ug,vitC_mg,vitD_ug,vitD_iu (in IU),vitE_mg,vitK_ug.
Other optional variables and flags:
Optional footnote:note
Optional data source:source, or as a flag:source_usda=1 for the USDA database
Optional suppression of RDA explanation:noRDA=1
Optional flags:right=1 (table will be floating on the right)
Further remarks:
According to convention, there should be a space between the number and the unit: "14 g" and not "14g".
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).
The author of the template recommendeds to include only vitamins and minerals for which this product is considered to be a major source, in order to prevent clogging up the article with a huge table. As a guideline:
staple foods: an amount that provides 10,000 kJ should provide well over 100% of the RDI.
meats and such: same, but for 4,000 kJ.
vegetables, other low-calorie solid food, fruits: same, but for 400 g.
other products: use an amount that one could reasonably eat on a daily basis.
Don't put linebreaks into the template around the {{#if:...}} parser functions, because they will end up as linebreaks above the table.
Maybe someone can do this in wikitable format rather than raw HTML, if you know how to combine that with the {{#if: }} conditionals. Please experiment inTemplate:NutritionalvalueTest to prevent breaking article pages.
Ingongsoy (Coriandrum sativum), a mayayauscilantro king Castila, ampongcilantro,Chinese parsley odhania king Ingles,[1] metung yangbanwahan a yerba king familiaApiaceae. Katutubu ya ing ongsoy kareng labuad a manibat kingmauling Europa ampongpangulung Africa angga kingmaulingalbugang Asia. Metung yang malambat a tanaman a daragul anggang katas. Miyayaliwa la tabas deng bulung, oneng keraklan katabas lang balugbug (lobed) king pun ning tanaman, at payat la ampong mala-pakpak o bulbul banda kareng tangkeng manyampaga. Makabili la rengsampaga kareng mangalatingumbel, a maputi o maputlang rosas, a e mitutulid tabas white or very pale pink, (asymmetrical), a maki petal a makaturu padayu king umbel a mas makaba (5–6 mm) kesa kareng makaturu kaniti (1–3 mm mu kakaba). Mabilug ya ingbunga, a malangingschizocarp aTemplate:Convert/mm kalapad. Lipat ning kakanan dong dili ra deng butul, gagamitan da la ring pampalasa deti, o pamulug do kayabe da reng aliwang pamangan.