Template:Infobox nutritional value/ja: Difference between revisions
Jump to navigation
Jump to search
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-right:auto |right=right |none=none}};}} | titlestyle = white-space:normal; padding-bottom:0.15em; | title = {{{name<includeonly>|{{PAGENAMEBASE}}</includeonly>}}} | image = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|}}} |sizedefault=235px |alt={{{image_alt|}}} }} | c..." |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
<!--------------------------------- Serving -----------------------------------> | <!--------------------------------- Serving -----------------------------------> | ||
| header1 = {{#if:{{{carbs|}}}{{{fat|}}}{{{protein|}}}{{{serving_size|}}} | | | header1 = {{#if:{{{carbs|}}}{{{fat|}}}{{{protein|}}}{{{serving_size|}}} |{{{serving_size|{{convert|100|g|abbr=on}}}}}あたりの栄養価 }} | ||
<!--------------------------------- Energy ------------------------------------> | <!--------------------------------- Energy ------------------------------------> | ||
Line 20: | Line 20: | ||
|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;">'''[[Carbohydrate]] | | label1 = <div style="position:relative;left:-0.65em;">'''[[Carbohydrate/ja|炭水化物]]'''</div> | ||
| 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|}}}{{{glucose|}}}{{{fructose|}}}{{{sucrose|}}}{{{dextrose|}}}{{{fiber|}}}{{{fibre|}}} | }} }} | | {{#if:{{{starch|}}}{{{sugars|}}}{{{lactose|}}}{{{glucose|}}}{{{fructose|}}}{{{sucrose|}}}{{{dextrose|}}}{{{fiber|}}}{{{fibre|}}} | }} }} | ||
| label2 = [[Starch/ja|澱粉]] | | label2 = [[Starch/ja|澱粉]] | ||
| data2 = {{{starch|}}} | | data2 = {{{starch|}}} | ||
| label3 = [[Sugar/ja|砂糖]] | | label3 = [[Sugar/ja|砂糖]] <!-- | ||
-->{{#if:{{{sucrose|}}} |<div style="padding-left:0.65em;padding-top:0.25em;font-weight:normal;">[[sucrose/ja|スクロース]]</div>}}<!-- | -->{{#if:{{{sucrose|}}} |<div style="padding-left:0.65em;padding-top:0.25em;font-weight:normal;">[[sucrose/ja|スクロース]]</div>}}<!-- | ||
-->{{#if:{{{glucose|{{{dextrose|}}}}}} |<div style="padding-left:0.65em;padding-top:0.25em;font-weight:normal;">[[glucose/ja|グルコース]]</div>}}<!-- | -->{{#if:{{{glucose|{{{dextrose|}}}}}} |<div style="padding-left:0.65em;padding-top:0.25em;font-weight:normal;">[[glucose/ja|グルコース]]</div>}}<!-- | ||
Line 98: | Line 98: | ||
<!-- Calculated values are averages for males and females aged 19-30 --> | <!-- Calculated values are averages for males and females aged 19-30 --> | ||
<!-- Added March 2024 {{#iferror: {{#expr: XXX }} | –}} for all expressions used to calculate DV% to show, as if an error occurs, such as if the value of the vitamin/mineral is a range (e.g. 2–4) or expression like <20 then an error would occur in the calculation, instead show “–%” instead of the giant red error--> | <!-- Added March 2024 {{#iferror: {{#expr: XXX }} | –}} for all expressions used to calculate DV% to show, as if an error occurs, such as if the value of the vitamin/mineral is a range (e.g. 2–4) or expression like <20 then an error would occur in the calculation, instead show “–%” instead of the giant red error--> | ||
{{collapsed infobox section begin| | {{collapsed infobox section begin|ビタミンとミネラル}}| data15 = | ||
{{#if:{{{vitA_ug|}}}{{{betacarotene_ug|}}}{{{lutein_ug|}}}{{{vitA_iu|}}}{{{vitA_asbeta_iu|}}}{{{thiamin_mg|}}}{{{thiamin_ug|}}}{{{riboflavin_mg|}}}{{{riboflavin_ug|}}}{{{niacin_mg|}}}{{{pantothenic_mg|}}}{{{vitB6_mg|}}}{{{vitB6_ug|}}}{{{folate_ug|}}}{{{vitB12_ug|}}}{{{choline_mg|}}}{{{vitC_mg|}}}{{{vitD_ug|}}}{{{vitD_iu|}}}{{{vitE_mg|}}}{{{vitE_iu|}}}{{{vitK_ug|}}} | {{#if:{{{vitA_ug|}}}{{{betacarotene_ug|}}}{{{lutein_ug|}}}{{{vitA_iu|}}}{{{vitA_asbeta_iu|}}}{{{thiamin_mg|}}}{{{thiamin_ug|}}}{{{riboflavin_mg|}}}{{{riboflavin_ug|}}}{{{niacin_mg|}}}{{{pantothenic_mg|}}}{{{vitB6_mg|}}}{{{vitB6_ug|}}}{{{folate_ug|}}}{{{vitB12_ug|}}}{{{choline_mg|}}}{{{vitC_mg|}}}{{{vitD_ug|}}}{{{vitD_iu|}}}{{{vitE_mg|}}}{{{vitE_iu|}}}{{{vitK_ug|}}} | ||
| {{Infobox |child=yes |headerstyle=text-align:left; | | {{Infobox |child=yes |headerstyle=text-align:left; | ||
Line 104: | Line 104: | ||
|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 = ''' | | data1 = '''量''' {{align|right|{{abbr|'''%DV'''|Percentage of Daily Value}}<sup>†</sup>}} | ||
| label2 = [[Vitamin A/ja|ビタミンA相当]]<!-- | | label2 = [[Vitamin A/ja|ビタミンA相当]]<!-- | ||
Line 172: | Line 172: | ||
|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 = ''' | | data1 = '''量''' {{align|right|{{abbr|'''%DV'''|Percentage of Daily Value}}<sup>†</sup>}} | ||
| label2 = [[Calcium in biology/ja#Humans|カルシウム]] | | label2 = [[Calcium in biology/ja#Humans|カルシウム]] | ||
Line 211: | Line 211: | ||
|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 = <b style="margin-left:-0.65em> | | label1 = <b style="margin-left:-0.65em>その他の成分</b> | ||
| data1 = ''' | | data1 = '''量''' | ||
| label2 = 水 | | label2 = 水 | ||
| data2 = {{{water|}}} | | data2 = {{{water|}}} | ||
Line 243: | Line 243: | ||
| belowstyle = background:#e0e0e0;padding:0.3em;line-height:1.5em;font-weight:normal;font-size:0.9em | | belowstyle = background:#e0e0e0;padding:0.3em;line-height:1.5em;font-weight:normal;font-size:0.9em | ||
| below = {{#ifexpr:{{#if:{{{noRDA|}}}|0|1}}+{{#if:{{{source|}}}|1|0}} |<!--(i.e. if noRDA hasn't been set and/or any of source has/have been set, then:) | | below = {{#ifexpr:{{#if:{{{noRDA|}}}|0|1}}+{{#if:{{{source|}}}|1|0}} |<!--(i.e. if noRDA hasn't been set and/or any of source has/have been set, then:) | ||
If noRDA HAS been set to ANYTHING BUT NOTHING (e.g. noRDA = 0), then:-->{{#if:{{{noRDA|}}} | |<sup>†</sup>割合は、カリウムを除き、成人に対する[[Reference Daily Intake#Daily Values|米国 推奨値]]を使用して推定された。カリウムは、[[:en:National Academies of Sciences, Engineering, and Medicine|全米科学・工学・医学アカデミー]]の専門家による推奨に基づき推定された。}}<!-- | If noRDA HAS been set to ANYTHING BUT NOTHING (e.g. noRDA = 0), then:-->{{#if:{{{noRDA|}}} | |<sup>†</sup>割合は、カリウムを除き、成人に対する[[:en:Reference Daily Intake#Daily Values|米国 推奨値]]を使用して推定された。カリウムは、[[:en:National Academies of Sciences, Engineering, and Medicine|全米科学・工学・医学アカデミー]]の専門家による推奨に基づき推定された。}}<!-- | ||
and/or, if source:-->{{#if:{{{source|}}}<!-- | and/or, if source:-->{{#if:{{{source|}}}<!-- | ||
-- has been set to ANYTHING:--> | <br/>情報源: {{{source}}} }} }} | -- has been set to ANYTHING:--> | <br/>情報源: {{{source}}} }} }} | ||
}}{{#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 | dextrose | fat | fiber | fibre | float | folate_ug | fructose | glucose | 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 | riboflavin_ug | satfat | selenium_ug | serine | serving_size | sodium_mg | source | starch | sucrose | sugars | thiamin_mg | thiamin_ug | threonine | transfat | tryptophan | tyrosine | valine | vitA_asbeta_iu | vitA_iu | vitA_ug | vitB6_mg | vitB6_ug | vitB12_ug | vitC_mg | vitD_iu | vitD_ug | vitE_iu | vitE_mg | vitK_ug | source_USDA | source_usda | source | no_RDA | 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 | dextrose | fat | fiber | fibre | float | folate_ug | fructose | glucose | 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 | riboflavin_ug | satfat | selenium_ug | serine | serving_size | sodium_mg | source | starch | sucrose | sugars | thiamin_mg | thiamin_ug | threonine | transfat | tryptophan | tyrosine | valine | vitA_asbeta_iu | vitA_iu | vitA_ug | vitB6_mg | vitB6_ug | vitB12_ug | vitC_mg | vitD_iu | vitD_ug | vitE_iu | vitE_mg | vitK_ug | source_USDA | source_usda | source | no_RDA | water | zinc_mg }}<noinclude>{{documentation}}</noinclude> |
Latest revision as of 15:24, 4 June 2025
| |||||
†割合は、カリウムを除き、成人に対する米国 推奨値を使用して推定された。カリウムは、全米科学・工学・医学アカデミーの専門家による推奨に基づき推定された。 |