Template:Infobox Russian district/sandbox
Infobox Russian district/sandbox | |
---|---|
Country | Russia |
Federal subject | Mandatory parameter. Please, specify |
![]() | __EXPECTUNUSEDTEMPLATE__This is the template sandbox page for Template:Infobox Russian district (diff). See also the companion subpage for test cases. |

NO LABEL (P41) (see uses)
NO LABEL (P94) (see uses)
NO LABEL (P571) (see uses)
NO LABEL (P2046) (see uses)
NO LABEL (P721) (see uses)
NO LABEL (P625) (see uses)
NO LABEL (P1082) (see uses)
NO LABEL (P36) (see uses)
![]() | 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. |
Usage
- 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.
A live example of the template can be seen in the Giaginsky District article.
Syntax
<syntaxhighlight lang="wikitext" style="overflow:auto">Name in English
Name in Russian | |
---|---|
only for city districts; caption for that image only for city districts; caption for that image | |
[[File:Name of the flag image (do not include "[[File:]]")|125px|border|Flag of Name in English]] Flag [[File:Name of the coat of arms image (do not include "[[File:]]")|70px|Coat of arms of Name in English]] Coat of arms | |
Anthem: Title of the anthemReference for the anthem; use "Cite error: There are <ref> tags on this page without content in them (see the help page)." | |
Caption for the map Caption for the map | |
Country | Russia |
Federal subject | Name of the federal subject to which the district is administratively subordinated(Optional) reference for the federal subject; use "Cite error: There are <ref> tags on this page without content in them (see the help page)." |
Established | Date on which the district was established. If a district was established/abolished more than once, use the most recent dateReference for the date of the foundation; use "Cite error: There are <ref> tags on this page without content in them (see the help page)." |
Abolished | Date on which the district was abolished. This parameter is only used for cases when the district ceases to exist completely.Reference for the above; use "Cite error: There are <ref> tags on this page without content in them (see the help page)." |
Administrative center | Name of the inhabited locality which serves as the administrative center of the districtReference for the administrative center type and name; use "Cite error: There are <ref> tags on this page without content in them (see the help page)." |
Government | |
• Type | Local government |
• Body | Name of the representative body of the municipal formation recorded aboveReference for the above; use "Cite error: There are <ref> tags on this page without content in them (see the help page)." |
• Title of the leader of the municipal formation recorded above. "Leader" is the default value if municipal_formation1_leader_name is specified.Reference for the above; use "Cite error: There are <ref> tags on this page without content in them (see the help page)." | Name of the leader of the municipal formation recorded aboveReference for the above; use "Cite error: There are <ref> tags on this page without content in them (see the help page)." |
Area Reference for the area value; use "Cite error: There are <ref> tags on this page without content in them (see the help page)." | |
• Total | Area in square kilometers; converts to square miles automatically. Use no spaces or commas. km2 (Formatting error: invalid input when rounding sq mi) |
Population (2010 Census)Reference for the 2010 Census figure. When using the official source, set this parameter to <ref name="2010Census">{{ru-pop-ref|2010Census}}</ref> | |
• Total | District's population as of the 2,010 Census. Is referenced automatically but can be overridden by pop_2,010census_ref. Use no spaces. |
• Estimate (Date as of which the population estimate is given; will display as "(as of?)" if no value is given.)Reference for the latest population estimate; use "Cite error: There are <ref> tags on this page without content in them (see the help page)." | Most recent available population estimate. Use no spaces or commas. |
• Urban | Urban population percentage as of the 2,010 Census. Is referenced automatically. |
• Rural | Rural population percentage as of the 2,010 Census. Is referenced automatically. |
Administrative structure | |
• Administrative divisions | Number of towns of district significance If the district is divided into towns of district significance, this fields contains the term used to refer to them, Number of urban-type settlements of district significance If the district is divided into urban-type settlements of district significance, this fields contains the term used to refer to them, Number of rural administrative units of this type Type of the rural administrative unit into which the district is divided, Number of rural administrative units of this type Another type of the rural administrative unit into which the district is divided, if applicable |
• Inhabited localitiesReference for the counts above; use "Cite error: There are <ref> tags on this page without content in them (see the help page)." | Number of cities/towns in administrative jurisdiction of the district cities/towns, Number of urban-type settlements in administrative jurisdiction of the district Urban-type settlements[1], Number of rural localities on the territory of the district rural localities |
Municipal structure | |
• Municipally incorporated as | Name of the municipal formation covering the whole or a part of the district's territoryReference for the above; use "Cite error: There are <ref> tags on this page without content in them (see the help page)." |
• Municipal divisionsReference for counts the above; use "Cite error: There are <ref> tags on this page without content in them (see the help page)." | Number of urban settlements on the territory of the municipal formation recorded above urban settlements, Number of rural settlements on the territory of the municipal formation recorded above rural settlements |
Holiday | Date of the district's official holidayReference for the holiday; use "Cite error: There are <ref> tags on this page without content in them (see the help page)." |
Website | Full URL of the official website of the city/town |
Copy-paste model
<syntaxhighlight lang="wikitext">
Infobox Russian district/sandbox | |
---|---|
Country | Russia |
</syntaxhighlight>
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.