الگو:Infobox German location

Infobox German location
کشورآلمان
منطقه زمانی
CET/CEST (UTC+1/+2)
توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]

جعبه اطلاعات برای شهرها و شهرستان‌های آلمان

جعبه اطلاعات جدید، ویژگی‌های de:Vorlage:Infobox Ort in Deutschland (منسوخ) ، الگو:Infobox settlement و چند ویژگی اضافی دیگر را با هم ترکیب می‌کند.

شیوه استفاده - پارامترهای آلمانی

همچنین شیوه استفاده با پارامترهای انگلیسی را در بخش بعدی ببینید، یا به اینجا نگاهی بیندازید: شیوه کامل استفاده

فهرست پارامترها با نام آلمانی (از فیلدهای استفاده نشده پرش کنید):

{{Infobox German location
|Name             = 
|German_name      = 
|Art              = 
|image_photo      = 
|imagesize        = 
|image_caption    = 
|Wappen           = 
|Wappengröße      = 
|image_flag       = 
|lat_deg =  | lat_min =  | lat_sec =
|lon_deg =  | lon_min =  | lon_sec =
|Karte            =
|Lageplan         =
|Lageplanbeschreibung =
|Bundesland       = 
|Regierungsbezirk = 
|Landkreis        =  |Kreis =
|Amt = |Gemeindeverwaltungsverband = |Samtgemeinde = 
|Verbandsgemeinde =  |Verwaltungsgemeinschaft = |Verwaltungsverband = 
|Höhe             = elevation
|elevationmax     = "X-Xmax m (y-ymax ft)" Xmax is optional elevationmax
|Fläche           = 
|area_metro       = 
|pop_metro        = 
|PLZ              = 
|PLZ-alt          = 
|Vorwahl          = 
|Kfz              = 
|Gemeindeschlüssel= 
|NUTS             = 
|LOCODE           = 
|Gliederung       = 
|Website          = 
|Bürgermeister    = 
|Bürgermeistertitel = 
|Partei           = 
|ruling_party1    = |ruling_party2  =  |ruling_party3 = 
|year             = 
|_noautocat       = 
}}

شیوه استفاده، با پارامترهای انگلیسی

برای دیدن شیوه کامل استفاده کلیک کنید

فهرست پارامترها با عناوین همتای انگلیسی آنها:

{{Infobox German location
|name         = (or 'Name') English name of the place
|name_local   = (or 'German_name') German name
|image_photo  = image file for top image (omit "Image:")
|imagesize    = width of image_photo (default 268px)
|image_caption = phrase shown beneath top image
|image_coa    = (or 'Wappen') image file of town seal
|Wappengröße  = 
|image_flag   = image file of town flag
|lat_deg =  | lat_min =  | lat_sec = latitude degrees/minutes/sec
|lon_deg =  | lon_min =  | lon_sec = longitude degrees/minutes/sec
|Karte        =
|image_plan   = (or 'Lageplan') image file of bottom closeup map
|plantext     = (or 'Lageplanbeschreibung') heading above bottom map
|state        = (or 'Bundesland') optional state name (can translate)
|region       = (or 'Regierungsbezirk') optional region name
|district     = (or 'Landkreis' or 'Kreis') name of district
|borough      = 'Stadtkreis' or 'Bezirk', borough if subdivision
|Amt = |Gemeindeverwaltungsverband = |Samtgemeinde = 
|Verbandsgemeinde =  |Verwaltungsgemeinschaft = |Verwaltungsverband = 
|type         = type of subdivision, e.g. borough or quarter (locality)
|City         = city, if subdivision
|Town         = town, if subdivision
|elevation    = (or 'Höhe') meters above sea-level (converts to ft)
|elevationmax = "X-Xmax m (y-ymax ft)" Xmax is optional elevationmax
|area         = (or 'Fläche') area of location in square km
|area_metro   = area of metro part in square km
|pop_metro    = population of metro part (without commas)
|postal_code  = (or 'PLZ') postal or ZIP codes
|PLZ-alt      = (not displayed)
|area_code    = (or 'Vorwahl') telephone area code
|licence      = (or 'Kfz' or 'license') licence plate code
|Gemeindeschlüssel= 
|NUTS         = (not displayed)
|LOCODE       = (not displayed)
|divisions    = (or 'Gliederung') divisions, such as "5 burroughs"
|mayor        = (or 'Bürgermeister') name of leader
|Bürgermeistertitel = official title of leader
|party        = (or 'Partei') political party of leader
|ruling_party1= |ruling_party2  =  |ruling_party3 = 
|year         = year founded
|website      = (or 'Website') URL of location website
|_noautocat   = 
}}

ویژگی‌های مهم

پس از ظهور de:Vorlage:Infobox Gemeinde in Deutschland در بسیاری از مکان‌ها در ویکی آلمانی، فیلدهای متغیر از همان عناوین استفاده می‌کنند تا بکارگیری آن در جاهای دیگر برای ویرایشگران (با بکارگیری زبان انگلیسی) آسان‌تر باشد.
برای بسیاری از فیلدها از آلمانی آن نیز می‌توان استفاده کرد (بدون ترجمه) در حالی که مقدار ترجمه‌شدهٔ آن نمایش داده خواهد شد.

  • به عنوان مثال با وارد کردن «Bundesland = Hesse»، چیزی که جعبه اطلاعات نمایش می‌دهد، «ایالت: هسن» خواهد بود

متغیرهایی که نام انگلیسی دارند مربوط به ویژگی‌هایی می‌شوند که درInfobox Ort in Deutschland وجود نداشتند.

قابلیت‌های مهم جدید در مقایسه با {{Infobox Town DE}}:

  • برای هر مدخلی دیگر نیاز به وارد کردن نقشه مکان نیست، تنها با وارد کردن مختصات نقشه نمایش داده می‌شود.
  • اطلاعات جمعیت به‌شکل خودکار از {{Population Germany}} تراگنجانش می‌شود.
  • Area, population density and elevation automatically displayed in both metric and imperial units
  • Auto-categorisation of entries, depending on values entered
  • Optional 2nd map (Lageplan) at bottom, to display location in more detail.

قابلیت‌های مهم جدید در مقایسه با de:Vorlage:Infobox Ort in Deutschland:

  • Can give year of city foundation: places article in "Category:xxxx establishments"
  • Can display representative photo of location (a feature of Infobox Town DE, which, for some reason, was never used) (eg. see: کلن)
  • In addition to displaying the political party of the mayor/lord mayor/etc., it is also possible to display the ruling parties. Currently, a coalition of up to 3 parties is supported - if more are needed, please report it on the template talk page) (eg. see: براونشوایگ).

ریزقالب

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}} را بکار نبرید.