ebooksgratis.com

See also ebooksgratis.com: no banners, no cookies, totally FREE.

CLASSICISTRANIERI HOME PAGE - YOUTUBE CHANNEL
Privacy Policy Cookie Policy Terms and Conditions
Template:Infobox PNG Place/Info - Wikipedia, the free encyclopedia

Template:Infobox PNG Place/Info

From Wikipedia, the free encyclopedia


[edit] Usage

To use this template:

  1. Copy the relevant blank template for City, Town, Suburb or Village from the sections below, 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.

The category the Place is listed in with be determined by the type used below.

[edit] Cities

For only the cities of PNG: Port Moresby, Lae and Mount Hagen.

{{Infobox PNG Place
| type         = city
| name         = 
| othername    =
| province     = 
| llg          = 
| district     =
| lang         =
| langarea     =
| dot_x        = 
| dot_y        = 
| image        = 
| caption      = 
| pop          = 
| popdate      = 
| poprank      = 
| est          = 
| postcode     = 
| elevation    = 
| coor         = 
| maxtemp      = 
| mintemp      = 
| rainfall     = 
| dist1        =
| location1    =
| dir1         =
}}

[edit] Town

The towns of PNG, eg Goroka, Rabaul, Wewak etc

{{Infobox PNG Place
| type         = town
| name         = 
| othername    =
| province     = 
| llg          = 
| district     =
| lang         =
| langarea     =
| dot_x        = 
| dot_y        = 
| image        = 
| caption      = 
| pop          =
| popdate      = 
| poprank      = 
| est          = 
| postcode     = 
| elevation    = 
| coor         = 
| maxtemp      = 
| mintemp      = 
| rainfall     = 
| dist1        =
| location1    =
| dir1         =
}}

[edit] Village

eg Salamaua

{{ Infobox PNG Place
| type         = village
| name         = 
| province     = 
| llg          = 
| district     =
| dot_x        = 
| dot_y        = 
| image        = 
| caption      = 
| pop          = 
| lang         =
| langarea     =
| elevation    = 
| coor         = 
| maxtemp      = 
| mintemp      = 
| rainfall     = 
| dist1        = 
| location1    = 
| dir1         =
}}

[edit] Suburb

Suburbs of cities, such as Konedobu or Waigani in Port Moresby.

{{Infobox PNG Place
| type         = suburb
| name         = 
| city         = 
| province     = 
| llg          = 
| dot_x        = 
| dot_y        = 
| image        = 
| caption      = 
| pop          = 
| postcode     = 
| elevation    = 
| coor         = 
| near-nw      = 
| near-n       = 
| near-ne      = 
| near-w       = 
| near-e       = 
| near-sw      = 
| near-s       = 
| near-se      = 
}}


[edit] Coordinates

For coordinates, use {{coord}} with display=inline,title. Please do not be overly precise.

[edit] Microformat

The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.

hCard uses HTML classes including:

  • "adr"
  • "county-name"
  • "fn"
  • "label"
  • "locality"
  • "nickname"
  • "note"
  • "org"
  • "region"
  • "street-address"
  • "vcard"

Geo is produced by calling {{coord}}, and uses HTML classes:

  • "geo"
  • "latitude"
  • "longitude"

Please do not rename or remove these classes.

When giving coordinates, please don't be overly precise.

[edit] Fields

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

Field Name Description Valid for
blank = all
Values
type infobox type 'city', 'suburb', 'village',
name name of locality plain text
othername other name of locality plain text
province cen = Central Province
ehp = Eastern Highlands
enb = East New Britain
esp = East Sepik
eng = Enga
gul = Gulf
mad = Madang
man = Manus
mbp = Milne Bay
mor = Morobe
nip = New Ireland
bou = North Solomons (Bougainville)

oro = Oro (Northern)
wsp = Sandaun (West Sepik)
sim = Simbu (Chimbu)
shp = Southern Highlands
wes = Western
whp = Western Highlands
wnb = West New Britain
ncd = National Capital District

llg local level government plain text
dot_x horizontal co-ordinate of location on map numerical, 1-250
dot_y vertical position of location on map numerical, 1-168
image generic image of the locality filename
caption caption for the locality image wikitext (can contain links)
city suburb plain text, link
pop population number
popdate census date year
poprank ranking of place per population 1st, 2nd, 3rd, 4th etc
lang main currently spoken languages wikitext (can contain links)
langarea local (indigenous) language area wikitext (can contain links)
postcode suburb, village number
est established year
elevation measured from sea level number (m)
coor Geographic coordinates plain text but use the {{coord}} template
maxtemp max average annual temperature number (°C)
mintemp mix average annual temperature number (°C)
rainfall average annual rainfall number (mm)
near-nw/n/ne/e/w/se/s/sw neighbours (suburb or ocean) suburb plain text, link
dist# See below number (km)
location# See below plain text, link
dir# See below plain text

Notes:

  • Dist#, Location# and Dir#: This is the distance, and optionally 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', and locations can be listed as 'location1' - 'location5'. Each dist# must be partnered with an appropriate location#. An optional field is dir#, a free text field, which equates to a direction.

eg. | dist1 = 36 | location1 = Lae | dir1 = north-west

will show: 36km north-west of Lae.

[edit] Notes

The infobox type affects the colour of the top bar of the infobox.

  • Yellow: city
  • Pink: suburb
  • Blue: town
  • Green: village
  • Gray: undefined



aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu -