Misplaced Pages

Template:Infobox Russian inhabited locality: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editContent deleted Content addedVisualWikitext
Revision as of 17:37, 12 February 2019 view sourceUnderlying lk (talk | contribs)Autopatrolled, Extended confirmed users, Pending changes reviewers, Template editors53,685 editsNo edit summary← Previous edit Latest revision as of 03:25, 17 April 2024 view source Jonesey95 (talk | contribs)Autopatrolled, Extended confirmed users, Page movers, Mass message senders, Template editors374,059 edits add embedded to parameter check 
(24 intermediate revisions by 10 users not shown)
Line 34: Line 34:
| flag_size = 125px | flag_size = 125px
| flag_alt = {{{flag_caption|}}} | flag_alt = {{{flag_caption|}}}
| flag_border = | flag_border = {{{flag_border|}}}
| flag_link = | flag_link =
| image_seal = | image_seal =
Line 64: Line 64:
| map_caption1 = | map_caption1 =
| pushpin_map = {{#if: {{{pushpin_map|}}} | {{{pushpin_map}}} | {{#if: {{{coordinates|}}} OR {{wikidata|property|P625}} | {{#if:{{{federal_subject|}}}|Russia#{{PosMapFS|{{{federal_subject|}}}|PosMapParam}}|Russia }} }} }} | pushpin_map = {{#if: {{{pushpin_map|}}} | {{{pushpin_map}}} | {{#if: {{{coordinates|}}} OR {{wikidata|property|P625}} | {{#if:{{{federal_subject|}}}|Russia#{{PosMapFS|{{{federal_subject|}}}|PosMapParam}}|Russia }} }} }}
| pushpin_label_position = <!-- position of the pushpin label: left, right, top, bottom, none --> | pushpin_label_position = {{{map_label_position|right}}}<!-- position of the pushpin label: left, right, top, bottom, none -->
| pushpin_label = <!-- only necessary if "name" or "official_name" are too long --> | pushpin_label = <!-- only necessary if "name" or "official_name" are too long -->
| pushpin_map_alt = | pushpin_map_alt =
| pushpin_mapsize = | pushpin_mapsize =
| pushpin_relief = | pushpin_relief =
| pushpin_map_caption = Location of {{{en_name|{{PAGENAMEBASE}}}}} | pushpin_map_caption = {{{pushpin_map_caption|Location of {{{en_name|{{PAGENAMEBASE}}}}}}}}
| pushpin_outside = {{{pushpin_outside|}}}
| coordinates = {{#if: {{{coordinates|}}} | {{{coordinates}}} | {{#if: {{wikidata|property|P625}} | {{WikidataCoord|display=inline,title}} }} }} | coordinates = {{#if: {{{coordinates|}}} | {{{coordinates}}} | {{#if: {{wikidata|property|P625}} | {{WikidataCoord|display=inline,title}} }} }}
| coor_pinpoint = <!-- to specify exact location of coordinates (was coor_type) --> | coor_pinpoint = <!-- to specify exact location of coordinates (was coor_type) -->
Line 158: Line 159:
| 88 = ] | 88 = ]
| 89 = ] | 89 = ]
| 90 = ] | 90 = ]
| 91 = ] | 91 = ]
| 92 = ] | 92 = ]
Line 224: Line 225:
| unit_pref = <!-- enter: Imperial, to display imperial before metric --> | unit_pref = <!-- enter: Imperial, to display imperial before metric -->
<!-- area --> <!-- area -->
| area_footnotes = {{#if: {{{area_km2_ref|}}} | {{{area_km2_ref}}} | {{wikidata|reference|P2046}} }} | area_footnotes = {{#if: {{{area_km2_ref|}}} | {{{area_km2_ref}}} }}
| area_magnitude = <!-- use only to set a special wikilink --> | area_magnitude = <!-- use only to set a special wikilink -->
| dunam_link = <!-- If dunams are used, this specifies which dunam to link. --> | dunam_link = <!-- If dunams are used, this specifies which dunam to link. -->
| area_total_km2 = {{#if: {{{area_km2|}}} | {{{area_km2}}} | {{wikidata|property|raw|P2046}} }} | area_total_km2 = {{#if: {{{area_km2|}}} | {{{area_km2}}} }}
| area_total_sq_mi = <!-- see table @ Template:Infobox settlement for details --> | area_total_sq_mi = <!-- see table @ Template:Infobox settlement for details -->
| area_total_ha = | area_total_ha =
Line 302: Line 303:
| pop_est_as_of = {{#if: <!-- wikidata pop as of 01.01.18 is set --> {{wikidata|property|raw|P1082|P585=2018-01-01}} | 2018 | <!-- use template paramenter --> {{{pop_latest_date|}}} }} | pop_est_as_of = {{#if: <!-- wikidata pop as of 01.01.18 is set --> {{wikidata|property|raw|P1082|P585=2018-01-01}} | 2018 | <!-- use template paramenter --> {{{pop_latest_date|}}} }}
| pop_est_footnotes = {{#if: <!-- wikidata pop as of 01.01.18 is set --> {{wikidata|property|raw|P1082|P585=2018-01-01}} | {{wikidata|reference|P1082|P585=2018-01-01}} | <!-- use template paramenter --> {{{pop_latest_ref|}}} }} | pop_est_footnotes = {{#if: <!-- wikidata pop as of 01.01.18 is set --> {{wikidata|property|raw|P1082|P585=2018-01-01}} | {{wikidata|reference|P1082|P585=2018-01-01}} | <!-- use template paramenter --> {{{pop_latest_ref|}}} }}
| population_est = {{#if: <!-- wikidata pop as of 01.01.18 is set --> {{wikidata|property|raw|P1082|P585=2018-01-01}} | {{wikidata|property|raw|P1082|P585=2018-01-01}} {{#if: {{{pop_2010census}}} | ({{#ifexpr: {{{pop_2010census}}} < {{wikidata|property|raw|P1082|P585=2018-01-01}} | {{increase}}+ | {{decrease}} }}{{#expr: (1- ( {{{pop_2010census}}} / {{wikidata|property|raw|P1082|P585=2018-01-01}} ) round 3 ) *100 }}%) }} | <!-- use template paramenter --> {{{pop_latest|}}} }} | population_est = {{#if: <!-- wikidata pop as of 01.01.18 is set --> {{wikidata|property|raw|P1082|P585=2018-01-01}} | {{wikidata|property|raw|P1082|P585=2018-01-01}} <!-- begin pct change -->{{#switch:{{{pop_2010census|}}}|0|=|#default=(<span style="color:{{#ifexpr: {{formatnum:{{{pop_2010census}}}|R}} < {{wikidata|property|raw|P1082|P585=2018-01-01}} | green;">+ | red;"> }}{{#expr: ( ( {{wikidata|property|raw|P1082|P585=2018-01-01}} / {{formatnum:{{{pop_2010census}}}|R}} -1 ) round 3 ) *100 }}%</span>) }}<!-- end pct change --> | <!-- use template paramenter --> {{{pop_latest|}}} }}
| population_rank = {{#if: {{{pop_2010census_rank|}}} | ] in 2010}} | population_rank = {{#if: {{{pop_2010census_rank|}}} | ] in 2010}}
| population_density_km2 = {{#if: {{{pop_density|}}} | {{{pop_density}}} | auto }} | population_density_km2 = {{#if: {{{pop_density|}}} | {{{pop_density}}} | auto }}
Line 338: Line 339:
| demographics1_info2 = {{{capital_of|}}}{{{capital_of_ref|}}} | demographics1_info2 = {{{capital_of|}}}{{{capital_of_ref|}}}
| demographics1_title3 = <span style="font-weight:normal;">] of</span> | demographics1_title3 = <span style="font-weight:normal;">] of</span>
| demographics1_info3 = {{{adm_ctr_of1|}}}{{{adm_ctr_of1_ref|}}}<!-- -->{{#if: {{{adm_ctr_of2|}}} |, {{{adm_ctr_of2|}}}{{{adm_ctr_of2_ref|}}} }}<!-- -->{{{adm_ctr_of|}}}{{{adm_ctr_of_ref|}}} | demographics1_info3 = {{{adm_ctr_of1|}}}{{#if: {{{adm_ctr_of2|}}}|,}}{{{adm_ctr_of1_ref|}}}<!-- -->{{#if: {{{adm_ctr_of2|}}} |&#32;{{{adm_ctr_of2|}}}{{{adm_ctr_of2_ref|}}} }}<!-- -->{{{adm_ctr_of|}}}{{{adm_ctr_of_ref|}}}
| demographics1_title4 = | demographics1_title4 =
| demographics1_info4 = <!-- etc., up to demographics1_title5 / demographics1_info5 --> | demographics1_info4 = <!-- etc., up to demographics1_title5 / demographics1_info5 -->
Line 351: Line 352:
| demographics2_info3 = {{{rural_settlement_jur|}}}{{{rural_settlement_jur_ref|}}} | demographics2_info3 = {{{rural_settlement_jur|}}}{{{rural_settlement_jur_ref|}}}
| demographics2_title4 = <span style="font-weight:normal;">] of</span> | demographics2_title4 = <span style="font-weight:normal;">] of</span>
| demographics2_info4 = {{{mun_admctr_of|}}}{{{mun_admctr_of_ref|}}}<!-- -->{{{mun_admctr_of1|}}}{{{mun_admctr_of1_ref|}}}<!-- -->{{#if: {{{mun_admctr_of2|}}} |, {{{mun_admctr_of2|}}}{{{mun_admctr_of2_ref|}}} }} | demographics2_info4 = {{{mun_admctr_of|}}}{{{mun_admctr_of_ref|}}}<!-- -->{{{mun_admctr_of1|}}}{{#if: {{{mun_admctr_of2|}}} |,}}{{{mun_admctr_of1_ref|}}}<!-- -->{{#if: {{{mun_admctr_of2|}}} |&#32;{{{mun_admctr_of2|}}}{{{mun_admctr_of2_ref|}}} }}
<!-- time zone(s) --> <!-- time zone(s) -->
| timezone1 = {{Russia Time Zone Wikidata|timezone}} | timezone1 = {{Russia Time Zone Wikidata|timezone}}
Line 362: Line 363:
| utc_offset2_DST = | utc_offset2_DST =
<!-- postal codes, area code --> <!-- postal codes, area code -->
| postal_code_type = ]{{#if: {{{postal_codes|}}}{{wikidata|properties|P281}} | {{#if: {{{postal_codes_ref|}}} | {{{postal_codes_ref}}} |<ref name="PostalCode">Почта России. Информационно-вычислительный центр ОАСУ РПО. (''Russian Post''). (''Postal Objects Search'') {{ru icon}}</ref>}} }} | postal_code_type = ]{{#if: {{{postal_codes|}}}{{wikidata|properties|P281}} | {{#if: {{{postal_codes_ref|}}} | {{{postal_codes_ref}}} |<ref name="PostalCode">Почта России. Информационно-вычислительный центр ОАСУ РПО. (''Russian Post''). (''Postal Objects Search'') {{in lang|ru}}</ref>}} }}
| postal_code = {{#if: {{{postal_codes|}}} | {{{postal_codes|}}} | {{wikidata|properties|edit@end|P281}} }} | postal_code = {{#if: {{{postal_codes|}}} | {{{postal_codes|}}} | {{wikidata|properties|edit@end|P281}} }}
| postal2_code_type = <!-- enter ZIP Code, Postcode, Post code, Postal code... --> | postal2_code_type = <!-- enter ZIP Code, Postcode, Post code, Postal code... -->
Line 372: Line 373:
| registration_plate_type = | registration_plate_type =
| registration_plate = | registration_plate =
| code1_name = ] ID
| code1_info = {{wikidata|property|P764}}
<!-- blank fields (section 1) --> <!-- blank fields (section 1) -->
| blank_name_sec1 = {{#if: {{{inhabloc_cat|}}} | {{{inhabloc_cat}}}&nbsp;Day | Holiday}} | blank_name_sec1 = {{#if: {{{inhabloc_cat|}}} | {{{inhabloc_cat}}}&nbsp;Day | Holiday}}
| blank_info_sec1 = {{{holiday|}}}{{{holiday_ref|}}} | blank_info_sec1 = {{{holiday|}}}{{{holiday_ref|}}}
| blank1_name_sec1 = ] | blank1_name_sec1 = ]
| blank1_info_sec1 = {{#if: {{{twin_towns|}}} | {{{twin_towns}}} | {{wikidata|properties|edit@end|linked|P190}} }} | blank1_info_sec1 = {{#if: {{{twin_towns|}}} | {{{twin_towns}}} }}
| blank2_name_sec1 = | blank2_name_sec1 =
| blank2_info_sec1 = <!-- etc., up to blank7_name_sec1 / blank7_info_sec1 --> | blank2_info_sec1 = <!-- etc., up to blank7_name_sec1 / blank7_info_sec1 -->
<!-- blank fields (section 2) --> <!-- blank fields (section 2) -->
| blank_name_sec2 = ] ID | blank_name_sec2 =
| blank_info_sec2 = {{wikidata|property|P764}} | blank_info_sec2 =
| blank1_name_sec2 = | blank1_name_sec2 =
| blank1_info_sec2 = | blank1_info_sec2 =
Line 389: Line 392:
| website = {{#if: {{{website|}}} | {{URL|{{{website}}} }} }} | website = {{#if: {{{website|}}} | {{URL|{{{website}}} }} }}
| footnotes = | footnotes =
| module = {{{embedded|{{{module|}}}}}}
}}<includeonly><!-- }}<includeonly>{{main other|<!--


Invoke maintenance category for missing parameters Invoke maintenance category for missing parameters
Line 399: Line 403:
-->{{#if:{{{pop_census_rank}}}||]}}<!-- -->{{#if:{{{pop_census_rank}}}||]}}<!--
-->{{#if:{{{federal_subject|}}}||]}}<!-- -->{{#if:{{{federal_subject|}}}||]}}<!--
-->{{#if:{{{prev_name1|}}}|]}}</includeonly> -->{{#if:{{{prev_name1|}}}|]}}<!--end main other-->}}</includeonly>
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|]}}|preview=Page using ] with unknown parameter "_VALUE_"|ignoreblank=y| | abolished_date | abolished_date_ref | adm_city_jur | adm_city_jur_ref | adm_ctr_of | adm_ctr_of_ref | adm_ctr_of1 | adm_ctr_of1_ref | adm_ctr_of2 | adm_ctr_of2_ref | adm_district_jur | adm_district_jur_ref | adm_inhabloc_jur | adm_inhabloc_jur_ref | adm_selsoviet_jur | adm_selsoviet_jur_ref | adm_selsoviet_type | anthem | anthem_ref | area_km2 | area_km2_ref | capital_of | capital_of_ref | coa_caption | coordinates | current_cat_date | current_cat_date_ref | dialing_codes | dialing_codes_ref | elevation_footnotes | elevation_m | embedded | en_name | established_date | established_date_ref | established_title | federal_subject | federal_subject_ref | flag_border | flag_caption | holiday | holiday_ref | image_caption | image_coa | image_flag | image_map | image_skyline | inhabloc_cat | inhabloc_cat_ref | inhabloc_type | inhabloc_type_ref | leader_name | leader_name_ref | leader_title | leader_title_ref | loc_lang1 | loc_lang2 | loc_lang3 | loc_lang4 | loc_name1 | loc_name2 | loc_name3 | loc_name4 | map_caption | map_label_position | module | mun_admctr_of | mun_admctr_of_ref | mun_admctr_of1 | mun_admctr_of1_ref | mun_admctr_of2 | mun_admctr_of2_ref | mun_district_jur | mun_district_jur_ref | other_lang | other_name | pop_2010census | pop_2010census_rank | pop_2010census_ref | pop_census | pop_census_rank | pop_census_ref | pop_density | pop_latest | pop_latest_date | pop_latest_ref | population_demonym | postal_codes | postal_codes_ref | prev_name1 | pushpin_map | pushpin_map_caption | pushpin_outside | representative_body | representative_body_ref | ru_name | rural_settlement_jur | rural_settlement_jur_ref | twin_towns | urban_okrug_jur | urban_okrug_jur_ref | urban_settlement_jur | urban_settlement_jur_ref | website }}<noinclude>
}}<noinclude>
{{Documentation}} {{Documentation}}
</noinclude> </noinclude>

Latest revision as of 03:25, 17 April 2024

Infobox Russian inhabited locality
CountryRussia
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 4,600 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
This template is a customized wrapper for {{Infobox settlement}} and as such included in Category:Templates calling Infobox settlement. Any field from {{Infobox settlement}} can work so long as it is added to this template first. It will also emit the same hCard and Geo microformats as {{Infobox settlement}}. Questions? Just ask here or over at Template talk:Infobox settlement.
This template uses Lua:

A live example of the template can be seen in the Nizhny Novgorod article.

If the settlement was known by another name in the past, the infobox should use the modern name (in accordance with WP:MODERNPLACENAME), while the article body should use former names where appropriate.

Syntax

{{Infobox Russian inhabited locality
| en_name                 = Name in English
| ru_name                 = Name in Russian
| loc_name1               = Name in another official language of the federal subject, up to loc_name4 / loc_lang4
| loc_lang1               = 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_skyline           = Name of the inhabited locality's skyline image (do not include "]")
| image_caption           = Caption for the skyline image
| image_map               = Name of the location map; only use if there is a good reason to override the auto-generated map or if no coordinates (see below) are supplied
| map_caption             = Caption for the map (also overrides the default caption of an auto-generated map)
| coordinates             = <!--{{coord| XX| YY| ZZ| N| XX| YY| ZZ| E| display=inline,title}}-->
| image_flag              = Name of the flag image (do not include "]")
| image_coa               = Name of the coat of arms image (do not include "]")
| anthem                  = Title of the anthem
| anthem_ref              = Reference for the anthem; use "<ref></ref>"
| holiday                 = Date of the inhabited locality's official holiday
| holiday_ref             = Reference for the holiday; use "<ref></ref>"
| twin_towns              = twin towns of the settlement; overrides the list automatically transcluded from Wikidata
<!-- administrative status -->
| federal_subject         = Name of the federal subject on the territory of which the inhabited locality is located
| federal_subject_ref     = (Optional) reference for the federal subject; use "<ref></ref>"
| adm_district_jur        = Name of the administrative district in jurisdiction of which the inhabited locality belongs; cannot be used together with adm_city_jur
| adm_district_jur_ref    = Reference for the administrative district; use "<ref></ref>"
| adm_inhabloc_jur        = (or adm_city_jur) Name of the non-district administrative entity in administrative jurisdiction of which the inhabited locality belongs; cannot be used together with adm_district_jur
| adm_inhabloc_jur_ref    = (or adm_city_jur_ref) Reference for the non-district administrative entity to which this inhabited locality is subordinated; use "<ref></ref>"
| adm_citydistrict_jur    = Name of the city district in administrative jurisdiction of which the inhabited locality belongs; must be used together with adm_city_jur
| adm_citydistrict_type   = Defaults to "city district"; can be overridden here if necessary
| adm_citydistrict_jur_ref = Reference for the city district; use "<ref></ref>"
| adm_selsoviet_jur       = Name of the selsoviet in administrative jurisdiction of which the inhabited locality belongs
| adm_selsoviet_type      = Defaults to "selsoviet"; can be overridden here if necessary
| adm_selsoviet_jur_ref   = Reference for the selsoviet; use "<ref></ref>"
| capital_of              = Name of the republic the inhabited locality is the capital of
| capital_of_ref          = Reference for the capital; use "<ref></ref>"
| adm_ctr_of1             = Name of the federal subject or the highest level administrative division the inhabited locality is the administrative center of. Using "adm_ctr_of" also works.
| adm_ctr_of1_ref         = Reference for the above; use "<ref></ref>". Using "adm_ctr_of_ref" also works.
| adm_ctr_of2             = Name of the next highest level administrative division the inhabited locality is the administrative center of
| adm_ctr_of2_ref         = Reference for the above; use "<ref></ref>"
| inhabloc_cat            = Category of the inhabited locality (USE ONLY THE FOLLOWING: city, town, urban-type settlement, rural locality)
| inhabloc_cat_ref        = Reference for inhabloc_cat; use "<ref></ref>"
| inhabloc_type           = Type of the inhabited locality within inhabloc_cat (e.g., city of krai significance, town of district significance, resort settlement, village, aul, kishlak, etc.)
| inhabloc_type_ref       = Reference for inhabloc_type; use "<ref></ref>"
<!-- municipal status -->
| mun_district_jur        = Name of the municipal district in jurisdiction of which the inhabited locality belongs; cannot be used together with urban_okrug_jur
| mun_district_jur_ref    = Reference for the municipal district; use "<ref></ref>"
| urban_okrug_jur         = Name of the urban okrug in municipal jurisdiction of which the inhabited locality belongs; cannot be used together with mun_district_jur, urban_settlement_jur, rural_settlement_jur, or with inter_settlement_territory set to "yes"
| urban_okrug_jur_ref     = Reference for the urban okrug; use "<ref></ref>"
| urban_settlement_jur    = Name of the urban settlement in municipal jurisdiction of which the inhabited locality belongs; cannot be used together with urban_okrug_jur, rural_settlement_jur, or with inter_settlement_territory set to "yes"
| urban_settlement_jur_ref       = Reference for the urban settlement; use "<ref></ref>"
| rural_settlement_jur    = Name of the rural settlement in municipal jurisdiction of which the inhabited locality belongs; cannot be used together with urban_okrug_jur, urban_settlement_jur, or with inter_settlement_territory set to "yes"
| rural_settlement_jur_ref       = Reference for the rural settlement; use "<ref></ref>"
| inter_settlement_territory     = "yes" is the only valid value, used for the inhabited localities which are not municipally incorporated and are a part of a municipal district's inter-settlement territory.  If set to "yes", urban_okrug_jur, urban_settlement_jur, and rural_settlement_jur cannot be used.
| inter_settlement_territory_ref = Reference for the inter-settlement territory status; use "<ref></ref>"
| mun_admctr_of1          = Name of the highest level municipal formation the inhabited locality is the administrative center of. Using "mun_admctr_of" also works.
| mun_admctr_of1_ref      = Reference for the above; use "<ref></ref>". Using "mun_adm_ctr_of_ref" also works.
| mun_admctr_of2          = Name of the lower-level municipal formation the inhabited locality is the administrative center of
| mun_admctr_of2_ref      = Reference for the above; use "<ref></ref>"
| leader_title            = Title of the inhabited locality's leader. "Leader" is the default value if leader_name is specified.  Should not be used for rural localities and for urban localities which are not administrative centers of a municipal formation.
| leader_title_ref        = Reference for the leader title; use "<ref></ref>"
| leader_name             = Name of the inhabited locality's leader.
| leader_name_ref         = Reference for the leader name; use "<ref></ref>"
| representative_body     = Name of the representative body.  Should not be used for rural localities and for urban localities which are not administrative centers of a municipal formation.
| representative_body_ref = Reference for the representative body; use "<ref></ref>"
<!-- statistics -->
| elevation_m             = Elevation, in meters.
| area_km2                = Area in square kilometers; converted to square miles automatically.  Use no spaces.
| area_km2_ref            = Reference for the area value; use "<ref></ref>"
| pop_2010census          = Inhabited locality's population as of the 2010 Census. Is referenced automatically, but can be overridden by pop_2010census_ref. Use no spaces.
| pop_2010census_rank     = Population rank within Russia as of the 2010 Census; use only for the cities/towns listed in ]
| pop_2010census_ref      = Reference for the 2010 Census figure. When using the official source, set this parameter to <nowiki><ref name="2010Census">{{ru-pop-ref| 2010Census}}</ref></nowiki>
| pop_density             = The value of population density is calculated automatically if area_km2 and pop_2010census are supplied. However, it is possible to overwrite the automatically calculated value by using this parameter. Use no spaces or commas.
| 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>"
| population_demonym      = A demonym or gentilic is a word that denotes the members of a people or the inhabitants of a place.
<!-- history -->
| established_date        = Date on which the inhabited locality was founded
| established_title       = Defaults to "Founded"; can be overridden here if necessary
| established_date_ref    = Reference for the date of the foundation; use "<ref></ref>"
| current_cat_date        = Date on which inhabloc_cat status was granted
| current_cat_date_ref    = Reference for the current status date; use "<ref></ref>"
| abolished_date          = Date on which the inhabited locality was abolished.  This parameter is only used for cases when the inhabited locality ceases to exist completely.
| abolished_date_ref      = Reference for the abolishment ; use "<ref></ref>"
<!-- misc -->
| postal_codes            = Postal code(s) or a range of postal codes assigned to the inhabited locality (comma-separated if more than one)
| postal_codes_ref        = Reference for the postal code(s); use "<ref></ref>". Generated automatically if not provided.
| dialing_codes           = Dialing code(s) assigned to the inhabited locality (comma-separated if more than one). No need to specify "+7" for Russia.
| dialing_codes_ref       = Reference for the dialing code(s); use "<ref></ref>"
| website                 = Full URL of the official website of the city/town
}}

Copy-paste models

For a city/town

{{Infobox Russian inhabited locality
| en_name                  =
| ru_name                  =
| loc_name1                =
| loc_lang1                =
| loc_name2                =
| loc_lang2                =
| loc_name3                =
| loc_lang3                =
| loc_name4                =
| loc_lang4                =
| other_name               =
| other_lang               =
| image_skyline            =
| image_caption            =
| coordinates              =
| image_flag               =
| image_coa                =
| anthem                   =
| anthem_ref               =
| holiday                  =
| holiday_ref              =
<!-- administrative status -->
| federal_subject          =
| federal_subject_ref      =
| adm_district_jur         =
| adm_district_jur_ref     =
| adm_city_jur             =
| adm_city_jur_ref         =
| capital_of               =
| capital_of_ref           =
| adm_ctr_of1              =
| adm_ctr_of1_ref          =
| adm_ctr_of2              =
| adm_ctr_of2_ref          =
| inhabloc_cat             = City/town
| inhabloc_cat_ref         =
| inhabloc_type            =
| inhabloc_type_ref        =
<!-- municipal status -->
| mun_district_jur         =
| mun_district_jur_ref     =
| urban_okrug_jur          =
| urban_okrug_jur_ref      =
| urban_settlement_jur     =
| urban_settlement_jur_ref =
| mun_admctr_of1           =
| mun_admctr_of1_ref       =
| mun_admctr_of2           =
| mun_admctr_of2_ref       =
| leader_title             =
| leader_title_ref         =
| leader_name              =
| leader_name_ref          =
| representative_body      =
| representative_body_ref  =
<!-- statistics -->
| area_km2                 =
| area_km2_ref             =
| pop_2010census           =
| pop_2010census_rank      =
| pop_2010census_ref       = <ref name="2010Census">{{ru-pop-ref| 2010Census}}</ref>
<!--| pop_density= -->
| pop_latest               =
| pop_latest_date          =
| pop_latest_ref           =
<!-- history -->
| established_date         =
| established_title        =
| established_date_ref     =
| current_cat_date         =
| current_cat_date_ref     =
| abolished_date           =
| abolished_date_ref       =
<!-- misc -->
| postal_codes             =
| postal_codes_ref         =
| dialing_codes            =
| dialing_codes_ref        =
| website                  =
}}

For an urban-type settlement

{{Infobox Russian inhabited locality
| en_name                  =
| ru_name                  =
| loc_name1                =
| loc_lang1                =
| loc_name2                =
| loc_lang2                =
| loc_name3                =
| loc_lang3                =
| loc_name4                =
| loc_lang4                =
| other_name               =
| other_lang               =
| image_skyline            =
| image_caption            =
| coordinates              =
| image_flag               =
| image_coa                =
| anthem                   =
| anthem_ref               =
| holiday                  =
| holiday_ref              =
<!-- administrative status -->
| federal_subject          =
| federal_subject_ref      =
| adm_district_jur         =
| adm_district_jur_ref     =
| adm_city_jur             =
| adm_city_jur_ref         =
| adm_citydistrict_jur     =
| adm_citydistrict_type    =
| adm_citydistrict_jur_ref =
| adm_selsoviet_jur        =
| adm_selsoviet_type       =
| adm_selsoviet_jur_ref    =
| adm_ctr_of1              =
| adm_ctr_of1_ref          =
| adm_ctr_of2              =
| adm_ctr_of2_ref          =
| inhabloc_cat             = Urban-type settlement
| inhabloc_cat_ref         =
| inhabloc_type            =
| inhabloc_type_ref        =
<!-- municipal status -->
| mun_district_jur         =
| mun_district_jur_ref     =
| urban_okrug_jur          =
| urban_okrug_jur_ref      =
| urban_settlement_jur     =
| urban_settlement_jur_ref =
| rural_settlement_jur     =
| rural_settlement_jur_ref =
| mun_admctr_of1           =
| mun_admctr_of1_ref       =
| mun_admctr_of2           =
| mun_admctr_of2_ref       =
| leader_title             =
| leader_title_ref         =
| leader_name              =
| leader_name_ref          =
| representative_body      =
| representative_body_ref  =
<!-- statistics -->
| area_km2                 =
| area_km2_ref             =
| pop_2010census           =
| pop_2010census_rank      =
| pop_2010census_ref       = <ref name="2010Census">{{ru-pop-ref| 2010Census}}</ref>
<!--| pop_density= -->
| pop_latest               =
| pop_latest_date          =
| pop_latest_ref           =
<!-- history -->
| established_date         =
| established_title        =
| established_date_ref     =
| current_cat_date         =
| current_cat_date_ref     =
| abolished_date           =
| abolished_date_ref       =
<!-- misc -->
| postal_codes             =
| postal_codes_ref         =
| dialing_codes            =
| dialing_codes_ref        =
| website                  =
}}

For a rural locality

{{Infobox Russian inhabited locality
| en_name                  =
| ru_name                  =
| loc_name1                =
| loc_lang1                =
| loc_name2                =
| loc_lang2                =
| loc_name3                =
| loc_lang3                =
| loc_name4                =
| loc_lang4                =
| other_name               =
| other_lang               =
| image_skyline            =
| image_caption            =
| coordinates              =
<!-- administrative status -->
| federal_subject          =
| federal_subject_ref      =
| adm_district_jur         =
| adm_district_jur_ref     =
| adm_city_jur             =
| adm_city_jur_ref         =
| adm_citydistrict_jur     =
| adm_citydistrict_type    =
| adm_citydistrict_jur_ref =
| adm_selsoviet_jur        =
| adm_selsoviet_type       =
| adm_selsoviet_jur_ref    =
| adm_ctr_of1              =
| adm_ctr_of1_ref          =
| adm_ctr_of2              =
| adm_ctr_of2_ref          =
| inhabloc_cat             = Rural locality
| inhabloc_cat_ref         =
| inhabloc_type            =
| inhabloc_type_ref        =
<!-- municipal status -->
| mun_district_jur         =
| mun_district_jur_ref     =
| urban_okrug_jur          =
| urban_okrug_jur_ref      =
| urban_settlement_jur     =
| urban_settlement_jur_ref =
| rural_settlement_jur     =
| rural_settlement_jur_ref =
| inter_settlement_territory =
| inter_settlement_territory_ref =
| mun_admctr_of1           =
| mun_admctr_of1_ref       =
| mun_admctr_of2           =
| mun_admctr_of2_ref       =
<!-- statistics -->
| area_km2                 =
| area_km2_ref             =
| pop_2010census           =
| pop_2010census_rank      =
| pop_2010census_ref       = <ref name="2010Census">{{ru-pop-ref| 2010Census}}</ref>
<!--| pop_density= -->
| pop_latest               =
| pop_latest_date          =
| pop_latest_ref           =
<!-- history -->
| established_date         =
| established_title        =
| established_date_ref     =
| current_cat_date         =
| current_cat_date_ref     =
| abolished_date           =
| abolished_date_ref       =
<!-- misc -->
| postal_codes             =
| postal_codes_ref         =
| dialing_codes            =
| dialing_codes_ref        =
| website                  =
}}

Microformat

The HTML markup 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 Misplaced Pages, 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 Misplaced Pages, please see the microformat project.

Sub-templates

If the place or venue has "established", "founded", "opened" or similar dates, use {{start date}} for the earliest of those dates unless the date is before 1583 CE.

If it has a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes

hCard uses HTML classes including:

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

Geo is produced by calling {{coord}}, and uses HTML classes:

  • geo
  • latitude
  • longitude

Please do not rename or remove these classes nor collapse nested elements which use them.

Precision

When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name= parameter.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox Russian inhabited locality in articles based on its TemplateData.

TemplateData for Infobox Russian inhabited locality

Maintenance categories

The template has some input checks built in. The absence of certain required parameters, or the use of unknown parameters, will cause the page to be categorized in a hidden maintenance category

Helper templates

See also

The above documentation is transcluded from Template:Infobox Russian inhabited locality/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template. Categories: