Template talk:Infobox CityIT

From Wikipedia, the free encyclopedia

Comune di Sanremo
Coat of arms of Comune di Sanremo
Municipal coat of arms
Country Flag of Italy Italy
Region Liguria
Province Imperia (IM)
Mayor Claudio Borea
Elevation 15 m (49 ft)
Area 54 km² (21 sq mi)
Population (as of 2004)
 - Total 56,903
 - Density 1,054/km² (2,730/sq mi)
Time zone CET, UTC+1
Coordinates 43°49′N, 7°47′E
Gentilic Sanremesi or Sanremaschi
Dialing code 0184
Postal code 18038
Frazioni San Romolo, Poggio, Bussana, Bussana Vecchia, Coldirodi, Verezzo, San Bartolomeo, Gozzo Superiore, Gozzo Inferiore, Verezzo San Donato, Verezzo Sant'Antonio, San Giacomo, San Giovanni, Borello
Patron Saint Romolo
 - Day October 13
Website: comunedisanremo.it



Sample infobox for Sanremo

Contents

[edit] Fractions?

Perhaps a better English translation for this heading is needed - though I am not sure myself what this would be - AKeen 05:02, 30 March 2006 (UTC)

I used the original name frazioni because already existed an article with this name, and I hadn't any idea on how to exactly translate this word in English. As written in the article, a frazione, italian for fraction, is the lowest subdivision of an italian municipality.--Dani 7C3 13:26, 31 March 2006 (UTC)
I have decided to italicize the original Italian, i.e. frazioni because fractions is clearly inappropriate. "Subdivision" is probably the best term, although in some cases, a frazione is not really formal subdivision as such, but nothing more than an outlying hamlet. Given that we have a link to frazione, I think that covers it reasonably well. ρ¡ρρµ δ→θ∑ - (waarom? jus'b'coz!) 07:26, 4 May 2006 (UTC)

[edit] Improvement

Hi people of Wikipedia, I've made a new version of this template, clearly inspired to the Portuguese and French ones, which looks better than the current one (in my opinion). You can find it here, and here's also an example of how it would look. Tell me your opinion and your possible suggestions to improve it. Thanks. --Angelo 16:00, 9 July 2006 (UTC)

Yeah, I like it. Cmdrbond 02:03, 10 July 2006 (UTC)

I also had a go at this a while back. I even got as far as plugging it into a few pages but I had to leave it for a few weeks and when I returned people had reverted to the current template. My version can be found here. I think part of the problem is that this is very subjective. I like the fonts on your version. It looks a lot cleaner than many of these templates but personally, I don't like the gridlines as I think they add to the clutter. As you can see, I also prefer the narrower boxes (the box on the current Milan page for example is much too wide). I also like to have a map that shows where a city is located. It would be good to have some standards for some of these boxes as they can make a real difference to the look of a page, but it's probably worth mentioning that in addition to our two versions there are at least four other templates for this box (Template:Infobox CityIT, Template:Infobox CityIT2, Template:Infobox CityIT3, Template:Infobox Italy town) and those are just the ones I found on this page without even looking hard. Meddlin' Pedant 20:21, 10 July 2006 (UTC)

Alright, I've followed your suggestions. I've removed the gridlines, and added an optional map feature. The new template is shown here. On suggestion of Attilios, I've also added a "img_coa_small" option for coat of arms smaller than 140 pixels. I also agree about the opportunity to make a unique city infobox rather than four (five?) different ones. The differences, by the way, are actually negligible, and could be provided as optional features for this new template. --Angelo 01:30, 11 July 2006 (UTC)
OK, I like that and now I know where to find Mazara del Vallo. ;-)
Just a couple more points. The first is minor, but the grey around the map looks a bit strange. That's not important though. The second is more important. It looks good when viewed in Firefox, but when viewed in IE, the background shows through and the appearance of gridlines remains. I've tried fixing this on my own page but I'm too tired and I can't get it right.
It looks as though two of those templates aren't used but two are used extensively. I'd say update Infobox CityIT with your version and start converting the other pages to use Infobox CityIT instead of the other templates.
The grey around the map is the same grey in all the table, you can be sure of this. The second issue has been fixed (it needed a cellspacing="0" parameter to be set for the table). About the unused templates, we can submit them for deletion, shouldn't we? --Angelo 20:01, 11 July 2006 (UTC)
Yeah, I know the grey is the same. Problem traced to monitor cable that is dying. ;-)
I don't know what to think about the other templates. Nothing links to "Template:Infobox Italy town", but apparently that doesn't mean it is unused. I think it is unneccessary as the content (mayor, patron saint etc) probably applies to any Italian comune regardless of size. Similarly, nothing I can see links to "Template:Infobox CityIT2" and a number of the pages that link to "Template:Infobox CityIT3" are new stubs that Attilios created recently. I think we could submit all of these 3 for deletion, but I don't completely understand how templates are used.
I've orphaned Infobox CityIT3, as it is now equivalent to use this template with the "img_coa_small = yes" option. I am submitting all of these three templates for deletion. --Angelo 23:50, 11 July 2006 (UTC)

[edit] Image Size

It seems there is a provision for resizing too-small images, but maybe all images should be sized uniformly. On some pages, Sulmona for example, the Coat of Arms is huge. - AKeen 16:42, 13 July 2006 (UTC)

Fixed. --Angelo 16:49, 13 July 2006 (UTC)

[edit] Box

Hello again. I've looked at this in use on a page (Pescara) now. Because the background is mostly white, it might be better to put the lines back - but only around the edge of the whole template, not around each individual cell.Meddlin' Pedant 21:27, 13 July 2006 (UTC)

This new design works nicely for images with a transparent background (Careggine)- however, many crests have a white box around them (Montorio_al_Vomano). This was masked before by the white cell box for the crest (like on the Italian infobox [1]). Just a heads up.- AKeen 17:41, 16 July 2006 (UTC)
It's the crests who are wrong, not the template, since they all should have a transparent background too. How many these images are? --Angelo 17:46, 16 July 2006 (UTC)
There are many - and many are on Commons, as well - AKeen 17:48, 16 July 2006 (UTC)

[edit] Flags

I like how the Italian and French versions use flags for the province and region. The way they acheive this is by creating a template for each province and region and calling them with the command fr:Modèle:IT-TOS. Is there a beter way to do this because I think it would look good to have all the flags.Cmdrbond 07:02, 15 July 2006 (UTC)

[edit] Map

I've improved the map system inside the template, applying the Template:Location map issues into this infobox. Now "mapx" and "mapy" are equivalent respectively to latitude and longitude for the associated city, rather than meaningless numbers. In addition, I've uploaded a new version of the Italian map in order to include the Pelagie Islands, which were not the part of the old one. --Angelo 03:28, 16 July 2006 (UTC)

It doesn't seem quite right. The co-ordinates in the template look correct (at least compared to the extreme points of Italy page on the French Wiki) and the co-ordinates on the Pescara page match up with those quoted on Multimap but the dot for Pescara now appears on the border with Marche. i.e. a little too far north.
I've had a look to the possible causes, and I discovered the Italian map is definitely wrong in some of its parts. I've created a map of Italy from Google Maps, and now I'm involved in an attempt to convert it to SVG. I don't know when I would finish this job, I hope in a couple of days at most. --Angelo 13:45, 17 July 2006 (UTC)

[edit] UTC

IMO the timezone does not need to be a variable. It's the same for all IT-cities, right? Then we could also easy switch the link to go to UTC+1. Tobias Conradi (Talk) 13:58, 14 September 2006 (UTC)

  • Actually, it's not a variable. It's "CET, UTC +1" by default. --Angelo 15:42, 14 September 2006 (UTC)

[edit] Implementation

Is the humangous space in Cortina d'Ampezzo due to this box and its templates? I think so - please fix. Thanks, Scriberius 02:21, 19 October 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 22:27, 24 October 2006 (UTC)

[edit] coor

we need a way of placing the coordinates in a "coor title" template as well. Otherwise the articles will not show up on google earth. dab (𒁳) 07:55, 17 July 2007 (UTC)

Could you give us a practical example? --Angelo 18:49, 17 July 2007 (UTC)
see {{Infobox German Location}} where that was also the issue. Agathoclea 20:00, 23 July 2007 (UTC)
No need. Google are parsing {{coord}}. Andy Mabbett | Talk to Andy Mabbett 20:15, 23 July 2007 (UTC)

[edit] General images

I have just noticed on Völs am Schlern that someone misused the COA by putting a picture of the area in there. Wanting to move it to th right spot I could not find a parameter for it though. Would anybody mind adding one - or if I added one? Agathoclea 20:00, 23 July 2007 (UTC)

Common photos different than coats of arms should be put outside this infobox. I am going to fix it. --Angelo 21:13, 23 July 2007 (UTC)

[edit] Imperial Area, Density etc

I know this template is for Italian cities, but as it is on the english wiki, it is likely to be often used by English and American users. Measurements in kilometres mean nothing to many Americans and Britons. For the sake of convenience and fairness, can I suggest this template includes space for figures in feet for altitude and square miles for area, in addition to the metric measures? Tom walker 21:33, 25 August 2007 (UTC)

Good idea. But someone maybe did it by including a nasty conversion template within the infobox which doesn't always work right.
  • 800/1,500 m (Expression error: Unrecognised punctuation character "," ft)
Gene Nygaard 00:06, 15 November 2007 (UTC)
That's why the explanation table on the template page says to use only RAW formated numbers. —MJCdetroit 03:12, 15 November 2007 (UTC)
I’ve just spotted this thread, after changing the template so that it calculates density directly from the population and area figures. As long as both of these are present and are given as RAW numbers, there should be no problem. Otherwise it will display ‘[n/a]’. —Ian Spackman 08:35, 15 November 2007 (UTC)
I'm now getting the error "(Expression error: Unexpected * operator sq mi)" - AKeen (talk) 23:48, 19 November 2007 (UTC)
I used the code block from elevation and it looks like the error is not returned now if the area field is blank. Awotter (talk) 10:08, 14 December 2007 (UTC)