Template:Infobox Greece place/doc
{{#ifeq:doc |doc
|
{{#ifeq:show |show
| Template:Mbox }}{{#if: | | {{#ifexist:Template:Infobox Greece place | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
| Warning | This template is used on approximately 3,100 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
| File:Lua-Logo.svg | This template uses Lua: |
{{#ifeq:Template|Template|
| File:Ambox warning yellow.svg | 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. |
{{#ifeq: Infobox Greece place/doc | Infobox Greece place | }}}}
This infobox is to be used for Greek towns, cities, municipalities, and villages. See Talk page for instructions and discussions.
Parameters
Lua error: Internal error: The interpreter has terminated with signal "24".
<syntaxhighlight lang="wikitext" style="overflow:auto;"> Template:Infobox Greek place </syntaxhighlight>
Parameters deliberately left out
- All the size fields, such as flag_size, seal_size, imagesize and pushpin_mapsize. They are all formatted by the infobox itself, so there is no need to adjust them.
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
|
- 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
|
- 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 |{{SAFESUBST:#if:name|name=}} parameter.{{#ifeq:doc|doc | |
}}
Tracking category
- [[:Category:Lua error: Internal error: The interpreter has terminated with signal "24".|{{#if:|{{{name}}}|Category:Lua error: Internal error: The interpreter has terminated with signal "24".}}]] (0)
TemplateData
<div style="display:block;margin-{{#switch:{{#if:||{{#if:{{#ifeq:lua error: internal error: the interpreter has terminated with signal "24".|en |{{#ifeq:{{#titleparts:infobox greece place/doc||-1}}|en
|lua error: internal error: the interpreter has terminated with signal "24".
}}
|lua error: internal error: the interpreter has terminated with signal "24". }}|{{#ifeq:lua error: internal error: the interpreter has terminated with signal "24".|en |{{#ifeq:{{#titleparts:infobox greece place/doc||-1}}|en
|lua error: internal error: the interpreter has terminated with signal "24".
}}
|lua error: internal error: the interpreter has terminated with signal "24". }}|⧼lang⧽}}}} |aeb|aeb-arab|aic|ar|arc|arq|ary|arz|azb|bcc|bgn|bqi|bqp|ckb|ckb-arab|dv|en-rtl|fa|fa-af|glk|ha-arab|haz|he|khw|kk-arab|kk-cn|ks|ks-arab|ku-arab|lki|lrc|luz|mzn|nqo|ota|phn|pnb|prd|prs|ps|sd|sdh|skr|skr-arab|tg-arab|tly|ug|ug-arab|ur|uz-arab|xpu|ydd|yi ={{#ifeq:|-||{{#ifeq:right|right|right|rtl}}}} |#default ={{#ifeq:|-||{{#ifeq:left|left|left|ltr}}}} }}:0;"><table class="mw-collapsible {{#if:|| mw-collapsed}}" style="margin-top:.2em; border:1px solid silver;text-align:{{#switch:{{#if:||{{#if:{{#ifeq:lua error: internal error: the interpreter has terminated with signal "24".|en |{{#ifeq:{{#titleparts:infobox greece place/doc||-1}}|en
|lua error: internal error: the interpreter has terminated with signal "24".
}}
|lua error: internal error: the interpreter has terminated with signal "24". }}|{{#ifeq:lua error: internal error: the interpreter has terminated with signal "24".|en |{{#ifeq:{{#titleparts:infobox greece place/doc||-1}}|en
|lua error: internal error: the interpreter has terminated with signal "24".
}}
|lua error: internal error: the interpreter has terminated with signal "24". }}|⧼lang⧽}}}} |aeb|aeb-arab|aic|ar|arc|arq|ary|arz|azb|bcc|bgn|bqi|bqp|ckb|ckb-arab|dv|en-rtl|fa|fa-af|glk|ha-arab|haz|he|khw|kk-arab|kk-cn|ks|ks-arab|ku-arab|lki|lrc|luz|mzn|nqo|ota|phn|pnb|prd|prs|ps|sd|sdh|skr|skr-arab|tg-arab|tly|ug|ug-arab|ur|uz-arab|xpu|ydd|yi ={{#ifeq:|-||{{#ifeq:right|right|right|rtl}}}} |#default ={{#ifeq:|-||{{#ifeq:left|left|left|ltr}}}}
}}; width: 100%;"><th style="font-size:112%;background:#F8FCFF;color:black;text-align:{{#if: | {{#switch:{{#if:||{{#if:{{#ifeq:lua error: internal error: the interpreter has terminated with signal "24".|en |{{#ifeq:{{#titleparts:infobox greece place/doc||-1}}|en |lua error: internal error: the interpreter has terminated with signal "24". }} |lua error: internal error: the interpreter has terminated with signal "24". }}|{{#ifeq:lua error: internal error: the interpreter has terminated with signal "24".|en |{{#ifeq:{{#titleparts:infobox greece place/doc||-1}}|en |lua error: internal error: the interpreter has terminated with signal "24". }} |lua error: internal error: the interpreter has terminated with signal "24". }}|⧼lang⧽}}}} |aeb|aeb-arab|aic|ar|arc|arq|ary|arz|azb|bcc|bgn|bqi|bqp|ckb|ckb-arab|dv|en-rtl|fa|fa-af|glk|ha-arab|haz|he|khw|kk-arab|kk-cn|ks|ks-arab|ku-arab|lki|lrc|luz|mzn|nqo|ota|phn|pnb|prd|prs|ps|sd|sdh|skr|skr-arab|tg-arab|tly|ug|ug-arab|ur|uz-arab|xpu|ydd|yi ={{#ifeq:|-||{{#ifeq:right|right|right|rtl}}}} |#default ={{#ifeq:|-||{{#ifeq:left|left|left|ltr}}}} }} | center }}">TemplateData documentation used by VisualEditor and other tools{{#if: | <translate> The following is a closed debate.</translate> Template:Strong }}
{{#switch:<translate></translate> |=
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|{{#ifexpr:{{#if:|{{#ifeq:Template:Infobox Greece place/doc|{{#switch:
|#default =
| =
{{#ifeq: |
| Template:{{{docpage}}}
|
}}
}}|0|1}}|not{{#ifexpr: ( {{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:infobox greece place/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|0}}}}|
|#default = Infobox Greece place/doc
| =
{{#ifeq: |
| Template:Infobox Greece place/doc
| Infobox Greece place/doc
}}
}}|<span style="" title="<translate nowrap> View this template</translate>">{{#if:|<translate> v</translate>|<translate> view</translate>}}]] · [[[:Template:Fullurl:]] <span style="" title="<translate nowrap> Discuss this template</translate>">{{#if:|<translate> d</translate>|<translate> talk</translate>}}]{{#if:|| · [{{fullurl:{{#switch:
|#default = Infobox Greece place/doc
| =
{{#ifeq: |
| Template:Infobox Greece place/doc
| Infobox Greece place/doc
}}
}}|action=edit}} <span style="" title="<translate nowrap> Edit this template</translate>">{{#if:|<translate> e</translate>|<translate> edit</translate>}}]}}{{#if:1|]}}}}}} {{#if:1||<translate> This is the [[<tvar name=1>Special:MyLanguage/Help:TemplateData</tvar>|TemplateData]] documentation for this template used by [[<tvar name=2>Special:MyLanguage/VisualEditor</tvar>|VisualEditor]] and other tools.</translate>}}
Infobox Greece place
{{#ifeq:doc|sandbox||{{#if:{{#ifexpr: (
{{#ifeq:doc|doc|1|0}} or ( {{#ifeq:{{#titleparts:template:infobox greece place/doc|-1|-2}}|doc|1|0}} and {{#if:{{#translation:}}|1|0}} ) )|1|}}|[[Category:TemplateData documentation{{#translation:}}]]|[[Category:Templates using TemplateData{{#translation:}}]]}}}} | #default=
Lua error: Internal error: The interpreter has terminated with signal "24".
}} <templatedata>{ "description": "Infobox for places in Greece", "params": { "name_local": {}, "imagesize": {}, "caption_skyline": {}, "city_flag": {}, "city_seal": {}, "image_map": {}, "map_caption": {}, "georegion": {}, "periph": {}, "periphunit": {}, "municipality": {}, "municunit": {}, "community": {}, "established_c": {}, "established_m": {}, "established_v": {}, "districts": {}, "mayor": {}, "party": {}, "since": {}, "seat": {}, "area_urban": {}, "area_village": {}, "area_metro": {}, "area_municipality": {}, "area_municunit": {}, "elevation": {}, "elevation_max": {}, "elevation_min": {}, "population_urban": {}, "population_village": {}, "population_metro": {}, "pop_municipality": {}, "pop_municunit": {}, "demonym": {}, "pop_community": {}, "area_community": {}, "postal_code": {}, "area_code": {}, "licence": {}, "website": {}, "footnotes": {}, "type": { "description": "Type of settlement or administrative division. Valid types are municipality (m), municipal unit (mu), community (c). Default is \"settlement\".", "required": true }, "name": {}, "image_skyline": {}, "coordinates": {}, "area": {}, "population_as_of": {}, "population": {} }, "paramOrder": [ "type", "name_local", "imagesize", "caption_skyline", "city_flag", "city_seal", "image_map", "map_caption", "georegion", "periph", "periphunit", "municipality", "municunit", "community", "established_c", "established_m", "established_v", "districts", "mayor", "party", "since", "seat", "area_urban", "area_village", "area_metro", "area_municipality", "area_municunit", "elevation", "elevation_max", "elevation_min", "population_urban", "population_village", "population_metro", "pop_municipality", "pop_municunit", "demonym", "pop_community", "area_community", "postal_code", "area_code", "licence", "website", "footnotes", "name", "image_skyline", "coordinates", "area", "population_as_of", "population" ] } </templatedata>