|
|
1行目: |
1行目: |
− | {{Infobox
| |
− | | name = Infobox Prepared Food
| |
− | | bodyclass = hrecipe adr
| |
| | | |
− | | aboveclass = fn
| |
− | | abovestyle = background: ;
| |
− | | above = <includeonly><span {{#if:{{{name_lang|}}}|lang="{{{name_lang}}}"}}>{{#if:{{{name|}}} |{{{name}}} |{{PAGENAMEBASE}} }}</span></includeonly>
| |
− |
| |
− | | image = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{#if:{{{image_size|}}}|{{{image_size|}}}|260px }} |sizedefault=frameless |alt={{{image_alt|{{{alt|}}}}}} }}
| |
− | | captionstyle = {{#if:{{{caption|}}} |padding-bottom:0.25em;border-bottom:1px solid #aaa;}}
| |
− | | caption = {{{caption|}}}
| |
− |
| |
− | | labelstyle = padding-top:0.245em;line-height:1.15em;<!--(modified longitem)-->
| |
− | padding-right:0.65em;<!--(to ensure some gap between (non-wrapped) labels and subsequent data)-->
| |
− |
| |
− | | rowclass2 = note
| |
− | | label2 = 別名
| |
− | | data2 = {{Ifempty|{{{alternate_name|}}}|{{{alternate name|}}}}}
| |
− |
| |
− | | label3 = 種類
| |
− | | data3 = {{{type|}}}
| |
− |
| |
− | | label4 = フルコース
| |
− | | data4 = {{{course|}}}
| |
− |
| |
− | | rowclass5 = note
| |
− | | label5 = 発祥地
| |
− | | class5 = country-name
| |
− | | data5 = {{{country|}}}
| |
− |
| |
− | | rowclass7 = note
| |
− | | label7 = 地域
| |
− | | class7 = region
| |
− | | data7 = {{{region|}}}
| |
− |
| |
− | | label9 = 関連[[:Category:各国の食文化|食文化]]
| |
− | | data9 = {{{national_cuisine|}}}
| |
− |
| |
− | | rowclass11 = note
| |
− | | label11 = 考案者
| |
− | | class11 = author
| |
− | | data11 = {{ifempty{{{creators|}}}|{{{creator|}}}}}
| |
− |
| |
− | | label13 = 誕生時期
| |
− | | data13 = {{{year|}}}
| |
− |
| |
− |
| |
− | <!----------------------Cooking time----------------------->
| |
− | | label15 = 調理時間
| |
− | | data15 = {{#if:{{{mintime|{{{time1|}}}}}}{{{maxtime|{{{time2|}}}}}}
| |
− | | {{nowrap
| |
− | | {{#iferror: <!--(display nothing if calculations below generate an error)-->
| |
− | {{#if:{{{mintime|{{{time1|}}}}}}
| |
− | | {{#ifexpr:{{#expr:{{{mintime|{{{time1|}}}}}}>60}}
| |
− | <!----(time is "X hour/s Y min":)---->
| |
− | | <!----hours:-->{{rounddown|{{#expr:{{{mintime|{{{time1|}}}}}}/60}}}}<!--
| |
− | <!--(units:)-->[[時間]]{{#ifeq:{{rounddown|{{#expr:{{{mintime|{{{time1|}}}}}}/60}}}}|1 | |}} <!--
| |
− | <!--minutes:-->{{#ifeq:{{#expr:{{{mintime|{{{time1|}}}}}} mod 60}}|0 |<!--(omit if "0 min")-->
| |
− | | {{#expr:{{{mintime|{{{time1|}}}}}} mod 60}}[[分]]
| |
− | }}
| |
− | <!----(else time is "X minute/s":)---->
| |
− | | {{{mintime|{{{time1|}}}}}}<!--(units:)-->[[分]]{{#ifeq:{{{mintime|{{{time1|}}}}}}|1 | |}}
| |
− | }} }} }}<!--
| |
− | -->{{#iferror:
| |
− | {{#if:{{{maxtime|{{{time2|}}}}}}
| |
− | | {{#if:{{{mintime|{{{time1|}}}}}} |<!--(then cooking time given is from min(imum)time to
| |
− | max(imum), so insert the "to" before the maximum:)--> to}} <!--
| |
− | -->{{#ifexpr:{{#expr:{{{maxtime|{{{time2|}}}}}}>60}} <!--("X hour/s Y min" as above)-->
| |
− | | {{rounddown|{{#expr:{{{maxtime|{{{time2|}}}}}}/60}}}}時間{{#ifeq:{{rounddown|{{#expr:{{{maxtime|{{{time2|}}}}}}/60}}}}|1 | |}} <!--
| |
− | -->{{#ifeq:{{#expr:{{{maxtime|{{{time2|}}}}}} mod 60}}|0 | |{{#expr:{{{maxtime|{{{time2|}}}}}} mod 60}}分}}
| |
− | | {{{maxtime|{{{time2|}}}}}} minute{{#ifeq:{{{maxtime|{{{time2|}}}}}}|1 | |}}
| |
− | }} }} }}<!--
| |
− | -->}} }}
| |
− | <!--------------------------------------------------------->
| |
− |
| |
− | | label16 = 難易度
| |
− | | data16 = {{#if:{{{complexity|}}} |[[File:{{{complexity|}}}o5dots.svg|{{#switch:{{{complexity|}}} |1=とても簡単 |2=簡単 |3=普通 |4=難しい |5=とても難しい}}]]}}
| |
− |
| |
− | | label17 = 提供時温度
| |
− | | data17 = {{{served|}}}
| |
− |
| |
− | | label19 = 主な材料
| |
− | | class19 = ingredient
| |
− | | data19 = {{{main_ingredient|}}}
| |
− |
| |
− | | label21 = その他お好みで
| |
− | | class21 = ingredient
| |
− | | data21 = {{{minor_ingredient|}}}
| |
− |
| |
− | | label23 = 派生料理
| |
− | | data23 = {{{variations|}}}
| |
− |
| |
− |
| |
− | <!-----------------------Food energy----------------------->
| |
− | | label25 = {{longitem |style=line-height:1.1em;white-space:nowrap;
| |
− | | 2 = [[生理的熱量|食物エネルギー]]<br/><span style="font-size:90%;font-weight:normal;"><!--
| |
− | -->({{#switch:{{{serving_size|}}}
| |
− | | 100 grams |100 [[Gram|g]] |100 g |100g = 100 [[グラム|g]]あたり)
| |
− | | #default = {{{serving_size|}}}あたり)
| |
− | }}<!-----></span>
| |
− | }}
| |
− | | class25 = nutrition
| |
− | | data25 = {{#if:{{{calories|}}}
| |
− | | {{{calories}}} [[カロリー|kcal]]<!--
| |
− | -->{{#iferror: ({{#expr:{{{calories}}}*4.1868 round 0}} [[ジュール|kJ]])}}<!--
| |
− | -->{{{calories_ref|}}}
| |
− | }}
| |
− |
| |
− |
| |
− | <!--------------------Nutritional value-------------------->
| |
− | | label27 = {{longitem |style=line-height:1.1em;white-space:nowrap;
| |
− | | 2 = [[栄養|栄養素]]<br/><span style="font-size:90%;font-weight:normal;"><!--
| |
− | -->({{#switch:{{{serving_size|}}}
| |
− | | 100 grams |100 [[Gram|g]] |100 g |100g = 100 [[グラム|g]]あたり)
| |
− | | #default = {{{serving_size|}}}あたり)
| |
− | }}<!-- --></span>
| |
− | }}
| |
− | | data27 = {{#if:{{{protein|}}}{{{fat|}}}{{{carbohydrate|}}}
| |
− | | {{Infobox
| |
− | |bodystyle={{infobox subbox bodystyle}}
| |
− | |labelstyle=width:6.75em;padding-right:0.35em;<!--(to ensure some gap between "Carbohydrate" and any subsequent data)-->line-height:1.3em;font-weight:normal;
| |
− | |datastyle=line-height:1.3em;
| |
− | |label1=[[タンパク質]] |data1={{{protein}}} [[グラム|g]]
| |
− | |label2=[[脂肪]] |data2={{{fat}}} [[グラム|g]]
| |
− | |label3=[[炭水化物]] |data3={{{carbohydrate}}} [[グラム|g]]
| |
− | }} }}
| |
− |
| |
− |
| |
− | <!--------------------Glycemic index----------------------->
| |
− | | label32 = [[グリセミック指数|{{allow wrap|グリセミック指数}}]]
| |
− | | data32 = {{#iferror:
| |
− | {{#if:{{{glycemic_index|}}}
| |
− | | {{smaller
| |
− | | {{#ifexpr:{{#expr:{{{glycemic_index}}}<56}}
| |
− | | {{{glycemic_index}}} ({{Bgcolor|#cfc|低}})
| |
− | | {{#ifexpr:{{#expr:{{{glycemic_index}}}<70}}
| |
− | | {{{glycemic_index}}} ({{Bgcolor|#ff9|中}})
| |
− | | {{{glycemic_index}}} ({{Bgcolor|#fc9|高}})
| |
− | }} }} }} }} }}
| |
− | <!--------------------------------------------------------->
| |
− |
| |
− | | label34 = 類似料理
| |
− | | data34 = {{{similar_dish|}}}
| |
− |
| |
− | | label36 = その他の情報
| |
− | | data36 = {{{other|}}}
| |
− |
| |
− |
| |
− | | belowstyle = border-top:1px solid #aaa;padding-top:0.25em; text-align:left;{{{belowstyle|}}}
| |
− | | below = {{#if:{{Ifempty|{{{cookbook|}}}{{{enname|}}}}}|<nowiki></nowiki>
| |
− | {{#if:{{{no_recipes|}}} <includeonly>|</includeonly> |[[File:Wikibooks-logo.svg|16x16px|link=|alt=]] [[:Wikibooks:Special:Search/Cookbook:{{ifempty|{{{cookbook|}}}|{{{enname|}}}|{{PAGENAME}}}}|Cookbook]] <includeonly>|</includeonly> }}}}<!--
| |
− | -->{{#if:{{{no_commons|}}} <includeonly>|</includeonly> |{{#if:{{Ifempty|{{#Property:P935}}|{{{enname|}}}}}|{{Commons-inline|short=yes|Special:Search/{{ifempty|{{#Property:P935}}|{{{enname|}}}|{{PAGENAMEBASE}}}}|ウィキメディア・コモンズ}} <includeonly>|</includeonly> }}}}
| |
− |
| |
− | }}<noinclude>
| |
− | {{Documentation}}</noinclude>
| |