الگو:جعبه اطلاعات اماکن استرالیا

توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]


کاربرد ویرایش

برای استفاده از این الگو

الگوی خالی مربوطه را در ابتدای مقاله پیست کنید.

  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. بازبینی کنید.
  4. صفحه را با خلاصه ویرایش مناسب ذخیره کنید.


نمونه

Fields ویرایش

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

Field Name نوضیحات قابل استفاده در
خالی= قابل استفاده در همه موارد
Source/Notes مقادیر
type نوع جعبه اطلاعات اماکن استرالیا 'شهر', 'حومه', 'شهرک', 'lga', 'ناحیه'
name نام منطقه نوشتار ساده
city نام شهر مربوطه برای حومه فهرست شهرهای استرالیا نوشتار ساده، می تواند لینک شود.
state نام ایالت "استرالیای جنوبی"، "ویکتوریا"، "نیو ساوت ولز"، "کوئینزلند"، "قلمرو شمالی"، "استرالیای غربی"، "تاسمانی"، "قلمرو پایتختی استرالیا" یا خالی بگذارید (استرالیا). نوشتار ساده، لطفا لینک نکنید.
image تصویر عمومه منطقه نام فایل
imagesize عرض تصویر عمومه منطقه عدد
caption زیرنویس تصویر عمومه منطقه wikitext (can contain links)
coordinates See Notes below
alternative_location_map forces pushpin map region, city Forces the pushpin map to use an alternative, rather than the state map, regardless of the contents of |state=. Name of the alternative map
force_national_map forces pushpin map region, city Forces the pushpin map to use the Australian, rather than the state map, regardless of the contents of |state=. "yes" or leave blank, plain text, do not link
latd
latm
lats
latitude region, lga, city, town |coordinates= field degrees
minutes
seconds (optional for region and lga)
longd
longm
longs
longitude region, lga, city, town |coordinates= field degrees
minutes
seconds (optional for region and lga)
pushpin_map_caption caption region, lga, city, town optional, plain text or linked
pushpin_label_position label position region, lga, city, town left, right, top, bottom
default: right
pop population all; use approx for region ABS number
pop_footnotes population footnote for references all; use approx for region ABS wikitext (can contain links)
Best when used with <ref> </ref> tags and {{cite web}}
poprank population rank city List of cities in Australia by population number
density population density city, region ABS unformatted number (people/km²)
density_footnotes population density footnote for references city, region ABS wikitext (can contain links)
Best when used with <ref> </ref> tags and {{cite web}}
est established year
abolished abolished year
gazetted date the place name was gazetted date
postcode suburb, town List of postcodes in the Australian Capital Territory
List of postcodes in New South Wales
List of postcodes in Queensland
List of postcodes in South Australia
List of postcodes in Tasmania
List of postcodes in Victoria
List of postcodes in Western Australia
List of postcodes in the Northern Territory
number
elevation measured from sea level in metres town, suburb fallingrain.com unformatted number (m)
elevation_footnotes elevation footnote for references town, suburb fallingrain.com wikitext (can contain links)
Best when used with <ref> </ref> tags and {{cite web}}
area city, lga, region ABS unformatted number (km²)
area_footnotes area footnote for references city, lga, region ABS wikitext (can contain links)
Best when used with <ref> </ref> tags and {{cite web}}
timezone timezone city, region plain text, link
utc utc offset city, region "+" followed by number
timezone-dst summer timezone city, region plain text, link
utc-dst summer utc offset city, region "+" followed by number
mayor Mayor of LGA lga plain text
mayortitle Title of the mayor lga Wiki text. If omitted (but mayor is provided), defaults to "شهردار". Otherwise likely to be "Lord Mayor", "President" or "Chairman" (etc.). The text can include a link to a list of mayors etc.
dist# See Notes below town, suburb, city (other cities) travelmate.com.au, maps, Google earth, whereis (get directions), Route planner - Victoria, Australia unformatted number (km)
dir# See Notes below town, suburb, city (other cities) plain text, link
location# See Notes below town, suburb, city maps, Google earth plain text, link
lga local government area suburb, town, region NSW Geographical Names Board (NSW only) plain text, link
lga2-lga4 2nd-4th LGAs suburb, town, region plain text, link
seat LGA seat lga plain text, link
region Name of region LGA is in lga plain text, link
county lands administrative division (not in all areas) Lands administrative divisions of Australia
NSW Geographical Names Board (NSW only)
plain text, link
parish NSW, Qld, Vic only Lands administrative divisions of Australia
NSW Geographical Names Board (NSW only)
plain text
hundred parts of SA & NT only Lands administrative divisions of Australia plain text
stategov the state government electoral area plain text, link
stategov2-stategov5 2nd-5th state government electoral areas plain text, link
fedgov the federal government electoral area plain text, link
fedgov2-fedgov4 2nd-4th federal government electoral areas plain text, link
logo Logo of LGA lga Individual LGA website image link
logosize width of LGA logo lga Individual LGA website number
url LGA website address lga Individual LGA website url link
maxtemp max average annual temperature suburb, town Bureau of Meteorology number (°C)
maxtemp_footnotes footnote for references suburb, town Bureau of Meteorology wikitext (can contain links)
Best when used with <ref> </ref> tags and {{cite web}}
mintemp mix average annual temperature suburb, town Bureau of Meteorology number (°C)
mintemp_footnotes footnote for references suburb, town Bureau of Meteorology wikitext (can contain links)
Best when used with <ref> </ref> tags and {{cite web}}
rainfall average annual rainfall suburb, town Bureau of Meteorology unformatted number (mm)
rainfall_footnotes footnote for references suburb, town Bureau of Meteorology wikitext (can contain links)
Best when used with <ref> </ref> tags and {{cite web}}
near-n/ne/e/se/s/sw/w/nw neighbours (suburb, lga or landmark) suburb, lga plain text, link
near Central to neighbours suburb, lga replaces name (best used without any near-* e.g. to specify a #link to the main text for further info) plain text, link

Notes ویرایش

نوع ویرایش

نوع جعبه اطلاعات رنگ پس زمینه جعبه را تغییر می‌دهد.

  • زرد: شهر
  • صورتی: حومه
  • سبز: شهرک
  • آبی: lga
  • بنفش: ناحیه
  • خاکستری نامعلوم

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 {{{area_footnotes}}} and not in the {{{area}}} 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.

Coordinates ویرایش

برای مختصات‌دهی، از الگوی {{coord}} به همراه دستور display=inline,title استفاده کنید. لطفاً از درج مختصات بسیار دقیق خودداری کنید.

Dist#, Dir# and Location# ویرایش

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.

Where to find information ویرایش

Deprecated field tracking ویرایش

Articles that include the deprecated fields "|propval=", |pushpin_map=", "|loc-x=" and "|loc-y=" are automatically added to Category:Australian place articles using missing parameters.

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 articles 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 از کلاس‌های HTML زیر استفاده می‌کند:

  • adr
  • agent
  • category
  • county-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • uid
  • url
  • vcard

مختصات با فراخوانی {{coord}} و استفاده از کلاس‌های اچ‌تی‌م‌ال زیر تولید می‌شود:

  • geo
  • latitude
  • longitude

خواهشمند است این کلاس‌ها را تغییرنام ندهید یا حذف نکنید. عناصر تودرتویی که از آنها استفاده می‌کنند را نیز به حالت جمع‌شده درنیاورید.

دقت ویرایش

هنگام ارائه مختصات، خواهشمند است از سطح مناسبی از دقت استفاده کنید. پارامتر |name= از الگوی {{coord}} را بکار نبرید.