Template:Neighborhood: Difference between revisions
Jump to navigation
Jump to search
add city council district logo |
use inverted icons |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<infobox> | <infobox theme="neighborhood"> | ||
<title source="name"> | <title source="name"> | ||
<format>{{{name}}} {{{areatype|Neighborhood}}}</format> | <format>{{{name}}} {{{areatype|Neighborhood}}}</format> | ||
| Line 6: | Line 6: | ||
<data source="district"> | <data source="district"> | ||
<label>District</label> | <label>District</label> | ||
<format>[[:Category:District_{{{district}}}_Teams|{{{district}}}]] <span class="district_logo">{{#switch:{{{district}}} | <format>[[:Category:District_{{{district}}}_Teams|District {{{district}}}]] <span class="district_logo">{{#switch:{{{district}}} | ||
|1=[[File:TMrain.png]] | |1=[[File:TMrain.inv.png|link=:Category:District_{{{district}}}_Teams]] | ||
|2=[[File:TMsalmon.png]] | |2=[[File:TMsalmon.inv.png|link=:Category:District_{{{district}}}_Teams]] | ||
|3=[[File:TMleaf.png]] | |3=[[File:TMleaf.inv.png|link=:Category:District_{{{district}}}_Teams]] | ||
|4=[[File:TMrose.png]] | |4=[[File:TMrose.inv.png|link=:Category:District_{{{district}}}_Teams]] | ||
}}</span> | }}</span> | ||
</format> | </format> | ||
</data> | </data> | ||
<data source="population"> | <data source="population"> | ||
| Line 26: | Line 22: | ||
<data source="firestations"> | <data source="firestations"> | ||
<label>Fire Stations</label> | <label>Fire Stations</label> | ||
</data> | |||
<data source="beecn"> | |||
<label>[https://www.portland.gov/pbem/about-beecn BEECN Sites]</label> | |||
</data> | </data> | ||
</infobox><noinclude> | </infobox><noinclude> | ||
| Line 41: | Line 40: | ||
"3", | "3", | ||
"4" | "4" | ||
] | ] | ||
}, | }, | ||
| Line 87: | Line 72: | ||
"type": "string", | "type": "string", | ||
"default": "Neighborhood" | "default": "Neighborhood" | ||
}, | |||
"beecn": { | |||
"label": "Nearby BEECN Sites", | |||
"example": "* SE-34 (Col. Summers Park)", | |||
"type": "content" | |||
} | } | ||
}, | }, | ||
| Line 93: | Line 83: | ||
"paramOrder": [ | "paramOrder": [ | ||
"name", | "name", | ||
"district", | "district", | ||
"schools", | "schools", | ||
"population", | "population", | ||
"firestations", | "firestations", | ||
"areatype" | "areatype", | ||
"beecn" | |||
] | ] | ||
} | } | ||
| Line 107: | Line 97: | ||
| population = 1,234 | | population = 1,234 | ||
| district = 4 | | district = 4 | ||
| schools = | | schools = | ||
* A Preschool | * A Preschool | ||
| Line 115: | Line 104: | ||
}} | }} | ||
</nowiki> | </nowiki> | ||
</noinclude><includeonly> | </noinclude> | ||
{{#if:{{{district|}}}|[[Category:District_{{{district}}}_Teams]]}} | <includeonly>{{#if:{{{district|}}}|[[Category:District_{{{district}}}_Teams]]}}</includeonly> | ||
</includeonly> | |||
Latest revision as of 14:58, 15 May 2025
Display some neighborhood statistics. When a single combined NET team serves multiple neighborhoods, use this template multiple times on the Team page.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Name of a single neighborhood. Optional for single-neighborhood NETs. With a multi-neighborhood NET, use this parameter to label each individual neighborhood.
| String | optional |
| District | district | City Council district
| Number | optional |
| Schools | schools | Wikitext listing schools in the neighborhood
| Content | optional |
| Population | population | Wikitext displaying the population and source
| Content | optional |
| Firestations | firestations | Wikitext listing any fire stations in the neighborhood
| Content | optional |
| areatype | areatype | Used when the area isn't technically a "neighborhood."
| String | optional |
| Nearby BEECN Sites | beecn | no description
| Content | optional |
Example:
{{neighborhood
| population = 1,234
| district = 4
| schools =
* A Preschool
* An Elementary School
| firestations =
* PF&R Station 99
}}