Khác biệt giữa bản sửa đổi của “Bản mẫu:Thông tin món ăn”

Bách khoa toàn thư mở Wikipedia
Nội dung được xóa Nội dung được thêm vào
Không có tóm lược sửa đổi
Đã lùi lại sửa đổi 62253846 của Maihuongly (thảo luận)
Thẻ: Lùi sửa
Dòng 1: Dòng 1:
{{Hộp thông tin
{{Hộp thông tin
| bodyclass = hrecipe adr
| bodyclass = hrecipe adr
| headerstyle = background:{{colors infotaules|cultura}}; font-size:120%;

| titleclass = fn
| titlestyle = fn
| title = {{Hộp thông tin/Định dạng đầu|t
| title = <includeonly><span {{#if:{{{name_lang|}}}|lang="{{{name_lang}}}"}} {{#ifeq:{{{name_italics|false}}}|true|style="font-style: italic;"|}}>{{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}</span></includeonly>
|tên=<span {{#if:{{{name_lang|}}}|lang="{{{name_lang}}}"}} {{#ifeq:{{{name_italics|false}}}|true|style="font-style: italic;"|}}>{{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}</span>
|màu=FFCC66
}}


| image = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|}}} |sizedefault=frameless |alt={{{image_alt|{{{alt|}}}}}} }}
| 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;}}
| captionstyle = {{#if:{{{caption|}}} |padding-bottom:0.25em;border-bottom:1px solid #aaa;}}
| caption = {{{caption|}}}
| caption = {{#if:{{{image|}}}
| {{{caption|}}}
| {{#invoke:Wikidata | claim | property=P18 | qualifier =P2096
| list=false }} }}
| captionstyle = font-size:90%;


| labelstyle = padding-top:0.245em;line-height:1.15em;<!--(modified longitem)-->
| labelstyle = padding-top:0.245em;line-height:1.15em; background:#eeeeee;<!--(modified longitem)-->
padding-right:0.65em;<!--(to ensure some gap between (non-wrapped) labels and subsequent data)-->
padding-right:0.65em;<!--(to ensure some gap between (non-wrapped) labels and subsequent data)-->


Dòng 23: Dòng 30:


| rowclass5 = note
| rowclass5 = note
| label5 = Nguồn gốc
| label5 = Địa điểm xuất xứ
| class5 = country-name
| class5 = country-name
| data5 = {{{country|}}}
| data5 = {{{country|}}}
Dòng 32: Dòng 39:
| data7 = {{{region|}}}
| data7 = {{{region|}}}


| label9 = Ẩm thực liên kết
| label9 = Ẩm thực quốc gia kết hợp
| data9 = {{{national_cuisine|}}}
| data9 = {{{national_cuisine|}}}


| rowclass11 = note
| rowclass11 = note
| label11 = Sáng tạo bởi
| label11 = Người sáng tạo{{#if:{{{creators|}}}|s}}
| class11 = author
| class11 = author
| data11 = {{#if:{{{creators|}}} |{{{creators}}} |{{{creator|}}} }}
| data11 = {{#if:{{{creators|}}} |{{{creators}}} |{{{creator|}}} }}
Dòng 71: Dòng 78:
<!--------------------------------------------------------->
<!--------------------------------------------------------->


| label17 = Nhiệt độ khi dùng
| label17 = Nhiệt độ dùng
| data17 = {{{served|}}}
| data17 = {{{served|}}}


Dòng 78: Dòng 85:
| data19 = {{{main_ingredient|}}}
| data19 = {{{main_ingredient|}}}


| label21 = Thành phần nói chung
| label21 = Thành phần sử dụng phổ biến
| class21 = ingredient
| class21 = ingredient
| data21 = {{{minor_ingredient|}}}
| data21 = {{{minor_ingredient|}}}
Dòng 88: Dòng 95:
| label25 = {{longitem|style=line-height:1.1em;white-space:nowrap;
| label25 = {{longitem|style=line-height:1.1em;white-space:nowrap;
| 1 = [[Năng lượng thực phẩm]]<br/><span style="font-size:90%;font-weight:normal;"><!--
| 1 = [[Năng lượng thực phẩm]]<br/><span style="font-size:90%;font-weight:normal;"><!--
-->(per {{#switch:{{{serving_size|}}}
-->(cho mỗi {{#switch:{{{serving_size|}}}
| 100 grams |100 [[Gram|g]] |100 g |100g = 100&nbsp;[[Gram|g]] serving)
| 100 grams |100 [[Gram|g]] |100 g |100g = 100&nbsp;[[Gram|g]] khẩu phần)
| #default = {{{serving_size|}}} serving)
| #default = {{{serving_size|}}} khẩu phần)
}}<!-----></span>
}}<!-----></span>
}}
}}
| class25 = nutrition
| class25 = nutrition
| data25 = {{#if:{{{calories|}}}
| data25 = {{#if:{{{calories|}}}
| {{{calories}}}&nbsp;[[Ca-lo|kcal]]<!--
| {{{calories}}}&nbsp;[[Calo|kcal]]<!--
-->{{#iferror:&nbsp;({{#expr:{{{calories}}}*4.1868 round 0}} [[kilojoule|kJ]])}}<!--
-->{{#iferror:&nbsp;({{#expr:{{{calories}}}*4.1868 round 0}} [[kilojoule|kJ]])}}<!--
-->{{{calories_ref|}}}
-->{{{calories_ref|}}}
Dòng 102: Dòng 109:
<!--------------------Nutritional value-------------------->
<!--------------------Nutritional value-------------------->
| label27 = {{longitem|style=line-height:1.1em;white-space:nowrap;
| label27 = {{longitem|style=line-height:1.1em;white-space:nowrap;
| 1 = [[Dinh dưỡng|Giá trị dinh dưỡng]]<br/><span style="font-size:90%;font-weight:normal;"><!--
| 1 = [[dinh dưỡng|Giá trị dinh dưỡng]]<br/><span style="font-size:90%;font-weight:normal;"><!--
-->(per {{#switch:{{{serving_size|}}}
-->(cho mỗi {{#switch:{{{serving_size|}}}
| 100 grams |100 [[Gram|g]] |100 g |100g = 100&nbsp;[[Gram|g]] serving)
| 100 grams |100 [[Gram|g]] |100 g |100g = 100&nbsp;[[Gram|g]] khẩu phần)
| #default = {{{serving_size|}}} serving)
| #default = {{{serving_size|}}} khẩu phần)
}}<!-- --></span>
}}<!-- --></span>
}}
}}
Dòng 113: Dòng 120:
|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;
|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;
|datastyle=line-height:1.3em;
|label1=[[Protein]] |data1={{{protein}}}&nbsp;[[Gram|g]]
|label1=[[Chất đạm]] |data1={{{protein}}}&nbsp;[[Gram|g]]
|label2=[[Chất béo]] |data2={{{fat}}}&nbsp;[[Gram|g]]
|label2=[[Chất béo]] |data2={{{fat}}}&nbsp;[[Gram|g]]
|label3=[[Carbohydrate]] |data3={{{carbohydrate}}}&nbsp;[[Gram|g]]
|label3=[[Carbohydrate]] |data3={{{carbohydrate}}}&nbsp;[[Gram|g]]
Dòng 119: Dòng 126:


<!--------------------Glycemic index----------------------->
<!--------------------Glycemic index----------------------->
| label32 = [[Chỉ số đường huyết|{{allow wrap|Glycemic index}}]]
| label32 = [[Chỉ số Glycemic|{{allow wrap|Chỉ số Glycemic}}]]
| data32 = {{#iferror:
| data32 = {{#iferror:
{{#if:{{{glycemic_index|}}}
{{#if:{{{glycemic_index|}}}
Dòng 139: Dòng 146:


| belowstyle = border-top:1px solid #aaa;padding-top:0.25em;{{{belowstyle|}}}
| belowstyle = border-top:1px solid #aaa;padding-top:0.25em;{{{belowstyle|}}}
| below = {{#if:{{{no_recipes|}}} <includeonly>|</includeonly> |{{Wikibooks-inline|short=yes|Đặc biệt:Tìm kiếm|Nấu ăn:{{{nấu ăn|{{{name|{{PAGENAME}}}}}}}}}} }}<br><!--
| below = {{Unbulleted list
| {{#if:{{{no_recipes|}}} <includeonly>|</includeonly> |{{Wikibooks-inline|short=yes|Special:Search|Cookbook: {{{cookbook|{{{name|{{PAGENAME}}}}}}}}}} }}
-->{{#if:{{{no_commons|}}} <includeonly>|</includeonly> |{{Commons-inline|short=yes|Special:Search/{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}|Media{{colon}} {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}} }}
| {{#if:{{{no_commons|}}} <includeonly>|</includeonly> |<!--
-->{{#if:{{{commons|}}}{{#invoke:Commons link|hasGalleryOrCategory|qid={{{qid|}}}}}|&nbsp;{{Commons-inline|short=yes|{{{commons|}}}|qid={{{qid|}}}|<!--
-->Media{{colon}} {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}} }} }}
}}


}}<noinclude>{{Documentation}}</noinclude>
}}<noinclude>{{Tài liệu}}</noinclude>

Phiên bản lúc 05:51, ngày 10 tháng 6 năm 2020

Thông tin món ăn

Tài liệu bản mẫu[xem] [sửa] [lịch sử] [làm mới]

Sử dụng

{{{tên}}}
[[File:{{{hình}}}|frameless]]
{{{chú thích hình}}}
Tên khác{{{tên khác}}}
Loại{{{loại}}}
Bữa{{{bữa}}}
Địa điểm xuất xứ{{{xuất xứ}}}
Vùng hoặc bang{{{vùng miền}}}
Ẩm thực quốc gia kết hợp{{{ẩm thực quốc gia kết hợp}}}
Người sáng tạo{{{sáng tạo}}}
Năm sáng chế{{{năm phát minh}}}
Nhiệt độ dùng{{{nhiệt độ dùng}}}
Thành phần chính{{{thành phần chính}}}
Thành phần sử dụng phổ biến{{{thành phần khác}}}
Biến thể{{{biến thể}}}
Năng lượng thực phẩm
(cho mỗi khẩu phần)
{{{calories}}} kcal
Món ăn tương tự{{{món ăn tương tự}}}
Thông tin khác{{{thông tin khác}}}
[[wikibooks:vi:Đặc biệt:Tìm kiếm/Nấu ăn:{{{tên}}}|Nấu ăn:{{{tên}}}]]
[[Commons:Special:Search/{{{tên}}}|Media: {{{tên}}}]]
{{Thông tin món ăn
| tên = 
| hình = 
| chú thích hình = 
| tên khác = 
| loại =
| bữa =
| xuất xứ = 
| vùng miền = 
| ẩm thực quốc gia kết hợp =
| sáng tạo = 
| năm phát minh =
| nhiệt độ dùng = 
| thành phần chính = 
| thành phần khác =
| biến thể = 
| calories = 
| món ăn tương tự =
| thông tin khác = 
}}

Parameters

Copy and paste the infobox above into the desired article and fill in the values after the equals (=) sign. All of the fields are optional. For questions or examples please see the discussion page.

  • name – This comes to the top of the box. If omitted, will be inferred from the page title.
  • image – If there's not an image available, leave the field empty.
  • caption – Leave empty for no image caption.
  • alternate name – Alternate name for the dish.
  • country – Country of origin of the dish.
  • region – Region or state the dish was developed
  • creator – Creator(s) of the dish
  • course – Appetizer, Dessert, Drink, Main course, Salad, or Side dish
  • type – e.g. "pie", "biscuit", etc. Do not use if redundant to |course=
  • served – Serving temperature for the dish.
  • main_ingredient – Main ingredient(s) for the dish.
  • variations – Variations for making the dish.
  • calories – Calories per serving
  • other – Other information

Microformats

Adr

The HTML mark up produced by this template includes an ADR microformat, which makes postal addresses (or their component parts, such as regions, postal codes or country-names) parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. For more information about the use of microformats on Wikipedia, please see the microformat project.

ADR uses HTML classes including:

  • adr
  • country-name
  • extended-address
  • locality
  • postal-code
  • region
  • street-address

Please do not rename or remove these classes.

Recipe

The HTML mark up produced by this template includes an hRecipe microformat, which makes food recipes and individual foods parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person. For more information about the use of microformats on Wikipedia, please see the microformat project.

hRecipe uses HTML classes including:

  • fn
  • ingredient
  • instructions
  • [more, tba]

Please do not rename or remove these classes.