Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Template:Infobox Restaurant
Template
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
<noinclude> {{documentation}} == Infobox Restaurant == A standardized infobox for restaurant articles on Philadelphia.Wiki. Includes schema.org Restaurant structured data. === Usage === <pre> {{Infobox Restaurant | name = Restaurant Name | image = filename.jpg | image_caption = Optional caption | address = 123 Main Street | neighborhood = Center City | coordinates = 39.9526,-75.1652 | phone = (215) 555-1234 | website = https://example.com | cuisine = Italian, American | price_range = $$ | rating = 4.5 | reviews = 1250 | established = 1985 | owner = Owner Name | chef = Chef Name | hours = Mon-Sun 11am-10pm | seating = 75 | awards = James Beard nominee }} </pre> === Parameters === {| class="wikitable" ! Parameter !! Required !! Description |- | name || Yes || Restaurant name |- | image || No || Image filename (without File: prefix) |- | image_caption || No || Caption for the image |- | address || Yes || Street address |- | neighborhood || Yes || Philadelphia neighborhood |- | coordinates || No || Lat,long for mapping |- | phone || No || Phone number in (215) 555-1234 format |- | website || No || Official website URL |- | cuisine || Yes || Type(s) of cuisine served |- | price_range || No || $ to $$$$ scale |- | rating || No || Google rating (e.g., 4.2) |- | reviews || No || Number of Google reviews |- | established || No || Year opened |- | owner || No || Current owner(s) |- | chef || No || Head chef or executive chef |- | hours || No || Operating hours |- | seating || No || Seating capacity |- | awards || No || Notable awards or recognition |} === Schema.org === This template automatically generates [https://schema.org/Restaurant Restaurant] structured data (JSON-LD) for SEO. The schema follows the hierarchy: Restaurant β FoodEstablishment β LocalBusiness β Organization/Place. [[Category:Infobox templates]] </noinclude><includeonly><div style="float: right; clear: right; margin: 0 0 1em 1em; width: 300px; background-color: #f8f9fa; border: 1px solid #a2a9b1; padding: 0; font-size: 88%;"><div style="background-color: #ccc; padding: 0.5em; margin: 0; text-align: center; font-weight: bold; font-size: 110%;">{{{name|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|<div style="text-align: center; padding: 0.5em; margin: 0;">[[File:{{{image}}}|280px]]{{#if:{{{image_caption|}}}|<div style="font-size: 90%;">{{{image_caption}}}</div>}}</div>}}<table style="width: 100%; border-collapse: collapse; margin: 0; padding: 0; border-spacing: 0;">{{#if:{{{address|}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee; width: 35%;">Address</th><td style="padding: 0.3em 0.5em;">{{{address}}}</td></tr><tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee;">Map</th><td style="padding: 0.3em 0.5em;">[https://www.google.com/maps/search/?api=1&query={{urlencode:{{{address}}}, Philadelphia, PA}} View on Google Maps]</td></tr>}}{{#if:{{{neighborhood|}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee;">Neighborhood</th><td style="padding: 0.3em 0.5em;">[[{{{neighborhood}}}]]</td></tr>}}{{#if:{{{phone|}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee;">Phone</th><td style="padding: 0.3em 0.5em;">{{{phone}}}</td></tr>}}{{#if:{{{website|}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee;">Website</th><td style="padding: 0.3em 0.5em;">[{{{website}}} Official site]</td></tr>}}{{#if:{{{cuisine|}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee;">Cuisine</th><td style="padding: 0.3em 0.5em;">{{{cuisine}}}</td></tr>}}{{#if:{{{price_range|}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee;">Price range</th><td style="padding: 0.3em 0.5em;">{{{price_range}}}</td></tr>}}{{#if:{{{rating|}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee;">Rating</th><td style="padding: 0.3em 0.5em;">{{{rating}}} / 5 stars</td></tr>}}{{#if:{{{reviews|}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee;">Reviews</th><td style="padding: 0.3em 0.5em;">{{{reviews}}} on Google</td></tr>}}{{#if:{{{established|}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee;">Established</th><td style="padding: 0.3em 0.5em;">{{{established}}}</td></tr>}}{{#if:{{{owner|}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee;">Owner</th><td style="padding: 0.3em 0.5em;">{{{owner}}}</td></tr>}}{{#if:{{{chef|}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee;">Chef</th><td style="padding: 0.3em 0.5em;">{{{chef}}}</td></tr>}}{{#if:{{{hours|}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee;">Hours</th><td style="padding: 0.3em 0.5em;">{{{hours}}}</td></tr>}}{{#if:{{{seating|}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee;">Seating</th><td style="padding: 0.3em 0.5em;">{{{seating}}}</td></tr>}}{{#if:{{{awards|}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee;">Awards</th><td style="padding: 0.3em 0.5em;">{{{awards}}}</td></tr>}}</table></div><div itemscope itemtype="https://schema.org/Restaurant" style="display:none;"><span itemprop="name">{{{name|{{PAGENAME}}}}}</span><span itemprop="servesCuisine">{{{cuisine|}}}</span><span itemprop="priceRange">{{{price_range|}}}</span><span itemprop="telephone">{{{phone|}}}</span><span itemprop="url">{{{website|}}}</span><span itemprop="address" itemscope itemtype="https://schema.org/PostalAddress"><span itemprop="streetAddress">{{{address|}}}</span><span itemprop="addressLocality">Philadelphia</span><span itemprop="addressRegion">PA</span><span itemprop="addressCountry">US</span></span>{{#if:{{{rating|}}}|<span itemprop="aggregateRating" itemscope itemtype="https://schema.org/AggregateRating"><span itemprop="ratingValue">{{{rating|}}}</span><span itemprop="bestRating">5</span>{{#if:{{{reviews|}}}|<span itemprop="reviewCount">{{{reviews|}}}</span>}}</span>}}</div></includeonly>
Summary:
Please note that all contributions to Philadelphia.Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Philadelphia.Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Template used on this page:
Template:Documentation
(
edit
)
Search
Search
Editing
Template:Infobox Restaurant
Add topic