Template:Infobox restaurant: Difference between revisions

From Robin's SM-201 Website
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{| class="infobox" cellspacing="5" style="width:25em; font-size:90%; border: 1px solid black;padding:0.5em  1em 0.5em 1em" align="right"
{| class="infobox" cellspacing="5" style="width:25em; font-size:90%; border: 1px solid black;padding:0.5em  1em 0.5em 1em" align="right"
|-
|-
|colspan="3" style="text-align: center; font-size: larger; background-color:{{{color|#ddf}}}; color:#000;" | '''{{{title|{{PAGENAME}}}}}'''
| colspan="3" style="text-align: center; font-size: larger; background-color:{{{color|#ddf}}}; color:#000;" | '''{{{title|{{PAGENAME}}}}}'''
|- valign="top"
|- valign="top"
|colspan="3" style="text-align: center; font-size: 90%; line-height: 15px;"|{{#if:{{{image|}}}|[[Image:{{{image}}}|{{#if:{{{imagesize|}}}|{{{imagesize}}}|220px}}| ]]<br /><small>{{{caption|}}}</small>}}
| colspan="3" style="text-align: center; font-size: 90%; line-height: 15px;"|{{#if:{{{image|}}}|[[Image:{{{image}}}|{{#if:{{{imagesize|}}}|{{{imagesize}}}|220px}}| ]]<br /><small>{{{caption|}}}</small>}}
 
| 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}}
|- valign = "top"
|- valign = "top"
{{#if: {{{slogan|}}} | {{!}} '''Slogan''' {{!!}} {{{slogan|}}} }}
| {{#if: {{{slogan|}}} | {{!}} '''Slogan''' {{!!}} {{{slogan|}}} }}
|- valign = "top"
|- valign = "top"
{{#if:  {{{established|}}} | {{!}} '''Established''' {{!!}}  {{{established|}}} }}
| {{#if:  {{{established|}}} | {{!}} '''Established''' {{!!}}  {{{established|}}} }}
|- valign ="top"
|- valign ="top"
| {{#if: {{{closed|}}} | {{!}} Closed {{!!}} {{{closed|}}} }}
| {{#if: {{{closed|}}} | {{!}} Closed {{!!}} {{{closed|}}} }}
Line 15: Line 13:
| {{#if: {{{owners|}}} | {{!}} Owners {{!!}} {{{owners|}}} }}
| {{#if: {{{owners|}}} | {{!}} Owners {{!!}} {{{owners|}}} }}
|- valign ="top"
|- valign ="top"
| {{#if: {{{previous-owner|}}} | {{!}} Prev owners(s) {{!!}} {{{previous-owner|}}} }}
| {{#if: {{{previous|}}} | {{!}} Prev owners(s) {{!!}} {{{previous|}}} }}
|- valign ="top"
|- valign ="top"
| {{#if: {{{manager|}}}| {{!}} Manager(s) {{!!}} {{{manager|}}} }}
| {{#if: {{{manager|}}}| {{!}} Manager(s) {{!!}} {{{manager|}}} }}
Line 26: Line 24:
|- valign ="top"
|- valign ="top"
| {{#if: {{{pastry-chef|}}} | {{!}} Pastry chef {{!!}} {{{pastry-chef|}}} }}
| {{#if: {{{pastry-chef|}}} | {{!}} Pastry chef {{!!}} {{{pastry-chef|}}} }}
|- valign ="top"
| {{#if: {{{reservations|}}} | {{!}} Reservations {{!!}} {{{reservations|}}} }}
|- valign ="top"
| {{#if: {{{capacity|}}} | {{!}} Seating capacity {{!!}} {{{capacity|}}} }}
|- valign ="top"
| {{#if: {{{dress-code|}}} | {{!}} Dress code {{!!}} {{{dress-code|}}} }}
|- valign ="top"
| {{#if: {{{rating|}}} | {{!}} Rating {{!!}} {{{rating|}}} }}
|- valign ="top"
| {{#if: {{{address|}}} | {{!}} Address {{!!}} {{{address|}}} }}
|- valign ="top"
| {{#if: {{{phone|}}} | {{!}} Telephone {{!!}} {{{phone|}}} }}
|- valign ="top"
| {{#if: {{{locality|}}} | {{!}} Locality {{!!}} {{{locality|}}} }}
|- valign ="top"
| {{#if: {{{locations|}}} | {{!}} Other locations {{!!}} {{{locations|}}} }}
|- valign ="top"
| {{#if: {{{other-info|}}} | {{!}} Other information {{!!}} {{{other-info|}}} }}
|- valign ="top"
| {{#if: {{{website|}}} | {{!}} Website {{!!}} {{{website|}}} }}
|}<includeonly>[[Category:Restaurants]]</includeonly>


 
<pre>
 
{{ infobox restaurant
 
|           name =
 
|           image =
 
|         slogan =  
 
|    established =
 
|         closed =  
| class13      = category
|         owners =  
| label13      = Dress code
|      prev-owner =  
| data13      = {{{dress-code|}}}
|         manager =
 
|       food-type =
| label14      = Rating
|       head-chef =  
| data14      = {{{rating|}}}
|           chef =  
 
|    pastry-chef =  
| label15    = Street address
|   reservations =  
| data15      = {{{street-address|}}}
|     dress-code =  
 
|         rating =  
| rowclass16  = adr
|         address =  
| class16    = locality
|           phone =  
| label16     = City
|       locality =  
| data16      = {{{city|}}}
|       locations =  
 
|      other-info =  
| label17    = County
|         website =  
| data17     = {{{county|}}}
 
| label18    = State
| data18      = {{{state|}}}
 
| label19    = {{{postcode-type|Postal/ZIP Code}}}
| data19      = {{{postcode|{{{zip|}}}}}}
 
| label20    = Country
| data20      = {{{country|}}}
 
| label21     = [[Geographic coordinate system|Coordinates]]
| data21      = {{#if:{{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|type:landmark|{{#if:{{{country|}}}|region:{{Country abbreviation|{{{country}}}}}}}}}}}
 
| label22    = Seating capacity
| data22      = {{{seating-capacity|}}}
 
| label23    = Reservations
| data23      = {{{reservations|}}}
 
| label24    = Other locations
| data24      = {{{other-locations|}}}
 
| label25    = {{{other-label|Other information}}}
| data25     = {{{other-information|}}}
 
| label26    = Website
| data26      = {{{website|}}}
}}
}}
</pre>

Revision as of 20:35, 30 October 2022

Infobox restaurant
{{ infobox restaurant
|            name =
|           image =
|          slogan = 
|     established =
|          closed = 
|          owners = 
|      prev-owner = 
|         manager =
|       food-type =
|       head-chef = 
|            chef = 
|     pastry-chef = 
|    reservations = 
|      dress-code = 
|          rating = 
|         address = 
|           phone = 
|        locality = 
|       locations = 
|      other-info = 
|         website = 
}}