Template talk:Infobox Town GR

From Wikipedia, the free encyclopedia

Contents

[edit] Sample infobox

Note:This template is obsolete. Please use {{Infobox Greek Dimos}} instead.


Greece Athens (Αθήνα)

Location map


Coordinates 38°00′N 23°43′E / 38, 23.717Coordinates: 38°00′N 23°43′E / 38, 23.717
Country Greece
Periphery Attica
Prefecture Athens
Population 745,514 (2001)
Metropolitan area population 4,200,000 (2005)
Area 38 km²
Metropolitan area 427 km²
Population density 19,619 /km²
Elevation 70 m
Postal code 10x xx, 11x xx, 120 xx
Area code 210, 211, 212
Licence plate code Yxx, Zxx, Ixx (excluding INx)
Mayor Nikitas Kaklamanis
Website www.cityofathens.gr


The wikicode below will create the Infobox at the right:

{{Infobox Town GR
 |box_width = "width: 20em;"
 |name = Athens
 |province = 
 |name_local = Αθήνα 
 |image_map = Athens map.png
 |img_coa =  Athens seal.png
 |img_coa_legend = Seal of Athens
 |img_coa_size = 150px
 |periph = [[Attica]]
 |prefec = [[Athens Prefecture|Athens]]
 |population = 745,514
 |population_metro = 4,200,000
 |population_as_of = 2001
 |population_metro_as_of = 2005
 |pop_dens = 19,619
 |pop_metro_dens = 6,975
 |area = 38
 |area_metro = 427
 |elevation = 70
 |lat_deg = 38
 |lat_min = 00
 |lat_hem = N
 |lon_deg = 23
 |lon_min = 43
 |lon_hem = E
 |postal_code = 10x xx, 11x xx, 120 xx
 |area_code = 210, 211, 212
 |licence = Yxx, Zxx, Ixx (excluding INx)
 |mayor = Nikitas Kaklamanis
 |website = [http://www.cityofathens.gr www.cityofathens.gr]
}}

[edit] Purpose and use of the template

This template has replaced the infoboxes that were in use for Greek cities and towns (see e.g. the histories of the articles of Alexandroupoli, Thessaloniki, Pyrgos, Elis).

[edit] The used fields

  • box_width: optional to set infobox width (default= "width: 23em;").
  • name: the name, as commonly used in English. If there's no common English name: the modern Greek name, transliterated according to the UN/ELOT system.
  • name_local: the Greek name (Modern Greek, not Katharevousa)
  • image_map: image file name of the location map. If there is no location map for the city, use the prefecture map.
  • periph: English name of the periphery the town is in
  • prefec: English name of the prefecture the town is in. The word "Prefecture" should be piped out (see Thessaloniki example).
  • province: English name of the province the town is in. I left these blank because of the vague status of Greek provinces.
  • population: census data
  • population_as_of: year of the census
  • population_ref: source of the population data (see [1] for the 2001 census. See note below. *pop_dens: population divided by area
  • area: in km². I'm not sure what to use here, municipality or city proper (I have no data anyway).
  • elevation: in m above mean sea level (for town centre)
  • lat_deg, lat_min, lat_hem, lon_deg, lon_min, lon_hem: coordinates
  • postal_code: one number for small towns, a range for bigger ones
  • area_code: telephone area code
  • licence: car licence code
  • mayor: maybe leave this one out for smaller towns
  • website: link, see example
  • flag_reg: image file name for regional flag or symbol, such as Vergina sun.

[edit] Information deliberately left out of this template

  • Address of the city administration
  • E-mail addresses of the city administration, tourist information etc.
  • YPES codes
  • 3-letter abbreviations (no idea what they're used for)
  • Names of highest and lowest points
  • Subdivisions
  • City flag
  • City coat of arms (do Greek cities have those?)
  • Name of inhabitants
  • Local holidays

[edit] Population data

In the 2001 census data use the column Πραγματικός πληθυσμός - "real population", and not the municipality figure (e.g. ΔΗΜΟΣ ΙΕΡΑΣ ΠΟΛΗΣ ΜΕΣΟΛΟΓΓΙΟΥ) but the "municipal department" (Δ.Δ.Μεσολογγίου). For an explanation see below (taken from User_talk:Markussep#Hello_from_Makedonas):

Hi,well i think we use the same source but i use it in greek: http://www.statistics.gr/table_menu.asp?dt=0&sb=SAP_1&SSnid=Στοιχεία%20Πραγματικού%20-%20Μόνιμου%20-%20Νόμιμου%20Πληθυσμού table 6 . There are 3 populations for every city.1. the population of the "municipality" (this one include the suburbs/villages of every city) 2. the population of the "municipale department" of the city (which include some neighborhoods of the city which are not autonomus suburbs/villages) and 3. the population of the central part of the "city" without these neighborhoods. For the big cities municipality,municipal department and centre of city is the same thing.For the other cities we usualy use or the population of municipality(city with suburbs) or the population of municipale department to express the city without the suburbs.I used the second one.I thing you used the third one,thats why there is a little difference.That is for now.for any question i m here...

I'm going to change this, I think it's more in line with municipalities in other countries to use the municipality population (and area). So that would be the figure after ΔΗΜΟΣ ΙΕΡΑΣ ΠΟΛΗΣ ΜΕΣΟΛΟΓΓΙΟΥ, 17,988 in this case. Markussep 19:59, 23 January 2006 (UTC)

[edit] Complement EU

On December 16, 2004, The World Factbook, a publication of the United States' Central Intelligence Agency (CIA) added an entry for the European Union. [2] According to the CIA, the European Union was added because the EU "continues to accrue more nation-like characteristics for itself". Their reasoning was explained in this small statement in the introduction:

The evolution of the European Union (EU) from a regional economic agreement among six neighboring states in 1951 to today's supranational organization of 25 countries across the European continent stands as an unprecedented phenomenon in the annals of history... ... for such a large number of nation-states to cede some of their sovereignty to an overarching entity is truly unique... ... the EU ... has many of the attributes associated with independent nations: its own flag, anthem, founding date, and currency, as well as an incipient common foreign and security policy in its dealings with other nations. In the future, many of these nation-like characteristics are likely to be expanded. Thus, inclusion of basic intelligence on the EU has been deemed appropriate as a new, separate entity in The World Factbook. However, because of the EU's special status, this description is placed after the regular country entries.

I might add that EU citizens have EU- numberplates, -passports, drivinglicense, the EU institutions, and regular election. I hope you support the small extension I made... all the best Lear 21 18:31, 24 October 2006 (UTC)

Strong Oppose. The EU is neither a country or a soverign state, so its inclusion in the line describing the country is misplaced, therefore it should be removed. --Bob 00:05, 25 October 2006 (UTC)

Please stop reverting the addition in country column and reconsider your stance. For an overwhelming number of reasons EU is already a country-like entity and deserves to stand there, like in any official affairs. all the best Lear 21 10:56, 25 October 2006 (UTC)

I don't think the EU should be in town infoboxes. The EU is not a country, it's an entity in which 25 countries cooperate. Or as the EU article states it: "confederation of independent states". My driving licence may look similar to the licences of other countries (it says it's the model of the European communities), but it says "Koninkrijk der Nederlanden", not "European Union". The Union isn't mentioned on it at all. Markussep 19:48, 25 October 2006 (UTC)
Strong oppose here as the other places where this has been suggested, see also: Template talk:Infobox City Poland Valentinian (talk) / (contribs) 21:25, 25 October 2006 (UTC)

[edit] city flag/coat of arms

Can someone add conditional code for the city flag and/or coat of arms? Some cities do have flags and I'd like to include them. Thanks. Miskin 23:47, 25 October 2006 (UTC)

done, with parameters to size the image correctly. I wasn't sure if you wanted it side-by-side with the map though, as is is ok. If you like, I could add in the flag parameters. Or you could just cop and paste the code from Template:French commune, which I have just updated to include those things. --Bob 00:05, 26 October 2006 (UTC)

That's how I wanted it! But I still can't get the pic to appear. What field should I add? E.g. img_coa = image.gif Miskin 00:12, 26 October 2006 (UTC)

Also maybe it shouldn't explicitely state "coat of arms" (if it does already). Some towns have flags, others have symbols, and for the ones that have nothing I was thinking putting a decorative image. Or maybe add a conditional field that wouldn't state c.o.a.? Thanks again for your fast response. Miskin 00:14, 26 October 2006 (UTC)

Use img_coa for the image without the Image: bit, use img_coa_size to determine the desired size of the image and img_coa_legend to describe what the image is. An example is above with Athens. --Bob 00:41, 26 October 2006 (UTC)

Somebody wanted to also introduce a small image of the Vergina Sun in Macedonia articles. I've tentatively added a conditional field "flag_reg=", it takes the image file name of a flag of the region/prefecture/periphery/whatever, to be displayed in the top right corner of the heading, opposite the small Greek flag. Fut.Perf. 10:30, 8 November 2006 (UTC)
I am not sure it works completely. I tried it with Thessaloniki (unsaved). The flag turns up alright but so does an unexpected "]" Valentinian (talk) / (contribs) 10:40, 8 November 2006 (UTC)
Repaired, I think. Thanks for spotting it. Fut.Perf. 11:02, 8 November 2006 (UTC)

[edit] Maps

I just added a feature that creates a map if coordinates are given. I tested it for several towns, it looks like I got the positions right. If you see a dot at the wrong place, let me know. The coordinates might be wrong then. Markussep 19:01, 6 January 2007 (UTC)

[edit] New Template?

I had some free time, and tried making a new template for the Greek cities with my limited code ability. I felt they were more deserving of a better looking and more informative one, like some of the other template Infoboxes for others cities on wiki. Here's the link to it: Greek Dimos Please check it out. I've tried all the fields and everything seems to work, but if you see something that needs correcting you can go ahead and correct. There is an example in the Disscusion Page. El Greco 01:35, 13 January 2007 (UTC)

[edit] New dot-on-a-map template

When building {{Infobox German Location}}, it was necessary to bring over the {{Lageplan}} template from the German wiki to display the map with the location dot. Infobox Town GR and the new Infobox Greek Dimos are the only other templates on the English wiki that use Lageplan. Only recently, I discovered a template on the English wiki that already does this job: {{Location map}}. The people behind this template have already made up a series of settings to cover different locations (see template page for list), including Germany and Greece. The Location Map template has already been integrated into a number of templates such as {{Infobox_Swiss_town}}, {{Infobox_London_place}} and will probably soon be part of {{Infobox City}}. This makes the Lageplan template almost redundant, and I am thinking of removing it from the German infobox and, if it is removed from the Greek one, disabling it altogether. Location map has a number of new cool features (optional label text, a bit more user-friendly than Lageplan) but there are some features of Lageplan that it does not have (mouseover-text for the dot, error map if bad co-ordinates are given). Give it a try and if you decide to use it instead of Lageplan, please let me know. - 52 Pickup 16:45, 28 January 2007 (UTC)


I changed the template so that if image_map is provided, it will be displayed instead of the dot-map. geraki 15:10, 9 May 2007 (UTC)