Difference between revisions of "Template:Infobox Romania place/doc"

From blackwiki
Jump to navigation Jump to search
imported>Markussep
imported>Vanisaac
m (→‎Tracking category: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
Line 154: Line 154:
 
* {{clc|Romania articles requiring maintenance}}
 
* {{clc|Romania articles requiring maintenance}}
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
<includeonly>{{Sandbox other||
 
<!--Categories below this line, please; interwikis at Wikidata-->
 
<!--Categories below this line, please; interwikis at Wikidata-->
 
[[Category:Europe country subdivision infobox templates|Portugal]]
 
[[Category:Europe country subdivision infobox templates|Portugal]]
 
[[Category:Templates that add a tracking category]]
 
[[Category:Templates that add a tracking category]]
 
}}</includeonly>
 
}}</includeonly>

Revision as of 21:07, 25 April 2020

Template:Uses Infobox settlement

Usage

This is a dedicated infobox for administrative divisions of Romania. The following subdivisions are currently supported:

The infobox can retrieve population data from Wikidata using the template {{Romania metadata Wikidata}}. To activate this, fill in "auto" in the "population_total" field. The infobox uses the template {{Polparty}} for the political party of the mayor. Fill in the (Romanian) acronym of the party in the "leader_party" field.

Structure

{{Infobox Romanian subdivision
|type               = <!-- municipality, town, commune -->
|official_name      = 
|image_flag         =
|image_shield       = 
|image_skyline      = 
|image_caption      = 
|image_location     = 
|county             = <!-- = ''județ'' -->
|leader_name        = <!-- mayor -->
|leader_party       = 
|coordinates        = <!-- Use {{Coord}} -->
|elevation          = <!-- elevations in meters -->
|elevation_min      = 
|elevation_max      = 
|area_total         = 
|population_as_of   = 
|population_total   = <!-- Fill in "auto" to use the 2011 census data from wikidata -->
|population_footnotes = 
|postal_code        = 
|area_code          = 
|website            = 
}}

TemplateData

TemplateData documentation used by VisualEditor and other tools
See the monthly parameter usage report for this template.

TemplateData for Infobox Romania place

Infobox for municipalities, towns and communes in Romania

Template parameters

ParameterDescriptionTypeStatus
Official_nameofficial_name name

no description

Unknownoptional
Image_shieldimage_shield image_coat_of_arms image_seal

no description

Unknownoptional
Image_flagimage_flag

no description

Unknownoptional
Image_skylineimage_skyline

no description

Unknownoptional
Coordinatescoordinates

no description

Unknownoptional
Image_locationimage_location

no description

Unknownoptional
Image_mapimage_map

no description

Unknownoptional
Map_captionmap_caption

Caption for the map image defined with "image_map". Default is "Location within the county"

Unknownoptional
Countycounty

no description

Stringrequired
Leader_partyleader_party

fill in the acronym of the mayor's party

Example
PSD, PNL
Unknownoptional
Leader_nameleader_name

no description

Unknownoptional
Elevationelevation elevation_m

no description

Unknownoptional
Elevation_minelevation_min elevation_min_m

no description

Unknownoptional
Elevation_maxelevation_max elevation_max_m

no description

Unknownoptional
Area_total_km2area_total_km2 area_total

no description

Unknownoptional
Population_totalpopulation_total

fill in "auto" to use the 2011 census data provided by wikidata

Unknownoptional
Population_as_ofpopulation_as_of

no description

Unknownoptional
Postal_codepostal_code

no description

Unknownoptional
Area_codearea_code

no description

Unknownoptional
Websitewebsite

no description

Unknownoptional
Image_captionimage_caption

no description

Unknownoptional
Typetype

type of subdivision: "municipality", "town" or "commune"

Example
municipality, town, commune
Stringrequired
Population_footnotespopulation_footnotes

no description

Unknownoptional
Other_nameother_name

no description

Unknownoptional
Established_dateestablished_date

no description

Unknownoptional
Subdivisionssubdivisions

The localities in the commune, town or municipality

Unknownoptional

Microformat

Template:UF-hcard-geo

Tracking category