Template:Infobox restaurant: Difference between revisions

From WikiMD's Medical Encyclopedia

No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox restaurant
<includeonly>
| name = Example Restaurant
{| class="infobox" style="width:22em; font-size:90%; text-align:left; border:1px solid #aaa; background-color:#f9f9f9;"
| logo = ExampleLogo.png
|-
| logo_alt = Logo of Example Restaurant
! colspan="2" style="text-align:center; background-color:#ccf; font-size:110%; font-weight:bold;" | {{{name|}}}
| logo_caption = Example Restaurant Logo
|-
| image = ExampleImage.jpg
| colspan="2" style="text-align:center;" | {{#if:{{{logo|}}}|[[File:{{{logo}}}|frameless|alt={{{logo_alt|}}}]]|}}
| image_alt = Example interior view
{{#if:{{{logo_caption|}}}|<div style="font-size:85%; font-style:italic;">{{{logo_caption}}}</div>|}}
| image_caption = The dining area
|-
| established = 1985
| colspan="2" style="text-align:center;" | {{#if:{{{image|}}}|[[File:{{{image}}}|frameless|alt={{{image_alt|}}}]]|}}
| current_owner = John Doe
{{#if:{{{image_caption|}}}|<div style="font-size:85%; font-style:italic;">{{{image_caption}}}</div>|}}
| head_chef = Jane Smith
|-
| food_type = Italian
! Established
| dress_code = Casual
| {{{established|}}}
| rating = ★★★☆☆
|-
| street_address = 123 Main Street
! Current Owner
| city = Example City
| {{{current_owner|}}}
| state = Example State
|-
| country = Example Country
! Head Chef
| coordinates = {{coord|37.7749|-122.4194}}
| {{{head_chef|}}}
| website = https://www.example.com
|-
| reservations = Recommended
! Food Type
| {{{food_type|}}}
|-
! Dress Code
| {{{dress_code|}}}
|-
! Rating
| {{{rating|}}}
|-
! Street Address
| {{{street_address|}}}
|-
! City
| {{{city|}}}
|-
! State
| {{{state|}}}
|-
! Country
| {{{country|}}}
|-
! Coordinates
| {{{coordinates|}}}
|-
! Website
| {{#if:{{{website|}}}|[{{{website}}} Official website]|}}
|-
! Reservations
| {{{reservations|}}}
|}
</includeonly>
<noinclude>
This is the `Template:Infobox Restaurant` for creating infoboxes for restaurant-related pages. Copy and paste the following usage into your article and fill in the fields as applicable:
 
<pre>
{{Infobox Restaurant
| name =  
| logo =  
| logo_alt =  
| logo_caption =  
| image =  
| image_alt =  
| image_caption =  
| established =  
| current_owner =  
| head_chef =  
| food_type =  
| dress_code =  
| rating =  
| street_address =  
| city =  
| state =  
| country =  
| coordinates =  
| website =  
| reservations =  
}}
}}
</pre>
</noinclude>

Latest revision as of 03:42, 12 January 2025


This is the `Template:Infobox Restaurant` for creating infoboxes for restaurant-related pages. Copy and paste the following usage into your article and fill in the fields as applicable:

{{Infobox Restaurant
| name = 
| logo = 
| logo_alt = 
| logo_caption = 
| image = 
| image_alt = 
| image_caption = 
| established = 
| current_owner = 
| head_chef = 
| food_type = 
| dress_code = 
| rating = 
| street_address = 
| city = 
| state = 
| country = 
| coordinates = 
| website = 
| reservations = 
}}