الگو:Infobox Russian district

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

Usage[ویرایش]

  • Important: please enter all numeric values in a raw, unformatted fashion; i.e., no commas or spaces. Numeric values that are not "raw" may create an "Expression error". Raw values will be automatically formatted by the template.
  • Also important: this infobox describes administrative districts of the federal subjects of Russia, but contains fields dealing with their municipal aspects as well. This is unlike the Russian Wikipedia, which primarily deals with the municipal districts and records their administrative aspects.

An live example of the template usage can be seen in the شهرستان گیاگینسکی article.

Syntax[ویرایش]

{{Infobox Russian district
|en_name=Name in English
|ru_name=Name in Russian
|loc_name1..4=Name in another official language of the federal subject
|loc_lang1..4=Name of the language in which loc_name1..4 is given
|other_name=Name in a language that is not official, but important to this inhabited locality
|other_lang=Name of the language in which other_name is given
|image_map=Name of the location map file
|map_caption=Caption for the map
|image_view=Name of the file with a picture/montage
|image_caption=Caption for that image
|coordinates = <!--{{coord|XX|YY|ZZ|N|XX|YY|ZZ|E|display=inline,title}}-->
|image_flag=Name of the flag image (do not include "[[File:]]")
|flag_caption=Caption for the flag image
|image_coa=Name of the coat of arms image (do not include "[[File:]]")
|coa_caption=Caption for the coat of arms image
|anthem=Title of the anthem
|anthem_ref=Reference for the anthem; use "<ref></ref>"
|holiday=Date of the district's official holiday
|holiday_ref=Reference for the holiday; use "<ref></ref>"
<!----ADMINISTRATIVE STATUS---->
|federal_subject=Name of the federal subject to which the district is administratively subordinated
|federal_subject_ref=(Optional) reference for the federal subject; use "<ref></ref>"
|adm_data_as_of=Date as of which the data in the "Administrative data" section is current
|adm_ctr_type=Inhabited locality type of the district's administrative center
|adm_ctr_name=Name of the inhabited locality which serves as the administrative center of the district
|adm_ctr_ref=Reference for the administrative center type and name; use "<ref></ref>"
|town_of_district_significance_type=If the district is divided into towns of district significance, this fields contains the term used to refer to them
|no_of_towns_of_district_significance=Number of towns of district significance
|urban-type_settlement_of_district_significance_type=If the district is divided into urban-type settlements of district significance, this fields contains the term used to refer to them
|no_of_urban-type_settlements_of_district_significance=Number of urban-type settlements of district significance
|selsoviet_type1=Type of the rural administrative unit into which the district is divided
|no_of_selsoviets_type1=Number of rural administrative units of this type
|selsoviet_type2=Another type of the rural administrative unit into which the district is divided, if applicable
|no_of_selsoviets_type2=Number of rural administrative units of this type
|no_of_cities_towns=Number of cities/towns in administrative jurisdiction of the district
|no_of_urban-type_settlements=Number of urban-type settlements in administrative jurisdiction of the district
|no_of_rural_localities=Number of rural localities on the territory of the district
|counts_ref=Reference for the counts above; use "<ref></ref>"
<!----MUNICIPAL STATUS---->
|mun_data_as_of=Date as of which the information in the "Municipal data" section is current
|mun_formation1=Name of the municipal formation covering the whole or a part of the district's territory
|mun_formation1_ref=Reference for the above; use "<ref></ref>"
|mun_formation1_no_of_urban_settlements=Number of urban settlements on the territory of the municipal formation recorded above
|mun_formation1_no_of_rural_settlements=Number of rural settlements on the territory of the municipal formation recorded above
|mun_formation1_counts_ref=Reference for counts the above; use "<ref></ref>"
|mun_formation1_leader_title=Title of the leader of the municipal formation recorded above.  "Leader" is the default value if municipal_formation1_leader_name is specified.
|mun_formation1_leader_title_ref=Reference for the above; use "<ref></ref>"
|mun_formation1_leader_name=Name of the leader of the municipal formation recorded above
|mun_formation1_leader_name_ref=Reference for the above; use "<ref></ref>"
|mun_formation1_representative_body=Name of the representative body of the municipal formation recorded above
|mun_formation1_representative_body_ref=Reference for the above; use "<ref></ref>"
|mun_formation2=Name of another municipal formation covering the whole or a part of the district's territory, if applicable
|mun_formation2_ref=Reference for the above; use "<ref></ref>"
|mun_formation2_no_of_urban_settlements=Number of urban settlements on the territory of the municipal formation recorded above
|mun_formation2_no_of_rural_settlements=Number of rural settlements on the territory of the municipal formation recorded above
|mun_formation2_counts_ref=Reference for counts the above; use "<ref></ref>"
|mun_formation2_leader_title=Title of the leader of the municipal formation recorded above.  "Leader" is the default value if municipal_formation2_leader_name is specified.
|mun_formation2_leader_title_ref=Reference for the above; use "<ref></ref>"
|mun_formation2_leader_name=Name of the leader of the municipal formation recorded above
|mun_formation2_leader_name_ref=Reference for the above; use "<ref></ref>"
|mun_formation2_representative_body=Name of the representative body of the municipal formation recorded above
|mun_formation2_representative_body_ref=Reference for the above; use "<ref></ref>"
<!----STATISTICS---->
|area_of_what=Description of the entity for which the area (see below) is given
|area_as_of=Date as of which the area information is given
|area_km2=Area in square kilometers; converts to square miles automatically.  Use no spaces or commas.
|area_km2_ref=Reference for the area value; use "<ref></ref>"
|pop_2010census=District's population as of the 2010 Census. Is referenced automatically, but can be overridden by pop_2010census_ref. Use no spaces.
|urban_pop_2010census=Urban population percentage as of the 2010 Census. Is referenced automatically.
|rural_pop_2010census=Rural population percentage as of the 2010 Census. Is referenced automatically.
|pop_2010census_ref=Reference for the 2010 Census figure. When using the official source, set this parameter to <ref name="2010Census">{{ru-pop-ref|2010Census}}</ref>
|pop_latest=Most recent available population estimate. Use no spaces or commas.
|pop_latest_date=Date as of which the population estimate is given; will display as "(as of?)" if no value is given.
|pop_latest_ref=Reference for the latest population estimate; use "<ref></ref>"
|time_zone_ref=The time zone information is populated and sourced automatically. If you wish to override the source being cited, enter the reference here; use "<ref></ref>"
<!----HISTORY---->
|established_date=Date on which the district was established.  If a district was established/abolished more than once, use the most recent date
|established_date_ref=Reference for the date of the foundation; use "<ref></ref>"
|prev_name1..3=Previous name of the district
|prev_name1..3_date=Date until which prev_name1..3 was in effect
|prev_name1..3_ref=Reference for the previous name; use "<ref></ref>"
|abolished_date=Date on which the district was abolished.  This parameter is only used for cases when the district ceases to exist completely.
|abolished_date_ref=Reference for the above; use "<ref></ref>"
<!----MISCELLANEA---->
|website=Full URL of the official website of the city/town
|website_ref=(Optional) reference for the website; use "<ref></ref>"
|commonscat=(Optional) name of the WikiCommons category where media related to the article's subject is stored
|date=Month and year on which the infobox is being filled out; use "November 2012" format.
}}

Copy-paste model[ویرایش]

{{Infobox Russian district
|en_name
|ru_name
|loc_name1
|loc_name2
|loc_name3
|loc_name4
|loc_lang1
|loc_lang2
|loc_lang3
|loc_lang4
|other_name
|other_lang
|image_map
|map_caption
|image_view
|image_caption
|coordinates
|image_flag
|flag_caption
|image_coa
|coa_caption
|anthem
|anthem_ref
|holiday
|holiday_ref
<!----ADMINISTRATIVE STATUS---->
|federal_subject
|federal_subject_ref
|adm_data_as_of
|adm_ctr_type
|adm_ctr_name
|adm_ctr_ref
|town_of_district_significance_type
|no_of_towns_of_district_significance
|urban-type_settlement_of_district_significance_type
|no_of_urban-type_settlements_of_district_significance
|selsoviet_type1
|no_of_selsoviets_type1
|selsoviet_type2
|no_of_selsoviets_type2
|no_of_cities_towns
|no_of_urban-type_settlements
|no_of_rural_localities
|counts_ref
<!----MUNICIPAL STATUS---->
|mun_data_as_of
|mun_formation1
|mun_formation1_ref
|mun_formation1_no_of_urban_settlements
|mun_formation1_no_of_rural_settlements
|mun_formation1_counts_ref
|mun_formation1_leader_title
|mun_formation1_leader_title_ref
|mun_formation1_leader_name
|mun_formation1_leader_name_ref
|mun_formation1_representative_body
|mun_formation1_representative_body_ref
<!----STATISTICS---->
|area_of_what
|area_as_of
|area_km2
|area_km2_ref
|pop_2010census
|urban_pop_2010census
|rural_pop_2010census
|pop_2010census_ref
|pop_latest
|pop_latest_date
|pop_latest_ref
<!----HISTORY---->
|established_date
|established_date_ref
|prev_name1
|prev_name1_date
|prev_name1_ref
|abolished_date
|abolished_date_ref
<!----MISCELLANEA---->
|website
|website_ref
|commonscat
|date={{subst:#time:F Y}}
}}

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

See also[ویرایش]