User:AussieLegend/Infobox Papua New Guinea place/doc

Usage
Infobox Papua New Guinea place is the standard infobox used in Papua New Guinea articles. Papua New Guinea articles using Infobox settlement should be converted to use this infobox.

To use this template

 * 1) Copy the relevant blank template from the Blank Infobox Template Page into the beginning of your document, remembering to put the code at the very top of the article and the first word of the article on the very next line.
 * 2) Enter values for the fields as outlined in the table below. Fields left blank will automatically be hidden.
 * 3) Preview.
 * 4) Save the page with an appropriate edit summary.

Examples

 * Examples of this template can found on the Examples page.

Fields
All fields used by this template are optional. The following fields are available:

Type
Setting the  parameter affects the colour of the top bar of the infobox.
 * Yellow: city
 * Pink: suburb, village
 * Green: town
 * Blue: llg
 * Purple: district
 * Ochre: province
 * Grey:

Places will be categorised according to the setting of the parameter.
 * Use city only for Port Moresby, Lae and Mount Hagen.
 * Use town for towns, eg Goroka, Rabaul, Wewak etc
 * Use village for all others, eg Salamaua

Footnotes fields
Any references should be placed within the respective "_footnotes" field and not within the field reserved solely for a numeric value. For example, place the reference used for the area of City X in the parameter and not in the  parameter. Otherwise, an error may result.

Unformatted numbers and expression errors
Certain fields require numeric values to be entered in an unformatted/raw fashion—i.e. 1000.0 NOT 1,000.0. If an expression error is present, simply remove any commas or spaces from the number.

This is the distance and approximate direction to another location. The '#' is replaced with a number between 1 and 5. Therefore distances for up to five locations can be listed using the range 'dist1' - 'dist5'. Direction from the locations can be specified use 'dir1' - 'dir5' and the locations can be listed as 'location1' - 'location5'. Each dist# must be partnered with an appropriate location#. Dir# is optional.

Deprecated field tracking
Articles that include deprecated fields are automatically added to.

Subpages

 * Template:Infobox Papua New Guinea place
 * Template:Infobox Papua New Guinea place/Blank
 * Template:Infobox Papua New Guinea place/Examples
 * Template:Infobox Papua New Guinea place/doc
 * Template:Infobox Papua New Guinea place/sandbox
 * Template:Infobox Papua New Guinea place/testcases
 * Template:Infobox Papua New Guinea place/pagelinks

Microformat
{{reflist]}

Town PNG fr:Modèle:Infobox Ville de Papouasie-Nouvelle-Guinée