|
|
Line 1: |
Line 1: |
| + | |
| <includeonly> | | <includeonly> |
− | | + | {{{Printer Name}}} |
− | {{Infobox | |
− | | bodyclass = hrecipe adr
| |
− | | |
− | | titleclass = fn
| |
− | | titlestyle =
| |
− | | title = <includeonly><span {{#if:{{{name_lang|}}}|lang="{{{name_lang}}}"}} {{#ifeq:{{{name_italics|false}}}|true|style="font-style: italic;"|}}>{{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}</span></includeonly>
| |
− | | |
− | | image = {{image={{{image|}}} |size={{{image_size|}}} |sizedefault=frameless |alt={{{image_alt|{{{alt|}}}}}} |title={{{image_alt|{{{alt|}}}}}} }}
| |
− | | captionstyle = {{#if:{{{caption|}}} |padding-bottom:0.25em;border-bottom:1px solid #aaa;}}
| |
− | | caption = {{{caption|}}}
| |
− | | |
− | | labelstyle = line-height:1.15em;<!--(modified longitem)-->
| |
− | padding-right:0.65em;<!--(to ensure some gap between (non-wrapped) labels and subsequent data)-->
| |
− | | |
− | | rowclass2 = note
| |
− | | label2 = Alternative names
| |
− | | data2 = {{{alternate_name|{{{alternate name|}}}}}}
| |
− | | |
− | | label3 = Type
| |
− | | data3 = {{{type|}}}
| |
− | | |
− | | label4 = Course
| |
− | | data4 = {{{course|}}}
| |
− | | |
− | | rowclass5 = note
| |
− | | label5 = Place of origin
| |
− | | class5 = country-name
| |
− | | data5 = {{{country|}}}
| |
− | | |
− | | rowclass7 = note
| |
− | | label7 = Region or state
| |
− | | class7 = region
| |
− | | data7 = {{{region|}}}
| |
− | | |
− | | label9 = Associated [[:Category:Cuisine by country|national cuisine]]
| |
− | | data9 = {{{national_cuisine|}}}
| |
− | | |
− | | rowclass11 = note
| |
− | | label11 = Created by
| |
− | | class11 = author
| |
− | | data11 = {{#if:{{{creators|}}} |{{{creators}}} |{{{creator|}}} }}
| |
− | | |
− | | label13 = Invented
| |
− | | data13 = {{{year|}}}
| |
− | | |
− | <!----------------------Cooking time----------------------->
| |
− | | label15 = Cooking time
| |
− | | 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:)-->[[hour]]{{#ifeq:{{rounddown|{{#expr:{{{mintime|{{{time1|}}}}}}/60}}}}|1 | |s}} <!--
| |
− | <!--minutes:-->{{#ifeq:{{#expr:{{{mintime|{{{time1|}}}}}} mod 60}}|0 |<!--(omit if "0 min")-->
| |
− | | {{#expr:{{{mintime|{{{time1|}}}}}} mod 60}} [[Minute|min]]
| |
− | }}
| |
− | <!----(else time is "X minute/s":)---->
| |
− | | {{{mintime|{{{time1|}}}}}} <!--(units:)-->[[minute]]{{#ifeq:{{{mintime|{{{time1|}}}}}}|1 | |s}}
| |
− | }} }} }}<!--
| |
− | -->{{#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}}}} hour{{#ifeq:{{rounddown|{{#expr:{{{maxtime|{{{time2|}}}}}}/60}}}}|1 | |s}} <!--
| |
− | -->{{#ifeq:{{#expr:{{{maxtime|{{{time2|}}}}}} mod 60}}|0 | |{{#expr:{{{maxtime|{{{time2|}}}}}} mod 60}} min}}
| |
− | | {{{maxtime|{{{time2|}}}}}} minute{{#ifeq:{{{maxtime|{{{time2|}}}}}}|1 | |s}}
| |
− | }} }} }}<!--
| |
− | -->}} }}
| |
− | <!--------------------------------------------------------->
| |
− | | |
− | | label17 = Serving temperature
| |
− | | data17 = {{{served|}}}
| |
− | | |
− | | label19 = Main ingredients
| |
− | | class19 = ingredient
| |
− | | data19 = {{{main_ingredient|}}}
| |
− | | |
− | | label21 = Ingredients generally used
| |
− | | class21 = ingredient
| |
− | | data21 = {{{minor_ingredient|}}}
| |
− | | |
− | | label23 = Variations
| |
− | | data23 = {{{variations|}}}
| |
− | | |
− | <!-----------------------Food energy----------------------->
| |
− | | label25 = {{longitem|style=line-height:1.1em;white-space:nowrap;
| |
− | | 1 = [[Food energy]]<br/><span style="font-size:90%;font-weight:normal;"><!--
| |
− | -->(per {{#switch:{{{serving_size|}}}
| |
− | | 100 grams |100 [[Gram|g]] |100 g |100g = 100 [[Gram|g]] serving)
| |
− | | #default = {{{serving_size|}}} serving)
| |
− | }}<!-----></span>
| |
− | }}
| |
− | | class25 = nutrition
| |
− | | data25 = {{#if:{{{calories|}}}
| |
− | | {{{calories}}} [[Calorie|kcal]]<!--
| |
− | -->{{#iferror: ({{#expr:{{{calories}}}*4.1868 round 0}} [[kilojoule|kJ]])}}<!--
| |
− | -->{{{calories_ref|}}}
| |
− | }}
| |
− | | |
− | <!--------------------Nutritional value-------------------->
| |
− | | label27 = {{longitem|style=line-height:1.1em;white-space:nowrap;
| |
− | | 1 = [[Nutrition|Nutritional value]]<br/><span style="font-size:90%;font-weight:normal;"><!--
| |
− | -->(per {{#switch:{{{serving_size|}}}
| |
− | | 100 grams |100 [[Gram|g]] |100 g |100g = 100 [[Gram|g]] serving)
| |
− | | #default = {{{serving_size|}}} serving)
| |
− | }}<!-- --></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=[[Protein (nutrient)|Protein]] |data1={{{protein}}} [[Gram|g]]
| |
− | |label2=[[Fat]] |data2={{{fat}}} [[Gram|g]]
| |
− | |label3=[[Carbohydrate]] |data3={{{carbohydrate}}} [[Gram|g]]
| |
− | }} }}
| |
− | | |
− | <!--------------------Glycemic index----------------------->
| |
− | | label32 = [[Glycemic index|{{allow wrap|Glycemic index}}]]
| |
− | | data32 = {{#iferror:
| |
− | {{#if:{{{glycemic_index|}}}
| |
− | | {{smaller
| |
− | | {{#ifexpr:{{#expr:{{{glycemic_index}}}<56}}
| |
− | | {{{glycemic_index}}} ({{background|#ccffcc|low}})
| |
− | | {{#ifexpr:{{#expr:{{{glycemic_index}}}<70}}
| |
− | | {{{glycemic_index}}} ({{background|#ffff99|medium}})
| |
− | | {{{glycemic_index}}} ({{background|#ffcc99|high}})
| |
− | }} }} }} }} }}
| |
− | <!--------------------------------------------------------->
| |
− | | |
− | | label34 = Similar dishes
| |
− | | data34 = {{{similar_dish|}}}
| |
− | | |
− | | label36 = Other information
| |
− | | data36 = {{{other|}}}
| |
− | | |
− | | |
− | | belowstyle = border-top:1px solid #aaa;padding-top:0.25em;{{{belowstyle|}}}
| |
− | | below = {{Unbulleted list
| |
− | | {{#if:{{{no_recipes|}}} <includeonly>|</includeonly> |{{Wikibooks-inline|short=yes|Special:Search|Cookbook: {{{cookbook|{{{name|{{PAGENAME}}}}}}}}}} }}
| |
− | | {{#if:{{{no_commons|}}} <includeonly>|</includeonly> |<!--
| |
− | -->{{#if:{{{commons|}}}{{#invoke:Commons link|hasGalleryOrCategory|qid={{{qid|}}}}}| {{Commons-inline|short=yes|{{{commons|}}}|qid={{{qid|}}}|notrack=1|<!--
| |
− | -->Media{{colon}} {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}} }} }}
| |
− | }}
| |
− | | |
− | }} | |
| </includeonly> | | </includeonly> |
− |
| |
− |
| |
| <noinclude> | | <noinclude> |
| <templatedata> | | <templatedata> |