Template:Infobox Restaurant: Difference between revisions
Appearance
Automated upload via Philadelphia.Wiki content pipeline |
Automated upload via Philadelphia.Wiki content pipeline |
||
| Line 74: | Line 74: | ||
{{#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:{{{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:{{{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}}} ★{{#if:{{{reviews|}}}|}}</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:{{{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:{{{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>}} | ||
Revision as of 16:11, 23 December 2025
Infobox Restaurant
A standardized infobox for restaurant articles on Philadelphia.Wiki.
Usage
{{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 = $$
| established = 1985
| owner = Owner Name
| chef = Chef Name
| hours = Mon-Sun 11am-10pm
| seating = 75
| awards = James Beard nominee
}}
Parameters
| 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 |
| 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 |