Template:Neighborhood: Difference between revisions

From Portland NET Wiki
Created page with "<infobox layout="stacked"> <title source="name"> <default>{{SUBPAGENAME}} Neighborhood</default> </title> <data source="population"> <label>Population</label> </data> <data source="schools"> <label>Schools</label> </data> <data source="firestations"> <label>Fire Stations</label> </data> </infobox> <noinclude> <templatedata> { "params": { "population": { "label": "Population", "description": "Wikitext displaying the population and..."
 
add quadrant and district
Line 3: Line 3:
     <default>{{SUBPAGENAME}} Neighborhood</default>
     <default>{{SUBPAGENAME}} Neighborhood</default>
   </title>
   </title>
  <data source="district">
    <label>District</label>
  </data>
  <data source="quad">
    <label>Quadrant</label>
  </data>
   <data source="population">
   <data source="population">
     <label>Population</label>
     <label>Population</label>
Line 17: Line 23:
{
{
"params": {
"params": {
"district": {
"label": "District",
"description": "City Council district",
"example": "1, 2, 3, 4",
"type": "number",
"suggestedvalues": [
"1, 2, 3, 4"
]
},
"quad": {
"label": "Quadrant",
"description": "City quadrant (or sextant)",
"example": "North, Northeast, East, Southeast, South, Southwest",
"type": "string",
"suggestedvalues": [
"North, Northeast, East, Southeast, South, Southwest"
]
},
"population": {
"population": {
"label": "Population",
"label": "Population",
Line 39: Line 63:
"format": "block",
"format": "block",
"paramOrder": [
"paramOrder": [
"schools",
"quad",
        "district",
        "schools",
"population",
"population",
"firestations"
"firestations"
Line 46: Line 72:
</templatedata>
</templatedata>
</noinclude>
</noinclude>
<includeonly>
{{#if:{{{district|}}}|[[Category:District_{{{district}}}_Teams]]}}
{{#if:{{{quad|}}}|[[Category:{{{quad}}}_Teams]]}}
</includeonly>