remove from sandbox
|
→Example: fix example
|
||
(14 intermediate revisions by 6 users not shown) | |||
Line 3:
{{#ifeq:{{SUBPAGENAME}}|sandbox||{{High-use}}}}
{{Parameter names example
|name |image |image_size |image_alt |caption |alternate_name |
}}
== Usage ==
<
{{Infobox food
| name =
| name_lang =
| name_italics =
| image =
|
| image_alt =
| caption =
Line 17 ⟶ 19:
| type =
| course =
|
| region =
|
| creator = <!-- or | creators = -->
| year =
Line 39 ⟶ 41:
| commons =
| other =
| no_recipes = true
}}
</syntaxhighlight>
{{clear}}
Line 60 ⟶ 62:
| caption || Leave empty for no image caption.
|-
|
|-
| image_alt || Alt text for the image. See [[MOS:ALT]]
Line 66 ⟶ 68:
| alternate_name || Alternate name for the dish.
|-
|
|-
| region || Region or state the dish was developed.
|-
| associated_cuisine || Associated cuisine, preferably linking to an existing ''Fooian cuisine'' article.
|-
| creator ''or'' creators || Creator or creators of the dish, for dishes with a known, well documented creator(s).
|-
| year || Year dish was invented.
Line 118 ⟶ 120:
| no_commons || Set {{para|no_commons|true}} to suppress the addition of Commons search links; omit to allow.
|}
==Example==
{{Infobox food
| name = <!--####DON'T ADD ANY OTHER NAME HERE####--> Panipuri
| image = Gol Guppas-Noida-UP-SP001.jpg
| alternate_name = Sanskrit name - Jalapatra<br>
''Paani patashi''/''Pani puri'' ([[Madhya Pradesh]], [[Uttar Pradesh]])<br>''Golgappa'', ''gol gappay'' or ''gol gappa'' ([[Haryana]], [[Delhi]], [[Punjab]], [[Karachi|Karachi or other Urdu-speaking regions of Pakistan]])<br>''Fuchka"/"Phuchka''/''Phuska/Puska''/''Fuska'' ([[Bengal]], [Bangladesh and West Bengal] [[Bihar]], [[Nepal]], [[Odisha|North Odisha]] and [[Assam]])<br>''Gupchup'' ([[Odisha]], [[Andhra Pradesh]], [[Telangana]], Southern [[Jharkhand]], [[Chhattisgarh]])
| image_upright = 1.1
| caption = Panipuri
| country =[[India]]
| region =[[Indian subcontinent]]
| type =[[Snack]]
| state =
| main_ingredient = Flour, [[spiced seawater]], onions, potatoes,
[[chickpea]]s
| variations =[[Sev puri]], [[Puri (food)|Puri]]
| calories =
| other =
|name_italics=}}
<syntaxhighlight lang="moin" style="overflow:auto;">
{{Infobox food
| name = <!--####DON'T ADD ANY OTHER NAME HERE####--> Panipuri
| image = Gol Guppas-Noida-UP-SP001.jpg
| alternate_name = Sanskrit name - Jalapatra<br>
''Paani patashi''/''Pani puri'' ([[Madhya Pradesh]], [[Uttar Pradesh]])<br>''Golgappa'', ''gol gappay'' or ''gol gappa'' ([[Haryana]], [[Delhi]], [[Punjab]], [[Karachi|Karachi or other Urdu-speaking regions of Pakistan]])<br>''Fuchka"/"Phuchka''/''Phuska/Puska''/''Fuska'' ([[Bengal]], [Bangladesh and West Bengal] [[Bihar]], [[Nepal]], [[Odisha|North Odisha]] and [[Assam]])<br>''Gupchup'' ([[Odisha]], [[Andhra Pradesh]], [[Telangana]], Southern [[Jharkhand]], [[Chhattisgarh]])
| image_upright = 1.1
| caption = Panipuri
| country =[[India]]
| region =[[Indian subcontinent]]
| type =[[Snack]]
| state =
| main_ingredient = Flour, [[spiced seawater]], onions, potatoes,
[[chickpea]]s
| variations =[[Sev puri]], [[Puri (food)|Puri]]
| calories =
| other =
|name_italics=}}
</syntaxhighlight>
== TemplateData ==
{{collapse top|[[Wikipedia:TemplateData|TemplateData]] documentation used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools}}
{{TemplateData header|noheader=1}}
View/edit template data '''[[:Template:Infobox food/TemplateData|here]]'''
{{Infobox food/TemplateData}}
{{collapse bottom}}
== Microformats ==
Line 127 ⟶ 173:
== See also ==
* {{clc|Pages using infobox food with unknown parameters}}
* [[Template:Infobox nutritional value]]
* [[Template:Infobox brand]]
|