Jump to content

Template:Infobox nutritional value/sandbox: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
remove link that cannot be there
add reference
Line 234: Line 234:
| belowstyle = background:#e0e0e0;padding:0.3em;line-height:1.5em;font-weight:normal;
| belowstyle = background:#e0e0e0;padding:0.3em;line-height:1.5em;font-weight:normal;
| below = {{#ifexpr:{{#if:{{{noRDA|}}}|0|1}}+{{#if:{{{source|}}}{{{source_usda|}}}{{{source_USDA}}}|1|0}} |<!--(i.e. if noRDA hasn't been set and/or any of source/source_usda/source_USDA has/have been set, then:)
| below = {{#ifexpr:{{#if:{{{noRDA|}}}|0|1}}+{{#if:{{{source|}}}{{{source_usda|}}}{{{source_USDA}}}|1|0}} |<!--(i.e. if noRDA hasn't been set and/or any of source/source_usda/source_USDA has/have been set, then:)
If noRDA HAS been set to ANYTHING BUT NOTHING (e.g. noRDA = 0), then:-->{{#if:{{{noRDA|}}} | |<sup>†</sup>Percentages estimated using [[Dietary Reference Intake|US&nbsp;recommendations]] for adults.}}<!--
If noRDA HAS been set to ANYTHING BUT NOTHING (e.g. noRDA = 0), then:-->{{#if:{{{noRDA|}}} | |<sup>†</sup>Percentages estimated using [[Dietary Reference Intake|US&nbsp;recommendations]] for adults.<ref name="USDA2013-NNDSR">{{cite web |url=https://www.ars.usda.gov/ARSUserFiles/80400525/Data/SR26/sr26_doc.pdf |format=PDF |title=USDA National Nutrient Database for Standard Reference, Release 26 |author=U.S. Department of Agriculture |authorlink=United States Department of Agriculture |author2=Agricultural Research Service |work=Nutrient Data Laboratory Home Page |date=2013 |accessdate=2024-03-18 }}</ref>}}<!--
and/or, if source_usda and/or source_USDA:-->{{#if:{{{source_usda|}}}{{{source_USDA|}}}<!--
and/or, if source_usda and/or source_USDA:-->{{#if:{{{source_usda|}}}{{{source_USDA|}}}<!--
-- have been set to NOTHING:-->|<br/>{{nowrap|Source: [https://fdc.nal.usda.gov/index.html {{abbr|USDA|United States Department of Agriculture}} FoodData Central]}}<!--
-- have been set to NOTHING:-->|<br/>{{nowrap|Source: [https://fdc.nal.usda.gov/index.html {{abbr|USDA|United States Department of Agriculture}} FoodData Central]}}<!--

Revision as of 19:28, 18 March 2024

{{{name}}}
Percentages estimated using US recommendations for adults.[1]