Template:Infobox restaurant: Difference between revisions
Content added Content deleted
Vivaporius (talk | contribs) m (1 revision imported) |
en>Centrist16 (Created page with "{{Infobox | child = {{#ifeq:{{{embed|}}}|yes|yes}} | title = {{{title|}}} | bodyclass = vcard | aboveclass = fn org | above = <includeonly>{{{name|{{PAGENAMEBASE}}}}}</includeonly> | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_width|}}}|sizedefault=frameless|alt={{{logo_alt|}}}}} | image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_width|}}}|sizedefault=frameless|alt={{{image_alt|}}}}} | captio...") |
||
Line 9: | Line 9: | ||
| caption2 = {{{image_caption|}}} |
| caption2 = {{{image_caption|}}} |
||
| image3 = {{#invoke:Infobox mapframe|auto|mapframe-marker=restaurant}} |
|||
⚫ | |||
| caption3 = {{#invoke:Infobox mapframe|autocaption}} |
|||
| rowclass1 = mergedtoprow |
|||
⚫ | |||
|alt = {{{map_alt|}}} |
|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 |
|float = center |
||
|label = |
|label = |
||
|border = infobox |
|border = infobox |
||
|caption = {{{map_caption|Location within {{#invoke:Location map|data|{{{pushpin_map}}}|name}} |
|caption = {{#if:{{{map_caption|}}}|{{{map_caption}}}|Location within {{#invoke:Location map|data|{{{pushpin_map}}}|name}} }} |
||
|width = {{#if:{{{map_size|}}}|{{{map_size}}}|225}} |
|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 |
| 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|}}}{{{coordinates|}}}{{{seating-capacity|}}}{{{reservations|}}}{{{other-locations|}}}{{{other-information|}}}{{{website|}}}|<span class="category">Restaurant</span> information}} |
||
| label3 = Slogan |
| label3 = Slogan |
||
Line 40: | Line 35: | ||
| class6 = agent |
| class6 = agent |
||
| label6 = |
| label6 = Owner(s) |
||
| data6 = {{{current-owner|}}} |
| data6 = {{{current-owner|}}} |
||
Line 55: | Line 50: | ||
| class10 = agent |
| class10 = agent |
||
| label10 = Pastry |
| label10 = {{W|Pastry chef}} |
||
| data10 = {{{pastry-chef|}}} |
| data10 = {{{pastry-chef|}}} |
||
Line 83: | Line 78: | ||
| data17 = {{{state|}}} |
| data17 = {{{state|}}} |
||
| label18 = Postal/ZIP |
| label18 = {{{postcode-type|Postal/ZIP Code}}} |
||
| data18 = {{{postcode|{{{zip|}}}}}} |
| data18 = {{{postcode|{{{zip|}}}}}} |
||
Line 89: | Line 84: | ||
| data19 = {{{country|}}} |
| data19 = {{{country|}}} |
||
| label20 = |
| label20 = {{W|Geographic coordinate system|Coordinates}} |
||
| data20 = {{#if:{{ |
| data20 = {{#if:{{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|type:landmark|{{#if:{{{country|}}}|region:{{Country abbreviation|{{{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 |
| label21 = Seating capacity |
||
Line 107: | Line 101: | ||
| 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 | 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> |
</noinclude> |