الگو:Infobox Singapore neighbourhood
This template generates an infobox about a specified Singapore neighborhood.
Usage
ویرایش[[File:{{{image}}}|frameless|upright=1.1]] | |
[[File:{{{imagemap}}}|frameless|upright=1.1]] | |
انگلیسی | {{{englishname}}} |
---|---|
چینی | {{{chinesename}}} |
– پینیین | {{{pinyin}}} |
– هاکین POJ | {{{poj}}} |
– Teochew Peng'im | {{{pengim}}} |
مالایی | {{{malayname}}} |
تامیلی | {{{tamilname}}} |
– Romanisation | {{{tamilr}}} |
مختصات | {{{coordinates}}} |
مساحت کل | {{{totalarea}}} km² |
منطقه مسکونی | {{{residentialarea}}} km² |
جمعیت | {{{population}}} |
واحد مسکونی | {{{dwellingunits}}} |
Projected ultimate | {{{projectedultimate}}} |
Ruling party | {{{rulingparty}}} |
Places of Interest | {{{placesofinterest}}} |
{{Infobox Singapore neighbourhood | englishname = | image = | caption = | imagemap = | chinesename = | poj = | pengim = | pinyin = | malayname = | tamilname = | rulingparty = | coordinates = | totalarea = | residentialarea = | dwellingunits = | projectedultimate = | placesofinterest = | population = }}
Parameters
ویرایشAll parameters are optional, except englishname
Parameter | Description |
---|---|
englishname | name of the neighborhood in English |
image | name of an image showing a representative location in the neighborhood |
caption | caption for the image |
imagemap | name of an image showing the location or map of the neighborhood |
chinesename | name of the neighborhood in Chinese |
pinyin | Chinese name in پینیین script (requires chinesename to be defined) |
poj | Hokkien POJ romanisation (requires chinesename to be defined) |
pengim | Teochew Peng'im romanisation (requires chinesename to be defined) |
malayname | name of the neighborhood in Malay |
tamilname | name of the neighborhood in Tamil |
coordinates | geographic coordinates using {{coord}} |
totalarea | total area of the neighborhood in square kilometers (as a raw number, without the km² suffix) |
residentialarea | residential area of the neighborhood in square kilometers (as a raw number, without the km² suffix) |
population | total population of the neighborhood |
dwellingunits | current number of dwelling units |
projectedultimate | projected ultimate number of dwelling units |
rulingparty | current ruling party |
placesofinterest | short list of wikilinked places of interest (if they have individual articles) |
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}} را بکار نبرید.