Template:Infobox Russian city/doc
This is a documentation subpage for Template:Infobox Russian city. It contains usage information, categories and other content that is not part of the original template page. |
This template employs intricate features of template syntax. You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
Usage
Please consider not adding this infobox to short articles. As a rule of thumb, if the length of the infobox exceeds the length of the article's text, adding the infobox is unlikely to be an improvement. Remember, the purpose of the infoboxes is to summarize the article information. If the article is only a couple paragraphs long, there really isn't much that needs to be summarized. Work on expanding the article first.
This template is a wrapper around {{Infobox Russian city}} designed for use in the articles about Russian cities/towns. Do not use it in the articles about urban-type settlements or rural localities, where the wrapper templates specific to those should be used.
Syntax
For the descriptions of the fields, please see Template:Infobox Russian city/doc.
Copy-paste models
{{Infobox Russian city |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_skyline= |image_caption= <!--|image_map= |map_caption= --> |map_label_position= |latd= |latm= |lats= |longd= |longm= |longs= |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_district_jur= |adm_district_jur_ref= |adm_inhabloc_jur= |adm_inhabloc_jur_ref= |capital_of= |capital_of_ref= |adm_ctr_of= |adm_ctr_of_ref= |inhabloc_cat_ref= |inhabloc_type= |inhabloc_type_ref= <!----MUNICIPAL STATUS----> |mun_data_as_of= |mun_district_jur= |mun_district_jur_ref= |urban_okrug_jur= |urban_okrug_jur_ref= |urban_settlement_jur= |urban_settlement_jur_ref= |mun_admctr_of= |mun_admctr_of_ref= |leader_title= |leader_title_ref= |leader_name= |leader_name_ref= |representative_body= |representative_body_ref= <!----STATISTICS----> |area_of_what= |area_as_of= |area_km2= |area_km2_ref= |pop_2010census= |pop_2010census_rank= |pop_2010census_ref= |pop_2002census= |pop_2002census_rank= |pop_2002census_ref=<ref name="PopCensus">{{ru-pop-ref|2002Census}}</ref> <!--|pop_density= |pop_density_as_of= |pop_density_ref=--> |pop_latest= |pop_latest_date= |pop_latest_ref= <!----HISTORY----> |established_date= |established_title= |established_date_ref= |current_cat_date= |current_cat_date_ref= |prev_name1= |prev_name2= |prev_name3= |prev_name4= |prev_name5= |prev_name1_date= |prev_name2_date= |prev_name3_date= |prev_name4_date= |prev_name5_date= |prev_name1_ref= |prev_name2_ref= |prev_name3_ref= |prev_name4_ref= |prev_name5_ref= |abolished_date= |abolished_date_ref= <!----MISCELLANEA----> |postal_codes= |postal_codes_ref= |dialing_codes= |dialing_codes_ref= |website= |website_ref= |date={{subst:#time:F Y}} }}
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 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.
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.