Template:Infobox New Zealand suburb/sandbox
Infobox New Zealand suburb/sandbox | |
---|---|
Suburb of | |
Country | New Zealand |
|
||
This is the template sandbox page for Template:Infobox New Zealand suburb (diff). |
This template is a customized wrapper for {{Infobox settlement}} and as such included in Category:Templates calling Infobox settlement. Any field from {{Infobox settlement}} can work so long as it is added to this template first. It will also emit the same hCard and Geo microformats as {{Infobox settlement}} . Questions? Just ask here or over at Template talk:Infobox settlement. |
This template uses Lua: |
Usage
[edit]All values except 'name' are optional. All information should be cited within the article.
{{Infobox New Zealand suburb
| name =
| image =
| img_caption =
| etymology =
| nickname =
| map =
| map_caption =
| location_map =
| coordinates =
| city =
| council =
| ward =
| board =
| sub_board =
| community_board =
| established =
| area =
| population =
| popsource = <ref></ref>
| popdate =
| postcode =
| trainstations =
| railwaystations =
| ferryterminals =
| buswaystations =
| airports =
| hospitals =
}}
|
Parameter descriptions
[edit]- name - name of the suburb. Where the article name has a qualifier (like "Devonport, New Zealand") please omit the qualifier unless there is a second New Zealand version of the suburb.
- image - link to an image of the suburb here. This should not be a map (these go further below). Use the full name, including the ".jpg" (or whatever the filetype) suffix, but without the "File:".
- img_caption, image_caption or caption1 - caption of the picture.
- map - provide a map image if available, see 'image' above for syntax.
- caption2 - provide a caption in the line of 'Location of (spell out 'name' by hand) in (spell out 'city1' by hand).
- location map - for use with Template:Location map, available New Zealand maps are in Category:New Zealand location map modules
- coordinates - for use with Template:Location map
- city1 - this is the city the suburb is in.
- council - this is the primary local authority for the suburb. Usually it will be a city council, but may occasionally be a district or unitary council.
- ward - defined ward of the city.
- board - this is the local board established for the suburb as defined by either the Local Government (Auckland Council) Act 2009, sections 10-13 or the Local Government Act 2002 part 4, subpart 1A. Presently only in use in Auckland.
- community board - this is the community board established for the suburb as defined by the Local Government Act 2002 part 4, subpart 2. For use outside Auckland.
- established - approximate year suburb was established. May in some cases be pre-European, but only if there was reasonable continuity.
- area - area for the size of the suburb in hectares. The "ha" will be added automatically.
- arearef or areasource - reference for the area figure.
- population - population size. Please use thousand-commas as in "10,200".
- popdate - date for the population count.
- popref or popsource - reference for the population count.
- trainstations - local train stations (local only please, NOT the closest). Only for use in Auckland suburbs.
- railwaystations - local railway stations (local only please, NOT the closest). For use everywhere except Auckland.
- ferryterminals - local ferry terminals (local only please, NOT the closest).
- buswaystations - local busway stations (local only please, NOT the closest). Only for use in Auckland suburbs along the Northern Busway.
- airports - local airports (local only please, NOT the closest). This does include smaller airfields and heliports (but not single helicopter landing pads such as for a hospital), as long as regular activity exists.
- hospitals - local hospitals (local only please, NOT the closest). This excludes most medical centres - hospitals as defined here would need to have in-patients (patients staying overnight) or be especially large/notable medical centres without inpatients.
north, northeast ... - location of the suburb with the surrounding suburbs. Restrict to one each per direction, unless there are clearly more than one in that direction directly adjacent (should not happen, there are rarely more than 8 directly surrounding suburbs!) Note that this field can be filled with non-suburb links such as Wellington Harbour. If such a non-suburb link is used, please put in round brackets such as the following example: (Waitākere Ranges).
- Compass points are now deprecated. Please consider adding {{Adjacent place}} to the article.
TemplateData
[edit]TemplateData is used by TemplateWizard, VisualEditor and other tools.
Infobox for suburbs in New Zealand
Parameter | Description | Type | Status | |
---|---|---|---|---|
Suburb name | name | If left empty, the infobox will use the article title
| Unknown | suggested |
Image | image | The primary image of the suburb | File | suggested |
Image caption | img_caption caption1 image_caption | no description | Unknown | optional |
etymology | etymology | no description | Unknown | optional |
nickname | nickname | no description | Unknown | optional |
Map | map | no description | Unknown | optional |
Map caption | map_caption caption2 | no description | Unknown | optional |
location_map | location_map | no description | Unknown | optional |
coordinates | coordinates | no description | Unknown | optional |
City | city city1 | The city that contains the suburb. Should usually be wikilinked.
| Unknown | suggested |
region | region | no description | Unknown | optional |
Council | council | Primary local authority for the suburb. Usually it will be a city council, but may be a district or unitary council. Wikilink where appropriate. | Unknown | optional |
ward | ward | no description | Unknown | optional |
Community board | community_board | The community board established for the suburb as defined by the Local Government Act 2002. For use outside Auckland. | Unknown | optional |
Local board (Auckland) | board | The local board established for the suburb. Only for use in Auckland. | Unknown | optional |
sub_board | sub_board | no description | Unknown | optional |
Year established | established | Year suburb was established. May in some cases be pre-European, but only if there was continuity. | Number | optional |
Area | area area_ha | Size of the suburb in hectares | Unknown | optional |
Area reference | arearef areasource | Reference for area data, using <ref> … </ref> | Unknown | optional |
Population | population | no description | Unknown | optional |
Population reference | popref popsource | Reference for population data, using <ref> … </ref> | Unknown | optional |
Population date | popdate | no description | Unknown | optional |
Postcode | postcode | Postcode for the suburb. If suburb has multiple, use 'postcodes'. | Unknown | optional |
Postcodes | postcodes | Postcodes for the suburb. Use 'postcode' if there is only one. | Unknown | optional |
trainstation | trainstation | no description | Unknown | optional |
trainstations | trainstations | no description | Unknown | optional |
railwaystation | railwaystation | no description | Unknown | optional |
railwaystations | railwaystations | no description | Unknown | optional |
ferryterminal | ferryterminal | no description | Unknown | optional |
ferryterminals | ferryterminals | no description | Unknown | optional |
buswaystation | buswaystation | no description | Unknown | optional |
buswaystations | buswaystations | no description | Unknown | optional |
airport | airport | no description | Unknown | optional |
airports | airports | no description | Unknown | optional |
hospital | hospital | no description | Unknown | optional |
hospitals | hospitals | no description | Unknown | optional |
north | north | no description | Unknown | deprecated |
northeast | northeast | no description | Unknown | deprecated |
east | east | no description | Unknown | deprecated |
southeast | southeast | no description | Unknown | deprecated |
south | south | no description | Unknown | deprecated |
southwest | southwest | no description | Unknown | deprecated |
west | west | no description | Unknown | deprecated |
northwest | northwest | no description | Unknown | deprecated |