Template:Infobox LocalBusiness: Difference between revisions
Appearance
Automated upload via Philadelphia.Wiki content pipeline |
Automated upload via Philadelphia.Wiki content pipeline |
||
| Line 62: | Line 62: | ||
| status || No || Active, Closed, etc. | | status || No || Active, Closed, etc. | ||
|} | |} | ||
=== Schema.org === | |||
This template automatically generates [https://schema.org/LocalBusiness LocalBusiness] structured data (Microdata) for SEO. | |||
[[Category:Infobox templates]] | [[Category:Infobox templates]] | ||
| Line 81: | Line 84: | ||
{{#if:{{{status|}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee;">Status</th><td style="padding: 0.3em 0.5em;">{{{status}}}</td></tr>}} | {{#if:{{{status|}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee;">Status</th><td style="padding: 0.3em 0.5em;">{{{status}}}</td></tr>}} | ||
</table> | </table> | ||
</div></includeonly> | </div><div itemscope itemtype="https://schema.org/LocalBusiness" style="display:none;"><span itemprop="name">{{{name|{{PAGENAME}}}}}</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></div></includeonly> | ||
Latest revision as of 18:34, 23 December 2025
Infobox LocalBusiness
[edit source]A standardized infobox for general business articles on Philadelphia.Wiki. Use more specific templates (Infobox Restaurant, etc.) when available.
Usage
[edit source]{{Infobox LocalBusiness
| name = Business Name
| image = filename.jpg
| image_caption = Optional caption
| type = Retail, Service, etc.
| address = 123 Main Street
| neighborhood = Fishtown
| coordinates = 39.9526,-75.1652
| phone = (215) 555-1234
| website = https://example.com
| established = 1952
| founder = Founder Name
| owner = Current Owner
| employees = 25
| hours = Mon-Sat 9am-6pm
| products = What they sell/provide
| status = Active or Closed
}}
Parameters
[edit source]| Parameter | Required | Description |
|---|---|---|
| name | Yes | Business name |
| image | No | Image filename |
| image_caption | No | Caption for the image |
| type | Yes | Type of business |
| address | Yes | Street address |
| neighborhood | Yes | Philadelphia neighborhood |
| coordinates | No | Lat,long for mapping |
| phone | No | Phone number |
| website | No | Official website |
| established | No | Year founded |
| founder | No | Original founder(s) |
| owner | No | Current owner(s) |
| employees | No | Number of employees |
| hours | No | Operating hours |
| products | No | Products or services offered |
| status | No | Active, Closed, etc. |
Schema.org
[edit source]This template automatically generates LocalBusiness structured data (Microdata) for SEO.