الگو:Infobox Hungarian settlement

از ویکی‌پدیا، دانشنامهٔ آزاد
Infobox Hungarian settlement
کشورمجارستان
استان{{{county}}}
منطقه زمانییوتی‌سی +۱ (CET)
 • تابستانی (DST)یوتی‌سی +2 (CEST)
کد منطقه‎+۳۶
توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]

Usage[ویرایش]

{{{name}}}
{{{native_name}}}
{{{other_name}}}
{{{settlement_type}}}
{{{official_name}}}
[[پرونده:{{{image_skyline}}}|250px|{{{image_caption}}}]]
{{{image_caption}}}
[[پرونده:{{{image_flag}}}|100px|حاشیه|پرچم {{{name}}}]]
پرچم
[[پرونده:{{{image_shield}}}|100px|نشان {{{name}}}]]
نشان
کشورمجارستان
استان{{{county}}}
ناحیه{{{subregion}}}
Diocese (RC){{{diocese}}}
رتبه{{{rank}}}
کد کی‌اس‌اچ{{{ksh_code}}}
مدیریت
 • شهردار{{{mayor}}}
مساحت
 • مجموع۹۸۷۶۵ کیلومتر مربع (۳۸۱۳۳ مایل مربع)
 • شهری
۴۳۲۱۰ کیلومتر مربع (۱۶۶۸۰ مایل مربع)
 • کلان‌شهری
۵۵۵۵۵ کیلومتر مربع (۲۱۴۵۰ مایل مربع)
بلندی
۲ متر (۷ پا)
بیشینه بلندی
۳ متر (۱۰ پا)
کمینه بلندی
۱ متر (۳ پا)
جمعیت
 ({{{population_as_of}}})[۳]
 • مجموع۱۲٬۳۴۵
 • تراکم۰٫۱۲/کیلومتر مربع (۰٫۳۲/مایل مربع)
 • شهری
۶۷٬۸۹۰
 • تراکم شهری۱٫۶/کیلومتر مربع (۴٫۱/مایل مربع)
 • کلان‌شهری
۴۵٬۶۷۸
 • تراکم کلان‌شهری۰٫۸۲/کیلومتر مربع (۲٫۱/مایل مربع)
منطقه زمانییوتی‌سی +۱ (CET)
 • تابستانی (DST)یوتی‌سی +2 (CEST)
کدپستی
{{{postal_code}}}
کد منطقه‎+۳۶ {{{area_code}}}
وبگاه
{{{footnotes}}}
{{Infobox Hungarian settlement
<!-- General information -->
|name                  = 
|native_name           = 
|official_name         = 
|other_name            = 
|settlement_type       = 
<!-- Images and maps -->
|image_skyline         = 
|image_caption         = 
|image_shield          = 
|image_flag            = 
|pushpin_label_position= 
|pushpin_mapsize       = 
<!-- Political information -->
|county                = 
|subregion             = 
|district              = 
|diocese               = 
|rank                  = 
|mayor                 = 
<!-- Geographic information -->
|area_total_km2        = 
|area_urban_km2        = 
|area_metro_km2        = 
|area_magnitude        = 
|coordinates           = {{Coord}}
|elevation_m           = 
|elevation_min_m       = 
|elevation_max_m       = 
<!-- Demographic information -->
|population_total      = 
|population_urban      = 
|population_metro      = 
|population_as_of      = 
|population_footnotes  = 
|population_demonym    = 
<!-- Codes, website, ... -->
|postal_code           = 
|area_code             = 
|ksh_code              = 
|footnotes             = 
|website               = 
}}

Automatically cited references[ویرایش]

If <ksh_code> is specified, a reference called "ksh cite" will be used three times in the template. It should be set up in <population_footnotes> in the following form:

|population_footnotes = <ref name="ksh cite">[{{ksh url}}33118 Csomád] at the [[Hungarian Central Statistical Office]] {{hu icon}}. 1 January yyyy</ref>

In this example replace 33118 with the <ksh_code> for the place and Csomád with the name of the place.

The article must have a {{Reflist}} template or <references/> tag for this to work.

Ideally this rubber-stamp will be placed into the {{Infobox Hungarian settlement}} code, but code limitations in the Wikimedia software means that this is not currently possible (as of January 2010), since template parameters (such as {{{ksh_code}}}) are not elaborated in external references, and must be specified literally.

How to find the KSH code[ویرایش]

The KSH code can often be found by hovering over the equivalent article in the Hungarian Wikipedia, or by going to the KSH site for a place (for example, Sülysáp at http://portal.ksh.hu/pls/portal/cp.hnt_telep?NN=21713) and then typing its name in the "Településnév" ("Area name") field at the top. The Hungarian Wikipedia buries the code in subtemplates, so this latter is often the easier route, whether or not you understand Hungarian. As of January 2009, the portal dislikes not being provided with the code of an existing settlement, so it is best to go from one that is known, and search from there.

TemplateData[ویرایش]

این، توضیحاتِ الگوداده است که توسط TemplateWizard، ویرایشگر دیداری و دیگر ابزارها استفاده می‌شود. گزارش خطای ماهیانه برای این الگو را ببینید.

الگوداده Infobox Hungarian settlement

This is an infobox for storing quick data about settlements of Hungary.

پارامترهای الگو[ویرایش داده‌های الگو]

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

پارامترتوضیحاتنوعوضعیت
namename

This is the usual name in English. If it's not specified, the infobox will use the 'official_name' as a title unless this too is missing, in which case the page name will be used.

رشتهاختیاری
native_namenative_name

This will display under the name/official name

رشتهاختیاری
official_nameofficial_name

The official name in English if different from 'name'

رشتهاختیاری
other_nameother_name

For places with a former or more common name like Bombay or Saigon

رشتهاختیاری
settlement_typesettlement_type

Any type can be entered, such as City, Town, Village, Hamlet, Municipality, Reservation, etc. If set, will be displayed under the names, provided that either 'name' or 'official_name' is filled in. Might also be used as a label for total population/area (defaulting to ''City''), if needed to distinguish from ''Urban'', ''Rural'' or ''Metro'' (if urban, rural or metro figures are not present, the label is ''Total'' unless 'total_type' is set).

رشتهاختیاری
image_skylineimage_skyline

Despite the name it can be any image that an editor wishes.

رشتهاختیاری
image_captionimage_caption

Will place a caption under the image_skyline (if present)

رشتهاختیاری
image_shieldimage_shield

Can be used for a place with a coat of arms.

رشتهاختیاری
image_sealimage_seal

If the place has an official seal.

رشتهاختیاری
pushpin_label_positionpushpin_label_position

The position of the label on the pushpin map relative to the pushpin coordinate marker. Valid options are {left, right, top, bottom, none}. If this field is not specified, the default value is "right".

رشتهاختیاری
countycounty

بدون توصیف

رشتهضروری
subregionsubregion

بدون توصیف

رشتهاختیاری
districtdistrict

بدون توصیف

رشتهاختیاری
diocesediocese

بدون توصیف

رشتهاختیاری
rankrank

بدون توصیف

رشتهاختیاری
leader_namemayor

Name of the place's mayor

رشتهاختیاری
area_total_km2area_total_km2

Total area in square kilometers—symbol: km². Value must be entered in raw format, no commas or spaces. Auto-converted to display square miles.

رشتهاختیاری
area_urban_km2area_urban_km2

بدون توصیف

شمارهاختیاری
area_metro_km2area_metro_km2

بدون توصیف

شمارهاختیاری
area_magnitudearea_magnitude

Setting this to any non-empty value will create a link to the appropriate order of magnitude of area page (e.g. [[1 E+6 m²]]).

رشتهاختیاری
latdlatd

Latitude degrees. Can also be used for decimal degrees.

رشتهاختیاری
latmlatm

Latitude minutes. Omit or leave blank if 'latd' has a decimal value.

رشتهاختیاری
latslats

Latitude seconds. Omit or leave blank if 'latd' has a decimal value.

رشتهاختیاری
longdlongd

Longitude degrees. Can also be used for decimal degrees.

رشتهاختیاری
longmlongm

Longitude minutes. Omit or leave blank if 'longd' has a decimal value.

رشتهاختیاری
longslongs

Longitude seconds. Omit or leave blank if 'longd' has a decimal value.

رشتهاختیاری
elevation_melevation_m

Raw number entered in meters. Will automatically convert to display elevation in feet if elevation_ft is empty. However, if a range in elevation (i.e. 5–50 m ) is desired, use the 'max' and 'min' fields below

شمارهاختیاری
elevation_min_melevation_min_m

بدون توصیف

شمارهاختیاری
elevation_max_melevation_max_m

بدون توصیف

شمارهاختیاری
population_totalpopulation_total

Actual population (see below for estimates) preferably consisting of digits only (without any commas)

رشتهاختیاری
population_urbanpopulation_urban

بدون توصیف

رشتهاختیاری
population_metropopulation_metro

بدون توصیف

رشتهاختیاری
population_as_ofpopulation_as_of

The year for the population total (usually a census year)

رشتهاختیاری
population_footnotespopulation_footnotes

Reference(s) for population, placed within <nowiki><ref> </ref></nowiki> tags

رشتهاختیاری
postal_codepostal_code

Postal code/zip code

رشتهاختیاری
area_codearea_code

Telephone area code.

رشتهاختیاری
KSH codeksh_code

The code of the settlement in the database of the Central Statistical Office (Központi Statisztikai Hivatal)

شمارهاختیاری
footnotesfootnotes

Text to be displayed at the bottom of the infobox.

رشتهاختیاری
websitewebsite

External link to official website, Use the {{URL}} template, thus: {{URL|example.com}}

رشتهاختیاری

منابع

  1. https://www.ksh.hu/apps/!cp.hnt2.telep?nn={{{ksh_code}}} در سازمان مرکزی آمار مجارستان (به مجاری).
  2. https://www.ksh.hu/apps/!cp.hnt2.telep?nn={{{ksh_code}}} {{{name}}} در سازمان مرکزی آمار مجارستان (به مجاری). {{{population_as_of}}}
  3. https://www.ksh.hu/apps/hntr.telepules?p_lang=EN&p_id={{{ksh_code}}} {{{name}}} در سازمان مرکزی آمار مجارستان. {{{population_as_of}}}