Template:Infobox restaurant: Difference between revisions

m
1 revision imported
m (1 revision imported)
m (1 revision imported)
 
(One intermediate revision by one other user not shown)
Line 9:
| caption2 = {{{image_caption|}}}
 
| image3 = {{#invoke:Infobox mapframe|auto|mapframe-marker=restaurant}}
| data1 = {{#if:{{{pushpin_map|}}}|{{Location map|{{{pushpin_map|}}}
| caption3 = {{#invoke:Infobox mapframe|autocaption}}
 
| rowclass1 = mergedtoprow
| data1 = {{#if:{{both|{{{pushpin_map|}}}|{{{coordinates|}}}}}|{{Location map|{{{pushpin_map|}}}
|alt = {{{map_alt|}}}
|coordinates = {{{coordinates|}}}
|lat = {{#if:{{{latm|}}}{{{latNS|}}}| |{{{latitude|}}} }}
|long = {{#if:{{{longm|}}}{{{longEW|}}}| |{{{longitude|}}} }}
|lat_deg = {{#if:{{{latm|}}}{{{latNS|}}}|{{{latd|}}}| }}
|lat_min = {{#if:{{{latm|}}}{{{latNS|}}}|{{{latm|}}}| }}
|lat_sec = {{#if:{{{lats|}}}{{{latNS|}}}|{{{lats|}}}| }}
|lat_dir = {{#if:{{{latNS|}}}|{{{latNS|}}}| }}
|lon_deg = {{#if:{{{longm|}}}{{{longEW|}}}|{{{longd|}}}| }}
|lon_min = {{#if:{{{longm|}}}{{{longEW|}}}|{{{longm|}}}| }}
|lon_sec = {{#if:{{{longs|}}}{{{longEW|}}}|{{{longs|}}}| }}
|lon_dir = {{#if:{{{longEW|}}}|{{{longEW|}}}| }}
|float = center
|label =
|border = infobox
|caption = {{#if:{{{map_caption|}}}|{{{map_caption}}}|Location within {{#invoke:Location map|data|{{{pushpin_map}}}|name}} }}}
|width = {{#if:{{{map_size|}}}|{{{map_size}}}|225}}
}}}}
 
| header2 = {{#if:{{{slogan|}}}{{{established|}}}{{{closed|}}}{{{current-owner|}}}{{{previous-owner|}}}{{{head-chef|}}}{{{chef|}}}{{{pastry-chef|}}}{{{food-type|}}}{{{dress-code|}}}{{{rating|}}}{{{street-address|}}}{{{city|}}}{{{state|}}}{{{county|}}}{{{postalcode|{{{zip|}}}}}}{{{country|}}}{{{latd|}}}{{{latitude|}}}{{{longd|}}}{{{longitude|}}}{{{coordinates|}}}{{{seating-capacity|}}}{{{reservations|}}}{{{other-locations|}}}{{{other-information|}}}{{{website|}}}|<span class="category">Restaurant</span> information}}
 
| label3 = Slogan
Line 40 ⟶ 35:
 
| class6 = agent
| label6 = Current {{nowrap|ownerOwner(s)}}
| data6 = {{{current-owner|}}}
 
Line 55 ⟶ 50:
 
| class10 = agent
| label10 = {{W|Pastry Chefchef}}
| data10 = {{{pastry-chef|}}}
 
Line 83 ⟶ 78:
| data17 = {{{state|}}}
 
| label18 = {{{postcode-type|Postal/ZIP codeCode}}}
| data18 = {{{postcode|{{{zip|}}}}}}
 
Line 89 ⟶ 84:
| data19 = {{{country|}}}
 
| label20 = [[{{W|Geographic coordinate system|Coordinates]]}}
| data20 = {{#if:{{both|{coordinates|}}}|{{latitude#invoke:Coordinates|coordinsert|{{{latd|coordinates}}}|type:landmark|{{#if:{{{country|}}}|region:{{{longitudeCountry abbreviation|{{{longd|country}}}}}}}}|}}}
{{Geobox coor|{{{latitude|{{{latd|}}}}}}|{{{latm|}}}|{{{lats|}}}|{{{latNS|}}}|{{{longitude|{{{longd|}}}}}}|{{{longm|}}}|{{{longs|}}}|{{{longEW|}}}|type:landmark{{#if: {{{iso_region|}}}|_region:{{{iso_region}}}|{{#if:{{{country|}}}|_region:{{Country abbreviation|{{{country}}}|}}|}}}}|{{#if:{{{coordinates_display|}}}|title|μ}}={{{coordinates_display|}}}|wrap={{yesno|{{{coordinates_wrap|}}}|yes=1|no=|blank=1}}}}|{{{coordinates|}}}}}
 
| label21 = Seating capacity
Line 107 ⟶ 101:
| label25 = 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 | slogan | 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>
}}{{#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_"
{{Documentation}}
| embed | name | logo | logo_width | logo_alt | image | image_width | image_alt | image_caption | pushpin_map | map_alt | map_caption | map_size | slogan | established | closed | current-owner | previous-owner | head-chef | chef | pastry-chef | food-type | dress-code | rating | street-address | city | state | county | postcode | zip | country | latitude | latd | latm | lats | latNS | longitude | longd | longm | longs | longEW | iso_region | coordinates_display | coordinates_wrap | coordinates | seating-capacity | reservations | other-locations | other-label | other-information | website
<!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! -->
}}<noinclude>
{{documentation}}
</noinclude>