Difference between revisions of "Template:Infobox Romania place/doc"
imported>Markussep (→Usage: political party) |
imported>Markussep m (→TemplateData) |
||
| Line 63: | Line 63: | ||
"image_location": {}, | "image_location": {}, | ||
"image_map": {}, | "image_map": {}, | ||
| − | "leader_party": {}, | + | "leader_party": { |
| + | "description": "fill in the acronym of the mayor's party", | ||
| + | "example": "PSD, PNL" | ||
| + | }, | ||
"leader_name": {}, | "leader_name": {}, | ||
"elevation": { | "elevation": { | ||
Revision as of 15:11, 27 March 2020
| This is a documentation subpage for Template:Infobox Romania place. It contains usage information, categories and other content that is not part of the original template page. |
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 in Portugal
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Microformat
Tracking category