Template:Infobox restaurant: Difference between revisions

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search
No edit summary
 
imported>Reywas92
fix error
 
(One intermediate revision by one other user not shown)
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=frameless|alt={{{logo_alt|}}}}}
| 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=frameless|alt={{{image_alt|}}}}}
| 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:{{{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}}
| 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      = Slogan
| label3      = Established
| data3      = {{{slogan|}}}
| data3      = {{{established|}}}


| label4      = Established
| label4      = Closed
| data4      = {{{established|}}}
| data4      = {{{closed|}}}


| label5      = Closed
| class5      = agent
| data5      = {{{closed|}}}
| label5      = Owner(s)
| data5      = {{{current-owner|}}}


| class6     = agent
| label6     = Previous {{nowrap|owner(s)}}
| label6      = Owner(s)
| data6      = {{{previous-owner|}}}
| data6      = {{{current-owner|}}}


| label7      = Previous {{nowrap|owner(s)}}
| class7      = agent
| data7      = {{{previous-owner|}}}
| 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 | 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_" | 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}}<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS. -->
{{Documentation}}
<!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! -->
</noinclude>
</noinclude>

Latest revision as of 20:38, 12 December 2022