Template:Neighborhood: Difference between revisions

From Portland NET Wiki
Jump to navigation Jump to search
encourage * over <li> for indentation
Multi-neighborhood NET teams should use this template, with the "name" parameter, for each individual neighborhood.
Line 1: Line 1:
<infobox layout="stacked">
<infobox layout="stacked">
   <title source="name">
   <title source="name">
    <format>{{{name}}} Neighborhood</format>
     <default>{{SUBPAGENAME}} Neighborhood</default>
     <default>{{SUBPAGENAME}} Neighborhood</default>
   </title>
   </title>
Line 67: Line 68:
"example": "* PF&R Station 99",
"example": "* PF&R Station 99",
"type": "content"
"type": "content"
},
"name": {
"label": "Name",
"description": "Name of a single neighborhood. Optional for single-neighborhood NETs. With a multi-neighborhood NET, use this parameter to label each individual neighborhood.",
"type": "string",
"default": "{{SUBPAGENAME}} Neighborhood"
}
}
},
},
"description": "Display some neighborhood statistics.",
"description": "Display some neighborhood statistics.\n\nWhen a single combined NET team serves multiple neighborhoods, use this template multiple times on the Team page.",
"format": "block",
"format": "block",
"paramOrder": [
"paramOrder": [
"name",
"quad",
"quad",
"district",
"district",

Revision as of 08:37, 2 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
Quadrantquad

City quadrant (or sextant)

Suggested values
North Northeast East Southeast South Southwest
Example
North
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

Example:

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