|
|
| (10 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| <infobox theme="neighborhood"> | | <infobox theme="neighborhood"> |
| <title source="name"> | | <title source="name"> |
| <format>{{{name}}} {{{areatype|Neighborhood}}}</format> | | <default>{{#if: {{{no_name|}}} || Name {{{areatype|Neighborhood}}} }}</default> |
| <default>{{SUBPAGENAME}} {{{areatype|Neighborhood}}}</default>
| |
| </title> | | </title> |
| <data source="district"> | | <data source="something"></data> |
| <label>District</label>
| | </infobox> |
| <format>[[:Category:District_{{{district}}}_Teams|District {{{district}}}]] <span class="district_logo">{{#switch:{{{district}}}
| |
| |1=[[File:TMrain.png|link=:Category:District_{{{district}}}_Teams]]
| |
| |2=[[File:TMsalmon.png|link=:Category:District_{{{district}}}_Teams]]
| |
| |3=[[File:TMleaf.png|link=:Category:District_{{{district}}}_Teams]]
| |
| |4=[[File:TMrose.png|link=:Category:District_{{{district}}}_Teams]]
| |
| }}</span></format>
| |
| </data>
| |
| <data source="population">
| |
| <label>Population</label>
| |
| </data>
| |
| <data source="schools">
| |
| <label>Schools</label>
| |
| </data>
| |
| <data source="firestations">
| |
| <label>Fire Stations</label>
| |
| </data>
| |
| <data source="beecn">
| |
| <label>[https://www.portland.gov/pbem/about-beecn BEECN Sites]</label>
| |
| </data>
| |
| </infobox><noinclude> | |
| <templatedata>
| |
| {
| |
| "params": {
| |
| "district": {
| |
| "label": "District",
| |
| "description": "City Council district",
| |
| "example": "1",
| |
| "type": "number",
| |
| "suggestedvalues": [
| |
| "1",
| |
| "2",
| |
| "3",
| |
| "4"
| |
| ]
| |
| },
| |
| "population": {
| |
| "label": "Population",
| |
| "description": "Wikitext displaying the population and source",
| |
| "example": "1,234 (2010 census)",
| |
| "type": "content"
| |
| },
| |
| "schools": {
| |
| "label": "Schools",
| |
| "description": "Wikitext listing schools in the neighborhood",
| |
| "example": "* Elementary School",
| |
| "type": "content"
| |
| },
| |
| "firestations": {
| |
| "label": "Firestations",
| |
| "description": "Wikitext listing any fire stations in the neighborhood",
| |
| "example": "* PF&R Station 99",
| |
| "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"
| |
| },
| |
| "areatype": {
| |
| "label": "areatype",
| |
| "description": "Used when the area isn't technically a \"neighborhood.\"",
| |
| "example": "(City)",
| |
| "type": "string",
| |
| "default": "Neighborhood"
| |
| },
| |
| "beecn": {
| |
| "label": "Nearby BEECN Sites",
| |
| "example": "* SE-34 (Col. Summers Park)",
| |
| "type": "content"
| |
| }
| |
| },
| |
| "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",
| |
| "paramOrder": [
| |
| "name",
| |
| "district",
| |
| "schools",
| |
| "population",
| |
| "firestations",
| |
| "areatype",
| |
| "beecn"
| |
| ]
| |
| }
| |
| </templatedata>
| |
| Example:
| |
| <nowiki>
| |
| {{neighborhood
| |
| | population = 1,234
| |
| | district = 4
| |
| | schools =
| |
| * A Preschool
| |
| * An Elementary School
| |
| | firestations =
| |
| * PF&R Station 99
| |
| }}
| |
| </nowiki>
| |
| </noinclude><includeonly>
| |
| {{#if:{{{district|}}}|[[Category:District_{{{district}}}_Teams]]}}
| |
| </includeonly>
| |