Template:Infobox Neighborhood: Difference between revisions
Appearance
Automated upload via Philadelphia.Wiki content pipeline |
Automated upload via Philadelphia.Wiki content pipeline |
||
| Line 11: | Line 11: | ||
| image_caption = Optional caption | | image_caption = Optional caption | ||
| map = map_filename.png | | map = map_filename.png | ||
| type = Neighborhood and public park | |||
| location = Center City | |||
| region = South Philadelphia | | region = South Philadelphia | ||
| zip_codes = 19145, 19146 | | zip_codes = 19145, 19146 | ||
| Line 18: | Line 20: | ||
| density = 18,000/sq mi | | density = 18,000/sq mi | ||
| established = 1854 | | established = 1854 | ||
| founded = 1854 | |||
| named_for = Origin of name | | named_for = Origin of name | ||
| boundaries = North: Spring Garden, South: Washington Ave | | boundaries = North: Spring Garden, South: Washington Ave | ||
| adjacent_neighborhoods = Fishtown, Northern Liberties | |||
| major_streets = Broad Street, Passyunk Avenue | | major_streets = Broad Street, Passyunk Avenue | ||
| transit = Broad Street Line, SEPTA Bus 23 | | transit = Broad Street Line, SEPTA Bus 23 | ||
| landmarks = Italian Market, Palumbo Park | | landmarks = Italian Market, Palumbo Park | ||
| notable_landmarks = Italian Market, Palumbo Park | |||
| website = https://example.org | |||
}} | }} | ||
</pre> | </pre> | ||
| Line 38: | Line 44: | ||
| map || No || Map showing neighborhood location | | map || No || Map showing neighborhood location | ||
|- | |- | ||
| region || | | type || No || Type of area (neighborhood, park, etc.) | ||
|- | |||
| location || No || Location within the city (alias for region) | |||
|- | |||
| region || No || Broader area (North, South, West, etc.) | |||
|- | |- | ||
| zip_codes || No || ZIP code(s) covering the area | | zip_codes || No || ZIP code(s) covering the area | ||
| Line 51: | Line 61: | ||
|- | |- | ||
| established || No || Year established or incorporated | | established || No || Year established or incorporated | ||
|- | |||
| founded || No || Year founded (alias for established) | |||
|- | |- | ||
| named_for || No || Origin of the name | | named_for || No || Origin of the name | ||
|- | |- | ||
| boundaries || No || Geographic boundaries | | boundaries || No || Geographic boundaries | ||
|- | |||
| adjacent_neighborhoods || No || Neighboring areas | |||
|- | |- | ||
| major_streets || No || Principal thoroughfares | | major_streets || No || Principal thoroughfares | ||
| Line 61: | Line 75: | ||
|- | |- | ||
| landmarks || No || Notable landmarks | | landmarks || No || Notable landmarks | ||
|- | |||
| notable_landmarks || No || Notable landmarks (alias) | |||
|- | |||
| website || No || Official website | |||
|} | |} | ||
| Line 69: | Line 87: | ||
{{#if:{{{map|}}}|<div style="text-align: center; padding: 0.5em;">[[File:{{{map}}}|280px]]<div style="font-size: 90%;">Location in Philadelphia</div></div>}} | {{#if:{{{map|}}}|<div style="text-align: center; padding: 0.5em;">[[File:{{{map}}}|280px]]<div style="font-size: 90%;">Location in Philadelphia</div></div>}} | ||
<table style="width: 100%; border-collapse: collapse;"> | <table style="width: 100%; border-collapse: collapse;"> | ||
{{#if:{{{ | {{#if:{{{type|}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee; width: 35%;">Type</th><td style="padding: 0.3em 0.5em;">{{{type}}}</td></tr>}} | ||
{{#if:{{{location|{{{region|}}}}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee; width: 35%;">Location</th><td style="padding: 0.3em 0.5em;">{{{location|{{{region}}}}}}</td></tr>}} | |||
{{#if:{{{zip_codes|}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee;">ZIP code(s)</th><td style="padding: 0.3em 0.5em;">{{{zip_codes}}}</td></tr>}} | {{#if:{{{zip_codes|}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee;">ZIP code(s)</th><td style="padding: 0.3em 0.5em;">{{{zip_codes}}}</td></tr>}} | ||
{{#if:{{{area|}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee;">Area</th><td style="padding: 0.3em 0.5em;">{{{area}}}</td></tr>}} | {{#if:{{{area|}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee;">Area</th><td style="padding: 0.3em 0.5em;">{{{area}}}</td></tr>}} | ||
{{#if:{{{population|}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee;">Population</th><td style="padding: 0.3em 0.5em;">{{{population}}}{{#if:{{{population_year|}}}| ({{{population_year}}})}}</td></tr>}} | {{#if:{{{population|}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee;">Population</th><td style="padding: 0.3em 0.5em;">{{{population}}}{{#if:{{{population_year|}}}| ({{{population_year}}})}}</td></tr>}} | ||
{{#if:{{{density|}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee;">Density</th><td style="padding: 0.3em 0.5em;">{{{density}}}</td></tr>}} | {{#if:{{{density|}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee;">Density</th><td style="padding: 0.3em 0.5em;">{{{density}}}</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|{{{founded|}}}}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee;">Established</th><td style="padding: 0.3em 0.5em;">{{{established|{{{founded}}}}}}</td></tr>}} | ||
{{#if:{{{named_for|}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee;">Named for</th><td style="padding: 0.3em 0.5em;">{{{named_for}}}</td></tr>}} | {{#if:{{{named_for|}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee;">Named for</th><td style="padding: 0.3em 0.5em;">{{{named_for}}}</td></tr>}} | ||
{{#if:{{{boundaries|}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee;">Boundaries</th><td style="padding: 0.3em 0.5em;">{{{boundaries}}}</td></tr>}} | {{#if:{{{boundaries|}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee;">Boundaries</th><td style="padding: 0.3em 0.5em;">{{{boundaries}}}</td></tr>}} | ||
{{#if:{{{adjacent_neighborhoods|}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee;">Adjacent</th><td style="padding: 0.3em 0.5em;">{{{adjacent_neighborhoods}}}</td></tr>}} | |||
{{#if:{{{major_streets|}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee;">Major streets</th><td style="padding: 0.3em 0.5em;">{{{major_streets}}}</td></tr>}} | {{#if:{{{major_streets|}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee;">Major streets</th><td style="padding: 0.3em 0.5em;">{{{major_streets}}}</td></tr>}} | ||
{{#if:{{{transit|}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee;">Transit</th><td style="padding: 0.3em 0.5em;">{{{transit}}}</td></tr>}} | {{#if:{{{transit|}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee;">Transit</th><td style="padding: 0.3em 0.5em;">{{{transit}}}</td></tr>}} | ||
{{#if:{{{landmarks|}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee;">Landmarks</th><td style="padding: 0.3em 0.5em;">{{{landmarks}}}</td></tr>}} | {{#if:{{{landmarks|{{{notable_landmarks|}}}}}}|<tr><th style="text-align: left; padding: 0.3em 0.5em; background-color: #eee;">Landmarks</th><td style="padding: 0.3em 0.5em;">{{{landmarks|{{{notable_landmarks}}}}}}</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>}} | |||
</table> | </table> | ||
</div></includeonly> | </div></includeonly> | ||
Revision as of 03:21, 23 December 2025
Infobox Neighborhood
A standardized infobox for neighborhood articles on Philadelphia.Wiki.
Usage
{{Infobox Neighborhood
| name = Neighborhood Name
| image = filename.jpg
| image_caption = Optional caption
| map = map_filename.png
| type = Neighborhood and public park
| location = Center City
| region = South Philadelphia
| zip_codes = 19145, 19146
| area = 2.5 sq mi
| population = 45,000
| population_year = 2020
| density = 18,000/sq mi
| established = 1854
| founded = 1854
| named_for = Origin of name
| boundaries = North: Spring Garden, South: Washington Ave
| adjacent_neighborhoods = Fishtown, Northern Liberties
| major_streets = Broad Street, Passyunk Avenue
| transit = Broad Street Line, SEPTA Bus 23
| landmarks = Italian Market, Palumbo Park
| notable_landmarks = Italian Market, Palumbo Park
| website = https://example.org
}}
Parameters
| Parameter | Required | Description |
|---|---|---|
| name | Yes | Neighborhood name |
| image | No | Representative image |
| image_caption | No | Caption for the image |
| map | No | Map showing neighborhood location |
| type | No | Type of area (neighborhood, park, etc.) |
| location | No | Location within the city (alias for region) |
| region | No | Broader area (North, South, West, etc.) |
| zip_codes | No | ZIP code(s) covering the area |
| area | No | Geographic area |
| population | No | Population count |
| population_year | No | Year of population data |
| density | No | Population density |
| established | No | Year established or incorporated |
| founded | No | Year founded (alias for established) |
| named_for | No | Origin of the name |
| boundaries | No | Geographic boundaries |
| adjacent_neighborhoods | No | Neighboring areas |
| major_streets | No | Principal thoroughfares |
| transit | No | Public transit options |
| landmarks | No | Notable landmarks |
| notable_landmarks | No | Notable landmarks (alias) |
| website | No | Official website |