Template:Neighborhood: Difference between revisions

From Portland NET Wiki
Jump to navigation Jump to search
use "neighborhood" theme
remove quadrant based on PBEM review
Line 13: Line 13:
               }}</span>
               }}</span>
     </format>
     </format>
  </data>
  <data source="quad">
    <label>Quadrant</label>
    <format>[[:Category:{{{quad}}}_Teams|{{{quad}}}]]</format>
   </data>
   </data>
   <data source="population">
   <data source="population">
Line 41: Line 37:
"3",
"3",
"4"
"4"
]
},
"quad": {
"label": "Quadrant",
"description": "City quadrant (or sextant)",
"example": "North",
"type": "string",
"suggestedvalues": [
"North",
"Northeast",
"East",
"Southeast",
"South",
"Southwest"
]
]
},
},
Line 93: Line 75:
"paramOrder": [
"paramOrder": [
"name",
"name",
"quad",
"district",
"district",
"schools",
"schools",
Line 107: Line 88:
| population = 1,234
| population = 1,234
| district = 4
| district = 4
| quad = Southwest
| schools =
| schools =
* A Preschool
* A Preschool
Line 117: Line 97:
</noinclude><includeonly>
</noinclude><includeonly>
{{#if:{{{district|}}}|[[Category:District_{{{district}}}_Teams]]}}
{{#if:{{{district|}}}|[[Category:District_{{{district}}}_Teams]]}}
{{#if:{{{quad|}}}|[[Category:{{{quad}}}_Teams]]}}
</includeonly>
</includeonly>

Revision as of 15:56, 8 May 2025

Display some neighborhood statistics. When a single combined NET team serves multiple neighborhoods, use this template multiple times on the Team page.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

Name of a single neighborhood. Optional for single-neighborhood NETs. With a multi-neighborhood NET, use this parameter to label each individual neighborhood.

Default
{{SUBPAGENAME}} Neighborhood
Stringoptional
Districtdistrict

City Council district

Suggested values
1 2 3 4
Example
1
Numberoptional
Schoolsschools

Wikitext listing schools in the neighborhood

Example
* Elementary School
Contentoptional
Populationpopulation

Wikitext displaying the population and source

Example
1,234 (2010 census)
Contentoptional
Firestationsfirestations

Wikitext listing any fire stations in the neighborhood

Example
* PF&R Station 99
Contentoptional
areatypeareatype

Used when the area isn't technically a "neighborhood."

Default
Neighborhood
Example
(City)
Stringoptional

Example:

{{neighborhood
| population = 1,234
| district = 4
| schools =
* A Preschool
* An Elementary School
| firestations =
* PF&R Station 99
}}