Template:Infobox restaurant: Difference between revisions
Richardpruen (talk | contribs) m 1 revision imported |
imported>Reywas92 fix error |
||
Line 1: | Line 1: | ||
{{Infobox | {{#if:{{Has short description}} |<!--Do nothing--> |{{main other|{{#invoke:Type in location|main|Restaurant|{{comma separated entries | ||
|1= {{{city|}}} | |||
|2= {{{county|}}} | |||
|3= {{{state|}}} | |||
|4= {{{country|}}} | |||
}}}}}}}}{{Infobox | |||
| child = {{#ifeq:{{{embed|}}}|yes|yes}} | | child = {{#ifeq:{{{embed|}}}|yes|yes}} | ||
| title = {{{title|}}} | | title = {{{title|}}} | ||
Line 5: | Line 10: | ||
| aboveclass = fn org | | aboveclass = fn org | ||
| above = <includeonly>{{{name|{{PAGENAMEBASE}}}}}</includeonly> | | above = <includeonly>{{{name|{{PAGENAMEBASE}}}}}</includeonly> | ||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_width|}}}|sizedefault= | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_width|}}}|sizedefault=250px|maxsize=325px|alt={{{logo_alt|}}}}} | ||
| image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_width|}}}|sizedefault= | | image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_width|}}}|sizedefault=250px|maxsize=325px|alt={{{image_alt|}}}}} | ||
| caption2 = {{{image_caption|}}} | | caption2 = {{{image_caption|}}} | ||
| image3 = {{#invoke:Infobox mapframe|auto|mapframe-marker=restaurant}} | | image3 = {{#invoke:Infobox mapframe|auto|onByDefault=yes|mapframe-frame-width=250|mapframe-marker=restaurant}} | ||
| caption3 = {{#invoke:Infobox mapframe|autocaption}} | | caption3 = {{#invoke:Infobox mapframe|autocaption}} | ||
Line 23: | Line 28: | ||
}}}} | }}}} | ||
| header2 = {{#if: | | header2 = {{#if:{{{established|}}}{{{closed|}}}{{{current-owner|}}}{{{previous-owner|}}}{{{head-chef|}}}{{{chef|}}}{{{pastry-chef|}}}{{{food-type|}}}{{{dress-code|}}}{{{rating|}}}{{{street-address|}}}{{{city|}}}{{{state|}}}{{{county|}}}{{{postalcode|{{{zip|}}}}}}{{{country|}}}{{{coordinates|}}}{{{seating-capacity|}}}{{{reservations|}}}{{{other-locations|}}}{{{other-information|}}}{{{website|}}}|<span class="category">Restaurant</span> information}} | ||
| label3 = | | label3 = Established | ||
| data3 = {{{ | | data3 = {{{established|}}} | ||
| label4 = | | label4 = Closed | ||
| data4 = {{{ | | data4 = {{{closed|}}} | ||
| label5 = | | class5 = agent | ||
| data5 = {{{ | | label5 = Owner(s) | ||
| data5 = {{{current-owner|}}} | |||
| | | label6 = Previous {{nowrap|owner(s)}} | ||
| | | data6 = {{{previous-owner|}}} | ||
| data6 = {{{ | |||
| label7 = | | class7 = agent | ||
| data7 = {{{ | | label7 = {{nowrap|Manager(s)}} | ||
| data7 = {{{manager|}}} | |||
| class8 = agent | | class8 = agent | ||
Line 101: | Line 107: | ||
| label25 = Website | | label25 = Website | ||
| data25 = {{{website|}}} | | data25 = {{{website|}}} | ||
}}{{#invoke:Check for unknown parameters | check | ignoreblank = y | unknown = {{Main other|[[Category:Pages using infobox restaurant with unsupported parameters|_VALUE_{{PAGENAME}}]]}} | preview = Page using [[Template:Infobox restaurant]] with unknown parameter "_VALUE_" | chef | child | city | closed | coordinates | country | county | current-owner | dress-code | embed | established | food-type | head-chef | image | image_alt | image_caption | image_width | logo | logo_alt | logo_width | map_alt | map_caption | map_size | name | other-information | other-label | other-locations | pastry-chef | postcode | postcode-type | previous-owner | pushpin_map | rating | reservations | seating-capacity | }}{{#invoke:Check for unknown parameters | check | ignoreblank = y | unknown = {{Main other|[[Category:Pages using infobox restaurant with unsupported parameters|_VALUE_{{PAGENAME}}]]}} | preview = Page using [[Template:Infobox restaurant]] with unknown parameter "_VALUE_" | chef | child | city | closed | coordinates | country | county | current-owner | dress-code | embed | established | food-type | head-chef | image | image_alt | image_caption | image_width | logo | logo_alt | logo_width | map_alt | map_caption | map_size | manager | name | other-information | other-label | other-locations | pastry-chef | postcode | postcode-type | previous-owner | pushpin_map | rating | reservations | seating-capacity | state | street-address | website | zip | mapframe | mapframe-caption | mapframe-custom | mapframe-id | mapframe-coord | mapframe-wikidata | mapframe-point | mapframe-shape | mapframe-frame-width | mapframe-frame-height | mapframe-shape-fill | mapframe-shape-fill-opacity | mapframe-stroke-color | mapframe-stroke-colour | mapframe-stroke-width | mapframe-marker | mapframe-marker-color | mapframe-marker-colour | mapframe-geomask | mapframe-geomask-stroke-color | mapframe-geomask-stroke-colour | mapframe-geomask-stroke-width | mapframe-geomask-fill | mapframe-geomask-fill-opacity | mapframe-zoom | mapframe-length_km | mapframe-length_mi | mapframe-area_km2 | mapframe-area_mi2 | mapframe-frame-coordinates | mapframe-frame-coord | mapframe-switcher }}<noinclude> | ||
{{Documentation}}<!-- | {{Documentation}} | ||
<!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! --> | |||
</noinclude> | </noinclude> |