Difference between revisions of "Template:Infobox Romania place"
imported>Markussep (Polparty template for mayor) |
imported>TerraCyprus m (TerraCyprus moved page Template:Infobox Romanian subdivision to Template:Infobox Romania place: use "place" as is done by Australian place (since 2006) and UK place (since 2007) and use noun to explicitly refer to the country (e.g. there are Hungarian villages in Romania)) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 14: | Line 14: | ||
| image_skyline = {{{image_skyline<includeonly>|</includeonly>}}} | | image_skyline = {{{image_skyline<includeonly>|</includeonly>}}} | ||
| image_caption = {{{image_caption<includeonly>|</includeonly>}}} | | image_caption = {{{image_caption<includeonly>|</includeonly>}}} | ||
| − | | image_size = | + | | image_size = 270x300px |
| coordinates = {{<includeonly>safesubst:</includeonly>#if:{{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|region:RO|type:adm1st|dim:100000}}}} | | coordinates = {{<includeonly>safesubst:</includeonly>#if:{{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|region:RO|type:adm1st|dim:100000}}}} | ||
| image_map = {{{image_map<includeonly>|</includeonly>}}} | | image_map = {{{image_map<includeonly>|</includeonly>}}} | ||
| Line 21: | Line 21: | ||
| pushpin_map_caption = Location in Romania | | pushpin_map_caption = Location in Romania | ||
| pushpin_mapsize = 270 | | pushpin_mapsize = 270 | ||
| − | | mapsize = | + | | mapsize = 270x250px |
| map_alt = | | map_alt = | ||
| subdivision_type = Country | | subdivision_type = Country | ||
Latest revision as of 14:41, 19 September 2020
[[Category:Template:Pagetype with short description]]
Script error: No such module "If empty". {{{other_name}}} | |
|---|---|
| [[File:{{{image_skyline}}}|270x300px|{{{image_caption}}}]] {{{image_caption}}} | |
[[File:{{{image_flag}}}|100x100px|border|Flag of {{{official_name}}}]] Flag [[File:{{{image_shield}}}|100x100px|Coat of arms of {{{official_name}}}]] Coat of arms | |
| [[File:{{{image_map}}}|270x250px|{{{map_caption}}}]] {{{map_caption}}} | |
| Country | |
| County | {{{county}}} |
| Established | {{{established_date}}} |
| Government | |
| • Mayor | {{{leader_name}}} (Template:Polparty) |
| Area | 1 km2 (Template:Round sq mi) |
| Elevation | 0 m (Template:Round ft) |
| Highest elevation | 0 m (Template:Round ft) |
| Lowest elevation | 0 m (Template:Round ft) |
| Population | 0 |
| • Density | Template:Round/km2 (Template:Round/sq mi) |
| Script error: No such module "If empty". | |
| Time zone | EET/EEST (UTC+2/+3) |
| Postal code | {{{postal_code}}} |
| Area code | Script error: No such module "If empty". |
| Website | {{{website}}} |
[[Category:Infobox templates|Template:Remove first word]]
Template:Uses Infobox settlement
| This template uses Lua: |
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
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Microformat
Tracking category
| The above documentation is transcluded from Template:Infobox Romania place/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |