Pagkakaiba sa mga pagbabago kan "Plantilya:Infobox pagkakan"

Content deleted Content added
Kolbi5 (urulay | ambag)
Pinagmukna an pahina kaining "{{Infobox | bodyclass = hrecipe adr | bodystyle = width:220px; border: 1px solid silver; border-collapse:collapse; | abovestyle = border: 1px solid silver; backgrou..."
 
sNo edit summary
Linya 1:
{{Infobox
| bodyclass = hrecipe adr
| bodystyle = width:220px; border: 1px solid silver; border-collapse:collapse;
| abovestyle = border: 1px solid silver; background-color: #e0e4e5; font-size:145%; padding:0.2em;
| aboveclass = fn
| above = {{#if:{{{name|}}}|{{{name}}}|<includeonly>{{PAGENAME}}</includeonly>}}
 
| titleclass = fn
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|alt={{{image_alt|{{{alt|}}}}}}}}
| 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 = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|}}} |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)-->
| subheader = {{#if:{{{course|}}}|{{{course}}}|{{{type|}}}}}
padding-right:0.65em;<!--(to ensure some gap between (non-wrapped) labels and subsequent data)-->
| subheaderstyle = font-weight:bold; {{#if:{{{image|}}}|border: 1px solid silver; background-color: #edf1f2;}} padding:0.2em;
 
| rowclass2 = note
|headerstyle = border: 1px solid silver; background-color: #edf1f2; line-height:96%; padding:0.2em;
| label2 = Alternatibong ngaran
|datastyle = text-align:left; padding:0.2em 0.4em;
| data2 = {{{alternate_name|{{{alternate name|}}}}}}
 
| label3 = Klase
|header2 = {{#if:{{{alternate_name|{{{alternate name|}}}}}}|Alternative name(s):|}}
| data3 = {{{type|}}}
|rowclass3 = note
|data3 = {{{alternate_name|{{{alternate name|}}}}}}
 
| label4 = Kurso
|header4 = {{#if:{{{country|}}}|Place of origin:|}}
| data4 = {{{course|}}}
|rowclass5 = note
|class5 = country-name
|data5 = {{{country|}}}
 
| rowclass5 = note
|header6 = {{#if:{{{region|}}}|Region or state:|}}
| label5 = Ginikanang lugar
|rowclass7 = note
| class5 = country-name
|class7 = region
|data7 data5 = {{{regioncountry|}}}
 
| rowclass7 = note
|header8 = {{#if:{{{national_cuisine|}}}|Included in the [[:Category:Cuisine by nationality|national cuisines]]:|}}
| label7 = Rehiyon o istado
|data9 = {{{national_cuisine|}}}
| class7 = region
| data7 = {{{region|}}}
 
| label9 = Pig-aasosyar na nasunal na lutoon [[:Category:Cuisine by country|national&nbsp;cuisine]]
|header10 = {{#if:{{{creator|}}}|Creator(s):|}}
| data9 = {{{national_cuisine|}}}
|rowclass11 = note
|class11 = author
|data11 = {{{creator|}}}
 
| rowclass11 = note
|header12 = {{#if:{{{year|}}}|Year of invention:|}}
| label11 = Ginibo ni
|data13 = {{{year|}}}
| class11 = author
| data11 = {{#if:{{{creators|}}} |{{{creators}}} |{{{creator|}}} }}
 
| label13 = Naimbento kan
|header14 = {{#if:{{{time1|}}}{{{time2|}}}|Cook Time:|}}
| data13 = {{{year|}}}
|data15 = {{#iferror:{{#if:{{{time1|}}}|{{#ifexpr:{{#expr:{{{time1}}}>60}}|{{Rounddown|{{#expr: {{{time1}}} / 60}}}}&nbsp;{{#switch: {{Rounddown|{{#expr: {{{time1}}} / 60}}}}|1 = [[hour]]| [[hour|hours]]}} {{#expr: {{{time1}}} mod 60}}&nbsp;[[minute|min]]|{{{time1}}}&nbsp;{{#switch: {{{time1}}}|1 = [[minute]]|[[minute|minutes]]}}}}|}}|}}{{#iferror:{{#if:{{{time2|}}}|{{#ifexpr:{{#expr:{{{time2}}}>60}}|&nbsp;—&nbsp;{{Rounddown|{{#expr: {{{time2}}} / 60}}}}&nbsp;{{#switch: {{Rounddown|{{#expr: {{{time2}}} / 60}}}}|1 = [[hour]]|[[hour|hours]]}} {{#expr: {{{time2}}} mod 60}}&nbsp;[[minute|min]]|&nbsp;—&nbsp;{{{time2}}}&nbsp;{{#switch: {{{time2}}}|1 = [[minute]]|[[minute|minutes]]}}}}|}}|}}
 
<!----------------------Cooking time----------------------->
|header16 = {{#if:{{{served|}}}|Serving temperature:|}}
| label15 = Oras nin pagluto
|data17 = {{{served|}}}
| 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:)-->&nbsp;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 = Temperatura nin pagsirbe
|header18 = {{#if:{{{main_ingredient|}}}|Main ingredient(s):|}}
| data17 = {{{served|}}}
|class19 = ingredient
|data19 = {{#if:{{{main_ingredient|}}}|{{{main_ingredient}}}|}}
 
| label19 = Pangenot na ingrediente
|header20 = {{#if:{{{minor_ingredient|}}}|Generally used ingredient(s):|}}
|class21 class19 = ingredient
| data19 = {{{main_ingredient|}}}
|data21 = {{#if:{{{minor_ingredient|}}}|{{{minor_ingredient}}}|}}
 
| label21 = Menor na ingrediente
|header22 = {{#if:{{{variations|}}}|Variations:|}}
| class21 = ingredient
|data23 = {{{variations|}}}
| data21 = {{{minor_ingredient|}}}
 
| label23 = Mga baryasyon
|header24 = {{#if:{{{calories|}}}|[[Food energy]] (per {{{serving_size|100&nbsp;[[Gram|g]]}}} serving):|}}
| data23 = {{{variations|}}}
|class25 = nutrition
|data25 = {{#if:{{{calories|}}}|{{{calories}}}&nbsp;[[Calorie|kcal]]{{#iferror:&nbsp;({{#expr:{{{calories}}} * 4.1868 round 0}} [[kilojoule|kJ]])}}{{{calories_ref|}}}|}}
 
<!-----------------------Food energy----------------------->
|header26 = {{#if:{{{protein|}}}{{{fat|}}}{{{carbohydrate|}}}|[[Nutrition|Nutritional Value]] (per {{{serving_size|100&nbsp;[[Gram|g]]}}} serving):<!--
| label25 = {{longitem|style=line-height:1.1em;white-space:nowrap;
-->{{Infobox|child=yes
| labelstyle1 = padding:0.2em;[[Food background:#eee;energy]]<br/><span borderstyle="font-bottomsize:1px dotted grey; width:7090%; font-weight:normal;"><!--
-->(per {{#switch:{{{serving_size|}}}
| datastyle = padding:0.2em; border-bottom:1px dotted grey; word-wrap:break-word; width:30%; text-align:right;
| 100 grams |100 [[Gram|g]] |100 g |100g = 100&nbsp;[[Gram|g]] serving)
| label1 = [[Protein (nutrient)|Protein]]
| #default = {{{serving_size|}}} serving)
| data1 = {{#if:{{{protein|}}}|{{{protein}}}&nbsp;[[Gram|g]]}}
}}<!-----></span>
| label2 = [[Fat]]
}}
| data2 = {{#if:{{{fat|}}}|{{{fat}}}&nbsp;[[Gram|g]]}}
| class25 = nutrition
| label3 = [[Carbohydrate]]
| | data3data25 = {{#if:{{{carbohydratecalories|}}}|{{{carbohydrate}}}&nbsp;[[Gram|g]]}}
| {{{calories}}}&nbsp;[[Calorie|kcal]]<!--
}} }}
-->{{#iferror:&nbsp;({{#expr:{{{calories}}}*4.1868 round 0}} [[kilojoule|kJ]])}}<!--
-->{{{calories_ref|}}}
}}
 
<!--------------------Nutritional value-------------------->
|header31 = {{#iferror:{{#expr:{{{glycemic_index|}}}>0}}||[[Glycemic index]]:}}
| label27 = {{longitem|style=line-height:1.1em;white-space:nowrap;
|data32 = {{#iferror:{{#if:{{{glycemic_index|}}}|{{#ifexpr:{{#expr:{{{glycemic_index}}} < 56}}|{{{glycemic_index}}}&nbsp;<span style="background-color:#CCFFCC">(Low GI)</span>|{{#ifexpr:{{#expr:{{{glycemic_index}}} < 70}}|{{{glycemic_index}}}&nbsp;<span style="background-color:#FFFF99">(Medium GI)</span>|{{{glycemic_index}}}&nbsp;<span style="background-color:#FFCC99">(High GI)</span>}}}}|}}|}}
| 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&nbsp;[[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}}}&nbsp;[[Gram|g]]
|label2=[[Fat]] |data2={{{fat}}}&nbsp;[[Gram|g]]
|label3=[[Carbohydrate]] |data3={{{carbohydrate}}}&nbsp;[[Gram|g]]
}} }}
 
<!--------------------Glycemic index----------------------->
|header33 = {{#if:{{{similar_dish|}}}|Similar dishes:|}}
| label32 = [[Glycemic index|{{allow wrap|Glycemic index}}]]
|data34 = {{{similar_dish|}}}
| data32 = {{#iferror:
{{#if:{{{glycemic_index|}}}
| {{smaller
| {{#ifexpr:{{#expr:{{{glycemic_index}}}<56}}
| {{{glycemic_index}}}&nbsp;({{background|#ccffcc|low}})
| {{#ifexpr:{{#expr:{{{glycemic_index}}}<70}}
| {{{glycemic_index}}}&nbsp;({{background|#ffff99|medium}})
| {{{glycemic_index}}}&nbsp;({{background|#ffcc99|high}})
}} }} }} }} }}
<!--------------------------------------------------------->
 
| label34 = Similar na lutoon
|header35 = {{#if:{{{other|}}}|Other information:|}}
|data36 data34 = {{{othersimilar_dish|}}}
 
| label36 = Iba pang impormasyon
|header37 = {{#if:{{{no_recipes<includeonly>|</includeonly>}}}||Recipes at [[Wikibooks]]:}}
| data36 = {{{other|}}}
|data38 = {{#if:{{{no_recipes<includeonly>|</includeonly>}}}||[[File: Wikibooks-logo-en-noslogan.svg|x20px|link=b:Cookbook|Cookbook]]&nbsp;[[b:Cookbook: {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]]}}
 
|header39 = {{#if:{{{no_commons<includeonly>|</includeonly>}}}||Media at [[Wikimedia Commons]]:}}
|data40 = {{#if:{{{no_commons<includeonly>|</includeonly>}}}||[[File:Commons-logo.svg|x20px|link=b:Wikimedia Commons|Wikimedia Commons]]&nbsp; [[b:commons:Special:Search/{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]]}}
 
| belowstyle = border-top:1px solid #aaa;padding-top:0.25em;{{{belowstyle|}}}
|below = {{#if:{{{complexity|}}}|Complexity:&nbsp;[[File:{{{complexity|}}}o5dots.svg|{{#switch:{{{complexity|}}}|1=Very easy|2=Easy|3=Average|4=Difficult|5=Very difficult}}]]}}
| below = {{Unbulleted list
|belowstyle = text-align:left; vertical-align:middle; text-align:middle; line-height:98%;
| {{#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|}}}}}|&nbsp;{{Commons-inline|short=yes|{{{commons|}}}|qid={{{qid|}}}|notrack=1|<!--
-->Media{{colon}} {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}} }} }}
}}
 
}}<noinclude>{{documentationDocumentation}}<!-- Add categories to the /doc subpage, not here! --></noinclude>