Template talk:Infobox German place/Archive 1

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Archive 1 Archive 2

Municipality

I tried out this infobox on Angelbachtal. I see a couple minor problems.

  • The town type gets reused in a couple places. For example, I used municipality for Gemeinde. I switched it to lower case, because the info box reuses this word in
    • Address of the municipality administration.
    • And in the regional image title, Location of the municipality Angelbachtal within Rhein-Neckar district.
But because I wrote it lower case the Administration entry, municipality subdivisions is now lowercase, too.
  • The town type also causes problems in that I would prefer to say municipal subdivisions and municipal administration.
  • We should not hyphenate towntype-subdivisions.
  • In the template itself, it often uses to instead of from.imars 13:14, 2 January 2007 (UTC)
For example: Only when different to the article name —The preceding unsigned comment was added by Imars (talkcontribs) 13:15, 2 January 2007 (UTC).
Thanks. The application of this template to municipalities is something that I have not given much thought to yet, since the editors of the German version refused to apply their template to Gemeinde entries. I don't see why we should not apply the English one to municipalities, I just haven't gotten around to that yet. Addressing your points:
  • The capitalisation issue should now be fixed. The correct capitalisation should now be used in the right place and so the input should no longer be case sensitive (so you should be able to say "Municipality" or "municipality" without any trouble).
  • The hyphenation has been removed.
  • I don't understand what you mean about municipal subdivisions and municipal administration - could you please tell me more? (sorry, i understand now)
  • I've changed the text to "different from". "Different to" is perfectly acceptable in non-US English, though. - 52 Pickup 13:34, 2 January 2007 (UTC)
Different to is only bad in US English? I never realized that. Learn something new every day. - imars 07:41, 3 January 2007 (UTC)

Categories: Cities/Towns/Villages in (state)

The German version of this template assigns all articles to "Kategorie: Ort in {Bundesland}", while the English wiki has three different categories to cover this: "Category: Cities/Towns/Villages in (state)" even though there is no clear delination between such locations in Germany. It is reasonably easy to automatically assign entires to these categories, but what should be the rationale for assignment?

Apart from teething problems regarding the new template, this issue is perhaps the most important thing that needs to be addressed before widespread use of this template can commence. - 52 Pickup 13:42, 2 January 2007 (UTC)

I have to wonder at the category Category: Villages in (State). I searched for this category in Bavaria, Baden-Württemberg, Lower Saxony, and Hessia and found no result. It seems to me that we do not need a village category. What would qualify as a village, anyway?
As I understand the structure of German local governments, you either have a Gemeinde or a Stadt. See here, from DE Wikipedia Gemeindearten in Deutschland. The categories as they exist place an arbitrary population limit of 100,000 persons. What we should use is the whatever the German criteria is for the distinction between Stadt and Gemeinde. So towns would be everything that is amtsfreie and amtsangehörigen Gemeinden, while cities would be Kreisfreie Städte and Stadtstaaten.
This then begs the question, if we use the term municipality for Gemeinde as defined in Wikipedia:German-English translation requests/Translation guide, then perhaps the categories should be cities and municipalities. Whew! Why do I feel that I have opened a can of worms.imars 08:02, 3 January 2007 (UTC)
It's definitely a tricky matter. But if we take care of it now, we can implement everything within the infobox. I believe that the whole categorisation that is currently in place should be scrapped, then re-established from here. For example Wiesbaden-Biebrich is classified as a town, when it is a suburb of Wiesbaden.
The intro text for Category:Cities in Germany says

"There is no legal distinction between towns and cities in Germany. This category contains articles about settlements with more than 100,000 inhabitants. Smaller German settlements are in the Towns in Germany category."

This, according to the German wiki, qualifies a town to be known as a de:Großstadt, which is considered to be the closest German word that describes "city" in English (in terms of differentiating it from a town). Meanwhile, List of cities in Germany follows its German equivalent (de:Liste der Städte in Deutschland) and has a different list (separate to those categorised) and says:

EN:"Only municipalities with independent administration and that have the Stadtrecht (city rights) are included."
DE:"Die Liste der Städte in Deutschland enthält eine vollständige Auflistung aller 2075 Städte in Deutschland in alphabetischer Reihenfolge (Stand: 27. November 2006). Es sind nur die (verwaltungsrechtlich selbständigen) Gemeinden aufgeführt, die das Stadtrecht besitzen. Auf die einzelnen Bundesländer entfallen folgende Anzahlen:"

This, I imagine, includes all locations with more than 100,000 inhabitants plus many others (see also Town#Germany).
Given this, perhaps we could say:
  • City: more than 100,000 people
  • Town: anything listed in List of cities in Germany with less than 100,000 people
  • Municipality (Gemeinde): anything else (excepting villages, suburbs, etc)
The criteria given under de:Großstadt stems from the first conference of the International Statistical Institue back in 1887. I know the Germans are crazy for standards, but do you see anywhere else where this standard of 100,000 people is applied? It seems very arbitrary to me. To me, anything that is a Stadt should be a city. Then we use either a new category: municipalities for all Gemeinde. This will nicely reflect the distinction between Gemeinde and Stadtrecht. Or we can subvert the category town. In this case there will be some towns with larger population than some cities, but I could live with that.imars 08:08, 4 January 2007 (UTC)
Regarding "what is a village?", I think that a village may be defined as a subdivision of a town or municipality, while a suburb/ward/borough is a subdivision of a city (eg. WI-Biebrich above). For example, Steinheim, Westphalia features on the List of cities in Germany, but has a population way below 100,000 - so we might define this as a town. It consists of the main town of Steinheim plus 8 outlying villages. If you were to enter Bergheim, the road sign would say "Bergheim, Stadt Steinheim, Kreis Höxter". Maybe this doesn't hold up for all cases (following the many different types listed at de:Gemeindearten in Deutschland), but it's a start. All of this requires wider discussion, but I think we can come to a reasonable solution that can be easily put in place via this infobox.
Village as a subdivision of a municipality sounds OK. Woud a criteria of being non-contiguous make sense?imars 08:08, 4 January 2007 (UTC)
On the subject of further subidivisions, the editors of de:Vorlage:Infobox Ort in Deutschland have strictly said that their infobox is not to be used for Ortsteile (villages, suburbs, wards, borroughs, etc.) but I don't see why we shouldn't do it here. I have been testing with including these locations (see my test infobox for WI-Biebrich here) - this uses my test version of the infobox, not this one. - 52 Pickup 11:44, 3 January 2007 (UTC)
I do not think this will come up very often. Most articles will not include enough information to create separate entries with info boxes. But I see no real harm in it. The only potential harm I see would be us ending up with an info box for everything. Does every article warrant an info box? But we can leave that discussion to others.imars 08:08, 4 January 2007 (UTC)

I guess the categories are not perfect. See for instance Category:Cities by country, Category:Towns by country, Category:Municipalities by country, and the not so densely populated Category:Villages in Germany. I think it's better to disable automatic categorisation for now. Technically, if we use "town" as translation for "Stadt", and "city" for "Großstadt", the List of cities in Germany should be renamed List of towns in Germany. And is there a good translation for "Ortsteil" and "Stadtteil"? I see all kinds of translations, including the wonderful "city-part". Markussep 09:32, 6 January 2007 (UTC)

From speaking with some German native-speakers, it seems the norm to translate "Großstadt" to "city" and "Stadt" to "town", so I think it is valid for us to still use Cities and Towns categories, and List of cities in Germany should probably be renamed. For "Ortsteil" and "Stadtteil" there appears to be no clear translation (dict.leo.org says "district" for both). To make some sort of standard for all of these names will need some widespread consensus. But if the Ortsteile are not contiguous, then that would be a good criteria for calling it a "village". Once the naming has been settled, then the auto-categorisation can go ahead.
The municipalities category should definitely be better used. The villages category is so empty because not many villages have pages of their own yet, similar to the lack of pages for suburbs. Whether or not each one should have a page is not a question that we can answer here, but we should make it possible for people to use this infobox for such pages if they decide to create them (i have modified my test template to place "City" and "Town" fields under "Amt", "Samtgemeinde", etc. - what do you think?) - 52 Pickup 20:43, 6 January 2007 (UTC)

The trouble with "district" is that it's used for Kreise. Maybe "borough" is better. Or "village", if it's a separate, rural settlement. I wouldn't call Rheydt a village. So we get the following system then:

  • city, if it's bigger than 100,000
  • town, if it's smaller than 100,000, and it has town/city rights
  • municipality, for municipalities that don't have town rights
  • village, for dependent rural settlements
  • borough, for dependent urban settlements

Maybe we should merge some of these categories, but we can discuss that on the project page later. Markussep 10:44, 7 January 2007 (UTC)

For further confusion see de:Braunschweig-Hondelage. Here it differentiates between "Stadtteil" (which appears here more as "suburb") and "Stadtbezirk" (which matches "burrough"). Rheydt is a tricky case since it was previously a kreisfreie Stadt and comprises 3 of the Stadtbezirke that make up Mönchengladbach (according to the German entry). But since it is part of a city (instead of a town) it should not be called a village.
I have made a first attempt at auto-categorisation. It is not used on the template just yet, but on my test one. It worked so far with the articles currently listed here (no articles use this test version, i only looked at them as an edit-preview). The auto-categorisation only works on articles in the Article space. At the moment it (hopefully) covers all cases, except for subdivisions of cities/towns (so no villages, borroughs or suburbs). Give it a try (in article preview only) and see if there are any other bugs (and i'm sure that they're there) - 52 Pickup 14:13, 9 January 2007 (UTC)

Oh my God! Now you know how a German feels when he is trying to understand the britsh system(s) of local government! I will try to explain the German system: There are three "Gebietskörperschaften" (maybe to translate best with: area muncipalities, if that makes any sense to you) plus the EU. So the hierachy is like this:

"1. EU " 2. The Federal Republik of Germany 3.The (16) Federal States (including Berlin, Hamburg and Bremen) 4. municipalities (including all districts, cities (without Berlin, Hamburg and Bremen(without Bremerhaven with is a city of its own in the Federal State Bremen.), towns and municipalities.

In NRW the political subdivisions are: 1. The Federal State (Bundesland) with its elected Parliament and a Primeminister and several Ministers. 2. The Regierungsbezirke (supervising authorities) (no elected council) with a "Regierungspräsident" as its chiefexecutive. Supervising all districts, cities, towns and municipalities in its area. They are named after the town or city in which they are based, like Arnsberg (supervising the eastern Ruhr Area and the Sauerland with Dortmund, Hamm, Hagen, District Unna ...etc.)or Münster. 3.

  • Districts (Kreise) have a District council (Kreistag) with a direct elected "Landrat".

They are formed by several independant towns and/or municipalities.

  • Cities (Großstädte or Kreisfreie Städte or Stadtkreise( in NRW all the same, for this status you need 100.000 inhabitants)). They have elected councils (Räte) with a direct elected first mayor "the Oberbürgermeister" (often translated as Lord Mayor, he is not only a representive, he is also the chiefexecutive of the Citygovernment) and several other mayors elected by the councils (in case of Hamm a second mayor, a third mayor and a fourth mayor). Cities are seldom part of districts, Göttingen (Lower saxony) for example is.

Both cities and districts have their own registration plates. Ex.: HAM for Hamm (HAM-M 333) and UN for Unna (UN-X 111)towns and municipalities in the district Unna are using the UN opn the reg-plates.

4. Towns and municipalities: They have elected councils with a mayor as its head. In NRW and most of the other Federal States they are part of a district like Unna (the district council is based in the town Unna and so the ditrict (Kreis) is named after it.) because the are to small to attend to all their duties alone, like waste management or Schools etc.. 5. The cities and some towns and municipalities have Bezirke with their own elected councils (Bezirksvertretungen).The councils have a Bezirksvorsteher (some kind of nearly a mayor, haven't found a Translation) In case of the city Hamm there are seven of them, Hamm, Bockum-Hövel, Heessen (former towns), Rhynern, Uentrop, Herringen and Pelkum (former municipalities). These smaller local councils are for advising the town- or citycouncils and the Oberbürgermeister.


The townrights (Stadtrechte) means in the old style the right to build citywalls and having their own jugdement and jugdes, sometimes even to mint and so on. In the modern political system of Germany, they lost their function. This means you can get the title by asking for it, in case your municipality has a bit of an urban charakter. With the title town (Stadt) comes nothing it is just the title.

The status "Großstadt" City is changing the duties of the former town. A city has to attend to all duties of a district by itself.


"Ortsteil/Stadtteil" both are not political subdivisions they're only parts of a town or city (Stadtteil) or a municipality. Like Hövel a part of the Bezirk (maybe quarter?)Bockum-Hövel in the city Hamm.

"Ort" means place or site or town or village, even city etc. The german category (Ort in Bundesland) just gives a hint in which Federal State the town or what ever is located it doesn't categorize the political sub division!

Village means 10 or more houses (Bavarian Law). Kleinstadt ("small sized" town) means more than 5000 and less than 20.000 inhabitants. Mittelstadt ("medium sized" town) means more than 20.000 and less than 100.000 inhabitants. Großstadt ("City") more than 100.000 inhabitants. (81 in Germany by 2005) Millionenstadt ("City") with more than 1.000.000 inhabitants. (Berlin, Hamburg, München, sometimes Köln)sometimes also called Metropole.

amtsfreie Gemeinden = kreisfreise Städte (word by word: district free towns) and in some states even smaller towns are free of beeing part of a district.

amtsangehörige Gemeinden/Städte = municipalities or towns which are part of a district.

I hope that will help you, with this problem so far. You can find me here--Gabriel-Royce 21:58, 24 January 2007 (UTC) German native!

Thank you for this incredibly detailed explanation of a very complicated matter! So do you think that we should try to auto-categorise localities a bit better than just "Ort in Bundesland" (using some of the (sub)categories shown within Category:Municipalities of Germany), or do you think that this is not a good idea?
A new thing: I just noticed on entries for Polish cities that they have a field for stating when that town received Stadtrechte - would it make sense to include it here? With that field, it would make it automatically clear which entries are municipalities/samtgemeinde/etc. and which are towns/cities - the population limit of 100,000 would then separate the cities from the towns.
The more I look at this, the more it seems that a separate infobox design may be necessary for municipality/town/city subdivisions (eg. {{Infobox Frankfurt Stadtteil}}) - 52 Pickup 17:32, 30 January 2007 (UTC)
Don't forget the field Art. The infobox still knows if the article is a Samtgemeinde, Stadt or Gemeinde. -- Netnet @ 17:50, 30 January 2007 (UTC)
That is true, but sometimes this field is not filled in. Perhaps a warning should be displayed it if is forgotten. - 52 Pickup 17:55, 30 January 2007 (UTC)

Hello, I've just seen it. Which categories do we need here? I think it would be okay just to use the following system:

Orte (maybe Settlement or Places as translation? Any other ideas?) in Germany

Subs: Orte in NRW and so on. => Sub:Orte in NRW

SubSubs: Cities in NRW, Towns in NRW, Municipalities in NRW, Ortsteile in NRW

Berlin Hamburg and Bremen should be combined with neighbouring States like Brandenburg and Berlin => Subcat: Orte in Brandenburg and Berlin.

Municipalties could include Sub Sub Subcategories for Amt, Samtgemeiden and so on.

Districts should stay for themselves as Category Districts in Ger. Subs for the Fed. States.

If there are Question, please ask on my talk page, because I'm a bit busy with my Exams in Forestry, and only briefly passing by until 13. February. --Gabriel-Royce 23:20, 30 January 2007 (UTC)

Only a few month late but I need to add that in the above the statement amtsfreie Gemeinden = kreisfreise Städte is incorrect. Amtsfreie Gemeinde is any municipality that is not part of an Amt aka Verbandsgemeinde aka Samtgemeinde ect. Agathoclea —Preceding comment was added at 15:03, 26 October 2007 (UTC)

What information should not be shown?

Template talk:Infobox Town DE#Information deliberately left out of this template shows a list of things that Infobox Town DE does not include, some of these things are currently displayed by this template. Some of these fields are not shown in the German one either, but contain the information as metadata (that is, you can fill in the fields but that data is not displayed). At the moment, all fields are visible because the template is still in its early days, but which ones are not worth displaying here? - 52 Pickup 21:02, 6 January 2007 (UTC)

My "hatelist":
  • local subdivisions ("Ortsteile" and "Stadtteile")
  • the party the mayor belongs to
  • foundation date
  • former postal codes ← now hidden
  • Gemeindeschlüssel ← now hidden
  • NUTS region ← now hidden
  • UN/LOCODE ← now hidden
  • address of the city administration (internet site is enough IMO) ← now hidden
  • time zone, that's CET for the whole of Germany. Markussep 21:10, 6 January 2007 (UTC)
  • It has become as good as standard to give the mayor's party (eg. Barcelona), just as many infoboxes for higher-level regions to give the political party for premiers, prime ministers or presidents.
  • The foundation date and time zone are standard features of {{Infobox City}} (eg. Brussels), even if the time zone does not vary within the country. But since this is a German-specific infobox, the timezone can probably either go or be differently displayed. If the foundation date is unknown for so many locations (and this appears to be so) then that should probably go.
  • Former postal codes, Address: agreed, they don't really tell anything of use for readers of the English wiki. Since these are features of the German version of this infobox, they will be copied over anyway, but they can be simply hidden.
  • CIN, NUTS, UN/LOCODE: Should be hidden as metadata. The German version hides all of these except CIN
  • Subdivisions: It is not normal for a city infobox to list its subdivisions, but not totally unusual (eg. London). But it is probably something that belongs in the body text. - 52 Pickup 21:43, 6 January 2007 (UTC)
I'm not sure if mayors are supposed to be neutral in Germany. Well, let's show the party, it will fit on the same line probably. Markussep 23:14, 6 January 2007 (UTC)
It usually fits on the one line without any trouble. Many of the above variables will now not be displayed. If directly copied over from the German wiki, the page will still contain this hidden information, which is reasonable enough. - 52 Pickup 10:16, 7 January 2007 (UTC)

It is: Bürgermeister oder Oberbürgermeister oder Landrat (male version) or Bürgermeisterin, Oberbürgermeisterin oder Landrätin (female). You can write it in German as : Bürgermeister/in and so on as male and female Version written in one or use the generic masculinum (generisches Maskulinum) with is just the male version of the word. (sometimes considered to be discourteous)--Gabriel-Royce 22:07, 24 January 2007 (UTC)

Were I live we got a few female mayors about (Neyland and Pembroke Dock to my knowledge) and they seem never to refered to as mayoress, so I think we can stick to neutral. Agathoclea 15:26, 26 January 2007 (UTC)
@Agathoclea Was just the answer to the question above: " I'm not sure if mayors are supposed to be neutral in Germany."! There is no neutral Version of that title in Germany! Okay so far? --Gabriel-Royce 15:35, 26 January 2007 (UTC)
Schaut so aus, als ob wir beide auf dem Schlauch stehen, IMO meinte Markussep die Parteizugehörigkeit. Agathoclea 16:10, 26 January 2007 (UTC)

Ups, wie peinlich! Naja, kommt vor!--Gabriel-Royce 16:30, 26 January 2007 (UTC)

Yes, the original discussion was about political neutrality, not gender, but it is still a valid issue. In the English language, the word "mayor" is widely considered to be gender-neutral, so "mayoress" is not used - even when discussing those in non-English-speaking countries. - 52 Pickup 17:34, 30 January 2007 (UTC)

Dossenheim

I have also tried this info box on Dossenheim, which is nearly complete.imars 07:35, 15 January 2007 (UTC)

Very good. It's a pity that the location (Lageplan) images are not all yet on the Commons. - 52 Pickup 16:16, 23 January 2007 (UTC)

Numbers

The template does not work if you add numbers with the format X,XXX. Why? Bye and good work. --Attilios 13:15, 16 January 2007 (UTC)

see above problem here. Agathoclea 13:31, 16 January 2007 (UTC)

Coordinates

Why aren't the coordinates in the article header any more? It doesn't make sense to include them a second time only to solve that problem. In case you don't see the problem, see this change and the one before and after. --32X 17:52, 23 January 2007 (UTC)

The co-ordinates must be visible within the body of the article - the co-ordinates in the article header are not seen when using certain Wikipedia skins. So if the co-ordinates are in the article header, they still need to be added to the body text to make sure that everyone can see them. With this new infobox, the co-ordinates are only placed in the infobox, but the functionality that is used by co-ordinates in the article header is maintained. - 52 Pickup 18:07, 23 January 2007 (UTC)

Edingen-Neckarhausen

Adding template to Edingen-Neckarhausen. —The preceding unsigned comment was added by Imars (talkcontribs) 12:05, 24 January 2007 (UTC).

Language and other notes

I find it ridiculous that one should work here with all these German words. How users can tackle them? :Others

Missing the population density value
Unable to show population numbers according to the format specified in WP:Style (say, 4,916 is correct, 4916 no).

--Attilios 12:26, 10 February 2007 (UTC)

23-Sep-2007: (7 months later) Yes, now I have added English aliases for German parameters (as originally intended). The documentation now lists both, showing others that "Kreis" is district or "Höhe" is elevation. The coding was very difficult, hence the delay. See below: English aliases for German parameters. Trying, but can't yet remove the population commas. -Wikid77 18:35, 23 September 2007 (UTC)
Having the German variable names was one of the main reasons for developing this template: to facilitate transfer of towninfo data from the German wiki. The variable names here are identical to the variables used by the template on the German wiki (the variables with English names are extra features not present on the German version). This allows users to simply copy and paste the infobox data from the German wiki (with a few small modifications). Addition of English names to all variables is planned, but I'm too busy to do that right now.
Population density is not missing, it is automatically calculated once area and population are given.
Values for area and population must be entered without any commas or spacing, in order for calculations to work (conversion of area from km² to sq.mi., and calculation of pop.density, both in people per km² and per sq.mi.). Unfortunately, there does not exist at this time (to my knowledge) any function that can remove commas and spacing prior to any calculations, hence the restrictions on data entry. Displaying the numbers in the infobox with commas is caused by the formatnum template. Displaying large numbers like area and population with commas is recommended by WP:Style-Numbers - 52 Pickup 11:11, 11 February 2007 (UTC)

Added Eppelheim

I added the template to Eppelheim and Epfenbach. Is it useful for me to announce where I have used this template since it is still under construction?imars 07:38, 14 February 2007 (UTC)

Thanks. I think that the template is now more or less complete (just a few tweaks might be needed here and there - and i'm not sure if we should go ahead with auto-categorisation and usage for city subdivisions), so from now on, it might be necessary to announce usage whenever a problem or something unusual comes up. - 52 Pickup 08:12, 14 February 2007 (UTC)

Gaiberg Wappen Graphic

I am having trouble with the graphic for the Wappen for Gaiberg. It works in the German info box. I can click on the placeholder for the image. But the image will not display. Could this be an error with the infobox? imars 11:20, 27 February 2007 (UTC)

No idea why that happens. I have seen this happen in various places before, but only temporarily. This is very strange. - 52 Pickup 13:07, 28 February 2007 (UTC)

Inhabitants

I repeat, we should find a way to show inhabitants (say, more than 1,000) in the correct way specified at WP:Manual of Style. Solution would be to add a new field for density, taking the value from the de.wikipedia. Also, headers shouldn't be in capitals. Bye, and good work. --Attilios 11:04, 28 February 2007 (UTC)

referred. Agathoclea 11:15, 28 February 2007 (UTC)
Actually it is already implemented, but some of the if statements must be wrong. It will work above 10000 though. Agathoclea 11:29, 28 February 2007 (UTC)
There is no density value in the German version - it is calculated in exactly the same way as it is done here. The difference here is that formatnum is used in this version on top of density (the DE version does not use that here). It is the formatnum function which converts 12345 to 12,345. According to WP:Style-Numbers, large numbers should be separated by commas in this way. The "10000" limit was part of the template function that I have just changed to 1000 to see how it goes - but that should probably be changed back to 10000. - 52 Pickup 13:05, 28 February 2007 (UTC)
I just tested formatnum, and there would be no need to if-clause the value. Numbers of less than 1000 are unaffected. That way the template could be a little leaner. Agathoclea 13:21, 28 February 2007 (UTC)
Yes, if the limit is kept at 1000, the if-clause would not be needed. This is something that was taken from the German version of this template. - 52 Pickup 14:38, 28 February 2007 (UTC)

Category:(district), as first step?

The extensive discussion above on auto-categorising this template doesn't seems to have settled the vexed question of what to do with the "stadt"s, but would there by any objection to having it feed into a single kreis-level category for each such? (We already have some of these, e.g. Category:Marburg-Biedenkopf. Alai 01:35, 23 March 2007 (UTC)

An interesting idea, especially considering that the German wiki categorises locations in this way (albeit not automatically). Although, maybe this sort of categorisation should be done via the navbars that most articles have - for example {{Towns and municipalities in the district of Marburg-Biedenkopf}}. Not sure. - 52 Pickup 15:10, 25 March 2007 (UTC)

Parameter

It looks like the use of the parameter "Art" is making mediawiki think the template {{Art}} is being transcluded onto articles. [1]. This was noticed doing some image maintenance. I can fix it if you want, but I don't know what parameter people would prefer. :) - cohesion 03:56, 18 April 2007 (UTC)

The template syntax is pretty complicated, so missing something like that is pretty easy. It appears to be fixed now (that Whatlinkshere page will soon clear up if this is the case). It is the complexity of the template that is the main reason why most fields are still in German and I haven't made it bi-lingual yet. Can you imagine how complicated the syntax would look then? - 52 Pickup 08:15, 18 April 2007 (UTC)
Yes, and yikes :) - cohesion 12:10, 18 April 2007 (UTC)

pop_source ---> pop_ref

To reduce the amount of external links within articles, the pop_source field is being phased out by pop_ref. While pop_source required just a weblink, pop_ref requires full referencing (including ref tags). For an example, see Cologne. When adding data in this field, it is also necessary to make sure that the page has a references section.

The pop_source variable has now been disabled and any articles still using it have been placed into this category - Category:Germany articles requiring maintenance under section "I". - 52 Pickup 12:09, 25 April 2007 (UTC)

Coordinates

I would like to change from using {{coor d}} to using {{coord}}. The latter has a display property, which can be display=inline, display=title or display=inline,title. "inline" would replace the former template literally, but using both values also displays the coordinates in the title bar. Could someone more familiar with the intricacies of this template oblige, please? Andy Mabbett 17:12, 10 May 2007 (UTC)

I gave it a try with this edit, but the title co-ordinates do not appear to display correctly. But the coord template is now in place, only that it currently says display=inline so it can easily be changed to display=inline,title when it works properly. - 52 Pickup 20:29, 10 May 2007 (UTC)
Thank you. coord is working well elsewhere; I think the problem may be that the "display" setting has to be the last one. Andy Mabbett 21:37, 10 May 2007 (UTC)

Possible code problem?

I just added the infobox to Marsberg, partially to try it, partially as incentive to do something about the stub, but it's giving me Expression error: Unrecognised punctuation character "�" in the elevation section, and I can't figure out why. There are no "?"'s, and no unknown sections, so... what's causing it? How do I fix it?

And while I'm at it, can anyone check the two sets of coordinates (one's commented out) in Obermarsberg to see which are more accurate? -Bbik 00:13, 18 May 2007 (UTC)

The problem with Marsberg came from the dash used in the elevation field. If a single value is given, the value is also displayed in feet. But if a range is given, the dash separating the two values must be a simple minus sign instead of the sometimes-used longer dash (which looks as good as identical to the minuss sign). When the longer dash is used, the elevation value cannot be comprehended by the code (which is expecting a number or mathematical statement). Regarding Obermarsberg, the two versions are the same but I'd probably go with the DMS version (the one that you did not comment out). - 52 Pickup 12:26, 18 May 2007 (UTC)
Figures it was the one thing I didn't try/notice. Thanks, on both counts. -Bbik 13:52, 18 May 2007 (UTC)

Delmenhorst

Please take a look at the page for Delmenhorst. The location map doesn't work properly. --Valentinian T / C 11:53, 20 June 2007 (UTC)

The article used the old infobox not this one. Agathoclea 13:19, 20 June 2007 (UTC)
Indeed, but the talk page for the old infobox appeared to be stale, which is why I looked here. Thanks for fixing it. Valentinian T / C 18:10, 20 June 2007 (UTC)

Problems with the Infobox

One (more or less unfortunate) thing I observed is, that if one enters "Gemeinde" in the "Infobox German Location" field "Art", then the field label of "Gliederung" is not working correctly any more. See Havixbeck for example. Any suggestions what to do? Extrala 07:05, 27 June 2007 (UTC)

I have deleted Gemeinde now, but the problem will be there again in case someone types in the Art:Gemeinde. Is it a general problem or just in that specific article?--Gabriel-Royce 12:46, 27 June 2007 (UTC)

I think this a problem of the template. Since I am fairly new to Wikipedia editing, I doubt I can fix this. Maybe we should switch this discussion to the Germany Project talk page, and ask the question there. Extrala 22:37, 27 June 2007 (UTC)

This conversation was originaly held on my talk page. The Problem is unsolved. Any ideas?--Gabriel-Royce 08:32, 29 June 2007 (UTC)

I've fixed the specific Havixbeck problem (there was a stray "=" sign), but may have caused other problems, as I couldn't figure out why there was a blank field at the beginning of the series (which seems calculated to confuse the parser). Feel free to partially-revert if needed.
For future reference, it would help random passersby like me to figure things out if it can be specified exactly how a template or field is "not working properly."  ;-) It's probably obvious to the regulars, but for folks like me such descriptions tend to be a little opaque. -- Visviva 12:12, 29 June 2007 (UTC)
Thanks for your assistence.--Gabriel-Royce 14:40, 1 July 2007 (UTC)

One problem I experienced is the automatic linking of personal names. If mayor Klaus Müller is linked to somebody completely different with the same name, that's a bit of a problem. 84.141.172.250 (talk) 18:09, 12 July 2008 (UTC)

Geographical co-ordinates

I have just set the geographical co-ordinates to display both within the infobox and on the title bar. This would have been done ages ago, but the coord template was having problems. Only when co-ordinates are in the title bar will they be picked up by other programs such as Google Earth. It doesn't work if the co-ordinates are placed within the article. Not sure how long until the Wikipedia layer on Google Earth refreshes itself, but soon all entries using this infobox will be displayed on Google Earth.

There is one problem. Various articles have manually added a separate co-ordinates template. This causes an ugly overlap at the title bar. So could you please delete these extra templates as you find them. Thanks. - 52 Pickup 18:51, 19 July 2007 (UTC)

The latter sounds like a job for a bot; see WP:BOTREQ - but what do you mean by {{coord}} having had "problems"? Andy Mabbett | Talk to Andy Mabbett 19:24, 19 July 2007 (UTC)
Good idea about the bot, I'll look into it. The problem earlier on was that the co-ords line did not show above or below the title line, but right in the middle of it. No idea why. The main thing is that at least it works now.
By the way, I'd like to remind all regular users of this template to check Category:Germany articles requiring maintenance every now and then. Articles are automatically placed here if certain template criteria are not met. - 52 Pickup 19:49, 19 July 2007 (UTC)

Samtgemeinden etc.

Hi 52 Pickup, I have a request for the infobox. Could you make the infobox link directly to the right Samtgemeinde, Amt, Verbandsgemeinde, Verwaltungsgemeinschaft etc.? The German infobox uses the "bare" Amt etc. name, e.g. |Verwaltungsgemeinschaft = Elbe-Heide, and links to standard article titles like [[Verwaltungsgemeinschaft Elbe-Heide]]. We have a slightly different standard, we use the "bare" name if it's not ambiguous, and titles like Loreley (Verbandsgemeinde) if it's ambiguous. That would save us a lot of editing. Thanks, Markussep Talk 09:41, 24 July 2007 (UTC)

Maybe as a matter of course we could place a redirect from unambiguous name {Verwaltungsgemeinschaft) to solve half the problem. I have done that with some of the districts to bluelink the infobox entries. Agathoclea 09:45, 24 July 2007 (UTC)
(removed my previous incorrect post) Damn, I thought I had that working properly all this time. Silly me. I'll get onto it. - 52 Pickup 10:38, 24 July 2007 (UTC)
Fixed (i hope!). Until now it worked correctly only for the "Amt" field but not for the others. Given the confusing appearance of the template code, it was easy to overlook this mistake. Sorry about that. Is everything working properly now? - 52 Pickup 10:44, 24 July 2007 (UTC)
It works for Adenau, Oldendorf, Stade, Golßen and Schlepzig, thanks!. I guess it uses X (unit) if that article exists, and if it doesn't, X? Markussep Talk 12:40, 24 July 2007 (UTC)
That's right. And then if article X doesn't exist it should display just "X" without links. - 52 Pickup 12:48, 24 July 2007 (UTC)
Nice! Markussep Talk 13:34, 24 July 2007 (UTC)

Category:Germany articles requiring maintenance (I)

Is it intentional, that I have to place a manual ref-tag in pop_ref? Agathoclea 09:53, 24 July 2007 (UTC)

Afraid so. I couldn't set the template to create the ref tags itself, so they must be placed manually in the pop_ref field. - 52 Pickup 09:55, 24 July 2007 (UTC)

Disambiguating Urban

Greetings from WikiProject Disambiguation! Currently, [[urban]] is one of the words we are working on. There are a large number of hits for German cities which I want to link to [[urban area]], but I can't trace down exactly where the link occurs. It appears to be in {{Infobox German Location}}, but I can't find exactly where. I made an attempted fix, but the effect was quite counterintuitive. Could sumbuddy help me out here? — Randall Bart (talk) 14:17, 26 August 2007 (UTC)

I thought this problem had been fixed. These phantom links are caused by a strange feature of the switch or ifexists functions - not sure what. After another attempt, I think I've got it fixed now. If not, please let us know. - 52 Pickup 15:52, 26 August 2007 (UTC)
Looks okay now. Thanx. — Randall Bart (talk) 01:26, 28 August 2007 (UTC)

Redundant marker

17-September-2007: I am setting the default "mark=" image file for the pointer as the (redundant) copy, Image:Red_pog2.svg (identical to the original pointer), to bypass the ongoing image-cache problems during September 15-17, 2007. Only the original red-dot image (Image:Red_pog.svg) has been disappearing at size 8x8 pixels: the blue dot (Image:Blue_pog.svg) and redundant red-dot "Red_pog2.svg" have been reliable when 8x8 pixels. -Wikid77 11:54, 17 September 2007 (UTC)

English aliases for German parameters

23-Sep-2007: I am working on a new version of Infobox_German_Location which allows English parameter names for the German parameters (such as "district" same as "Kreis" or "mayor" same as "Bürgermeister"). The English names also match those used in Template:Infobox_Town_DE to allow copy-paste of those infobox lines into Infobox_German_Location. The new version is currently being tested before release. -Wikid77 04:09, 23 September 2007 (UTC)

  • Okay, I installed a tested English-alias revision of Infobox_German_Location at 09:23 UTC on 23-Sep-2007. It is not perfect, lacking several English aliases, but it is a rapid start, after months of people shocked at having to use German parameters (with umlauts). The long-range plan has been, for several months, to allow English-name parameters, but the one-liner template coding has been treacherous when expanding to allow more parameter names. This revision also allows optional "px" sizes, as in "imagesize=250" (or also "250px"). Again, writing the code (in spare time) has been wretched because the MediaWiki language ("{{#if...}}") is in its infancy (as are map-locator templates), with no local template variables possible (as far as I could determine). Also, we can't simply "de-comma" the population when "9,250" so everyone is getting Expression error. -Wikid77 18:21, 23 September 2007 (UTC)
  • Added alias "plantext" for Lageplanbeschreibung. -Wikid77 14:47, 30 September 2007 (UTC)

One-liner coding

23-Sep-2007: Many templates, such as Infobox_German_Location, have been written in the typical one-liner style, with much of the source code written as a long string of nested "{{..}}" expressions, rather than as indented source code. The effect of the one-liner coding has been rambling expressions:

{{#if:|then|{{#if:|then}}|else{{#if:|then|else}}}}

However, it is possible to write the template code in a more structured, indented style, to align if-statements and others, such as when checking to display the mayor's name:

{{#ifexist: {{{Bürgermeister|{{{mayor|}}}}}}
|<!--then-wikilink-->[[{{{Bürgermeister|{{{mayor|}}} }}}]]
|<!--else-nolink-->{{
#ifeq:{{{Bürgermeister|{{{mayor|<noinclude>x</noinclude>}}}}}}|x
|<!--then-say-text-->{{{Bürgermeister or mayor}}}
|<!--else-show-name-->{{{Bürgermeister|{{{mayor|}}} }}}
}}<!--endifeq-->
}}<!--endifexist-->

Decades of computer-language design has shown that coding 2 nested if-statements as indented, across 8 lines, is preferable to a compact "one-liner" string that wraps onto only 3 lines of text. Although the source code becomes over twice as long, it is easier for others to read and modify, for inserting more if-statements within the indented structure. Many people writing the one-liner templates, as a wrapped string of source code, know full well how to write structured, indented source code, but there has been a wiki sub-culture of one-liner coding that has dominated the writing of templates. It takes time to re-write and clarify all that condensed one-liner coding.

The current coding of template Infobox_German_Location has involved many one-liner sections; however, the template code can be re-written to use the more structured, indented-code style, over time. -Wikid77 04:27, 23 September 2007 (UTC)

  • 30-Sep-2007: I have indented the coding for "Website" (been busy and can't believe a week has passed!). I tried to indent coding for the "image_plan" map, but template went spastic so didn't add those indented lines. Note that template row-tokens ("{{!-}}") must be in column 1. A syntax-checker would help debug the indented code. -Wikid77 15:01, 30 September 2007 (UTC)

Indenting template code

23-Sep-2007: The template code can be indented onto separate lines; however, the double-brace "{{" typically cannot be indented past column 1 on a line, so the "#if" or "#ifeq" must be indented apart from the "{{" double-brace. Leaving the double-brace at the end of the previous line might be the easiest split:

<!--previous line--> {{
#ifexpr: {{{Az}}} < {{{Bz}}}
|<!--then-show--> Yes, Az lower than Bz={{{Bz}}}.
|<!--else-show--> No, Az NOT lower than Bz.
}}<!--endifexpr-->

In the above example, the double-brace "{{" is left on the previous line, separated from the indented "#ifexpr" on the subsequent line. Indenting a double-brace can cause the whole line to be treated as a quote-box, as follows:

 {{#ifexpr: {{{A}}}={{{B}}} <!--this indented line became this box-->

Since an indented double-brace might be treated as a quote-box, the double-brace could be left on the previous line, split from the indented "#ifexpr" line. -Wikid77 04:27, 23 September 2007 (UTC)

Impossible templates

23-Sep-2007: Okay, yes, working on the wiki templates can be very difficult. Detailed templates, such as the Infobox_German_Location, involve so many details that they rarely get properly tested and restructured for logical sequence, compared to the work needed to develop professional software. In a sense, these templates would not have been available at this time, due to the many man-hours needed for the full complex development, so these are "impossible templates" which wouldn't even exist now, except at this current level of "stub" or "prototyping" software. Please encourage experienced computer programmers to help develop these templates, because the MediaWiki language is only a beta-level technology, and disciplined designers are needed to engineer better templates patched for that beta-level language. Thanks. -Wikid77 20:22, 23 September 2007 (UTC)

  • Along with many design problems in the MediaWiki software used by Wikipedia, are the numerous simple bugs. For example (in Sept. 2007), when displaying an image, the "center|" option would chop the bottom pixel line of the image; similar chopping occurred when trying to resize an image. During Sept. 15-18 (2007), many images used from Wikimedia Commons went blank because the thumbnailer "disk array became full" as if no one saw the disk-space running low. Most of the underlying technology has been in an infantile state for years; of course, software people burn-out trying to fix those problems, and then wiki editors are forced to waste hours working around simple bugs that persist for years. At this stage, plan hours to perform a simple task, and remember that many others are also suffering and frustrated. However, Wikipedia is an interesting study in failed concepts. If they "fail to plan, plan to fail" is true in this situation as well. Be patient, expect more problems, and learn from the mistakes. -Wikid77 14:44, 26 September 2007 (UTC)

District links

I noticed that some districts in Schleswig-Holstein do not get an automatic link in the infobox, see for instance Heide (district Dithmarschen), Westerland, Germany (Nordfriesland), Eutin (Ostholstein), Rendsburg (Rendsburg-Eckernförde), Schleswig, Schleswig-Holstein (Schleswig-Flensburg), Bad Segeberg (Segeberg), Itzehoe (Steinburg) and Bad Oldesloe (Stormarn). Any idea why that is, and how to fix it? Markussep Talk 16:21, 30 September 2007 (UTC)

Same for the Oder-Spree district in Brandenburg, see Wiesenau, Marburg-Biedenkopf in Hesse (e.g. Marburg) and Vulkaneifel in Rhineland-Palatinate (Daun, Germany). I see a pattern: they're all districts without " (district)" in the page name. Markussep Talk 11:33, 1 October 2007 (UTC)

Fixed (i hope). After Mr. Wikid77's good recent work on this template, a number of errors (like this one) crept back into the system. - 52 Pickup 18:14, 17 October 2007 (UTC)
It works, thanks!!! Markussep Talk 18:41, 17 October 2007 (UTC)

Why is this infobox so wide?

Look at Worms, Germany: it takes up more than two-thirds of the width of the page! I don't know how to fix this, but I'm sure the template could be thinner and still contain all the same information. Does anyone know how to change it? Terraxos 15:42, 25 October 2007 (UTC)

That was the wrong dash in the elevation that caused an overlong line.
But I have a more widespread problem the the lageplan which causes a similar issue which I can't track at the moment - see Ehrenkirchen. Strangely enaugh it shrinks in the preview. Agathoclea 10:02, 26 October 2007 (UTC)
  • Live template was modified, without prior testing, and widened 21Oct2007, which introduced a coding bug for the past 5 days. See next topic. -Wikid77 11:11, 26 October 2007 (UTC)
Apart from the now-solved problem with Worms, there is still one problem with the Worms infobox. The image used at the top of the box is too tall. The box is already rather long and so it has been said numerous times that if an image is to be used at all, then use an image that is taller than it is wide. - 52 Pickup 17:13, 27 October 2007 (UTC)
Worms
  • 28-Oct-2007: Image solved: I've put a Worms-skyline image from the German wiki into the infobox and moved Worms-Cathedral below the box. The skyline shows the Nibelungen Bridge + Rhine, as a better overview. -Wikid77 09:53, 28 October 2007 (UTC)
Also, if you do not specify an image size, the image should match the default box width. - 52 Pickup 10:40, 28 October 2007 (UTC)

Testing template/bugs

26-Oct-2007: I fixed the template coding bug (from 21Oct2007) that put an extra "{{{width" prefix at the top of the code. It is important to NOT modify Template:Infobox_German_Location as the live version, without prior testing in a separate copy. For editing, please create (edit) a copy as "User:XXX/Template:Infobox_German_Location" and test against your username "XXX" (in edit-preview mode, without saving live articles during testing). The live template is used in nearly 3,000 articles, with 500 more expected. -Wikid77 11:11, 26 October 2007 (UTC)

500? Make that nearer 9000. Agathoclea 13:20, 26 October 2007 (UTC)

Show-Preview reveals longterm Wikipedia

26-Oct-2007: Some wiki-servers might be running an older version of the template "Infobox_German_Location" perhaps as a cached file. Regardless of whatever cache files, the current templates can be accessed by editing an article (unchanged) and clicking Show-Preview. The wiki "Show Preview" option reveals how the stored article will appear once all cache-files and wiki-servers are updated to reflect the current changes. I realize the bizarre wide-screen infoboxes (spanning 2/3 of screen) are irritating, but they seem to be temporary leftovers which should go away soon. Again, edit a file (without changing) and click bottom "Show Preview" to see how an article would look after Wikipedia stabilizes. That's the only sanity I can recommend with these bizarre cache-file, multi-server confusions. -Wikid77 22:55, 26 October 2007 (UTC)

no coa

There was a change some time ago which caused a COA of "kein" to be displayed as unknown rather than as none. With the current flurry of activity on the template it might be worth looking at. Agathoclea 21:52, 28 October 2007 (UTC)

There are a number of images that are currently on offer
The 2nd image was replaced with the 3rd with this edit, and I'm not sure exactly why this was done. If the 3rd image is used, then it suggests that a CoA exists but we do not know what it is - which is untrue and therefore confusing. If anything, for the moment, the 2nd image should be used. If an English version of the 1st image were to be made, that would also be nice. A long time ago I played around with simply removing any kind of CoA image if we know that no CoA exists, but that looked a bit too clumsy.
A while back, I brought the matter up at WP:HV - link - but unfortunately there was no consensus there on what should be done, but if we could come up with something, they would be interested to hear it. - 52 Pickup 17:49, 29 October 2007 (UTC)
It looks like the one who made the change was not implying a preference in solution but was looking to replace an en-image with a commons image. I'd say revert to option 2. Agathoclea 09:12, 30 October 2007 (UTC)
Done. - 52 Pickup 17:43, 30 October 2007 (UTC)

Categorization problem

The automatic categorization goes wrong somehow, see for instance Lörrach, and Category:Municipalities in for a collection of problem articles. It seems the template has a problem with square brackets around the state name, see for instance this diff. Markussep Talk 14:39, 5 November 2007 (UTC)

This is another leftover problem that has come up from the merger of Infobox Town DE into this infobox. Before the conversion, entries for this infobox were to have no wikilinks - the wikilinking was done automatically. Because no wikilinks were to be used, the various switches in the template code did not include the linked states as options. This has now been corrected.
Another problem with the conversion is that articles that previously used Infobox Town DE did not specify what type of a location it was. If the "Art" parameter (now also available in English as "type") is not filled in, then the entry is by default classed as a municipality (as was the case for Lörrach, a town). There are a number of things that need to be considered (and altered) when looking at articles that used Infobox Town DE. To illustrate, see this diff for Lörrach - 52 Pickup 15:39, 5 November 2007 (UTC)
An important point worth repeating: Once "Art/type" is specified (or left blank if it is a municipality), any manual "Towns in..." categories must be deleted. Otherwise, you may have entries incorrectly belonging to two different categories (eg. "Municipality" and "Town"). - 52 Pickup 15:44, 5 November 2007 (UTC)
Thanks for fixing it! The infoboxes without (or with incorrect) "Art/type" fields are problematic. Maybe something to fix once all articles (for a state) have infoboxes, then we can compare the categories with the related German ones, and we can cross-check the Towns and Municipalities categories for duplicate entries using AWB. Markussep Talk 18:31, 5 November 2007 (UTC)
I am working my way through Bavaria at the moment removing all Category:Towns in Bavaria to see what is left over after and to see how it will match the German counterpart and then adjust accordingly.

English params and density

I just had to go to German parameters to fix a faulty density in Füssen. Is this a general issue? Agathoclea (talk) 12:01, 26 November 2007 (UTC)

I hadn't noticed this particular error before, apparently the infobox sees 14.441 (with the dot as thousands separator as in German) as about 14 inhabitants, hence the very low pop. density. I'm not sure whether there is a way to detect this automatically. Markussep Talk 12:47, 26 November 2007 (UTC)
That explains it. I just took the easy route and copied the German data and that fixed that issue. Agathoclea (talk) 17:42, 26 November 2007 (UTC)
Added decimal check. This problem shouldn't come up too often, but if it does, articles will now be listed in the maintenance category under "D". - 52 Pickup (talk) 17:54, 27 November 2007 (UTC)

convert this template for below villages and boroughs

Is there a writeup already about which template to use if the place is not a municipality like Rueckers? Agathoclea (talk) 10:22, 28 November 2007 (UTC)

At the moment there is no template for such lower subdivisions. In the meantime, I made some stop-gap changes to this template a while ago to cater for suburbs and villages - and just made the corresponding changes to Rueckers. This is not an elegant solution, but I haven't come up with anything else so far. There are a number of dedicated infoboxes used for subdivisions of various cities (eg. Template:Infobox Frankfurt Stadtteil) which may be combined into an all-purpose infobox for lower-level divisions one day, and then any articles which incorrectly use this infobox can be tagged for conversion. But it will be a while before that happens. - 52 Pickup (talk) 10:59, 28 November 2007 (UTC)
This will come very handy in the upcoming municipal changes. Agathoclea (talk) 11:39, 28 November 2007 (UTC)

Coordinates title Expression error...

{{editprotected}}Please use default values for coordinate values, as {{coord}} displays an error with empty arguments. This is seen on many articles, e.g. Dillenburg, where lat_sec and lon_sec are empty or missing. I suggest:

<!-- ----------------------------------- Generate "Coord" function
-->{{#if: {{{lat_deg|<noinclude>x</noinclude>}}} | {{Coord|{{{lat_deg|}}}|{{{lat_min|}}}|{{{lat_sec|}}}|N|{{{lon_deg|}}}|{{{lon_min|}}}|{{{lon_sec|}}}|E |display=title |type:{{

changed to:

<!-- ----------------------------------- Generate "Coord" function
-->{{#if: {{{lat_deg|<noinclude>x</noinclude>}}} | {{Coord|{{{lat_deg|51}}}|{{{lat_min|00}}}|{{{lat_sec|00}}}|N|{{{lon_deg|9}}}|{{{lon_min|00}}}|{{{lon_sec|00}}}|E |display=title |type:{{

51°N,9°E are the coordinates on the Germany article, Thanks – Leo Laursen –   10:12, 29 February 2008 (UTC)

 Done I have left the degrees fields without defaults, as if lat_deg is not specified, the co-ordinates will not display, and if lon_deg is not specified, an error is entirely appropriate. Happymelon 14:50, 29 February 2008 (UTC)
Good point, and it appears to work. Thanks. – Leo Laursen –   15:05, 29 February 2008 (UTC)

German subdivision infobox templates

Please consider changing the "European city infobox templates" category to "German subdivision infobox templates", for finer-grain specification. --Adoniscik(t, c) 04:03, 27 March 2008 (UTC)

Category added. I left the "European city infobox templates" category there since it still makes sense to use that category too. I've also added this category to other relevant templates, and numbered according to level (1=state, etc.) Also, note that there is a similar-sounding category called "German regions templates". - 52 Pickup (deal) 14:40, 27 March 2008 (UTC)

Automatic linking of mayors

As can be seen above in section #One-liner coding, this template seems to automatically link the name of the mayor if there happens to be an article of that name. The apparent idea is

  1. that mayors should be linked if they have an article, which is fine
  2. mayors that don't meet WP:Notability should not be linked.
  3. to relieve the editors from the task of looking up if the mayor has an article to link to.

Now it seems to me that these three goals are impossible to fulfill at the same time:

  1. Sometimes a mayor is notable, but doesn't have an article yet, so a red link is justified. In that case the editor can manually set the link, something easy to forget as one is used to the template automatically doing the work.
  2. Sometimes it happens that several persons have the same name, and one of them meets Notability and thus has a Wikipedia article, and another one of them is the mayor of some small town in Germany, an example being Thomas Kuhn, philosopher, not an uncommon German name, a name-mate of his being mayor of Bartholomä, population about 2,000, and the guy hardly having a chance to meet Notability. So now with every mayor not considered notable, one has to check for the mayor's name's article, and if it exists, create a workaround like this to create a red link: [2]. It seems impossible to achieve the best solution: no link at all.

So to me it seems better to leave the decision whether to create a link or not up to the editor. Or, if at en we really consider all mayors of any town notable, the template should link the mayor no matter if the article exists. Or is there anything I haven't noticed? Salutes, --dealerofsalvation 05:24, 18 April 2008 (UTC)

The autolinking was implemented in an attempt to make things easier for editors and works rather well in other templates. But it has indeed become clear that when it comes to using this template, even when a mayor might be notable, the name is still given with wikilinks anyway (e.g. Frankfurt). Perhaps it might be best to disable autolinking for this template. Any objections? 52 Pickup (deal) 08:24, 22 April 2008 (UTC)
I've seen many wrong links like the Thomas Kuhn example, so I would support removing the automatic link. We could check the Category:Mayors of places in Germany for broken links afterwards. Markussep Talk 20:27, 14 May 2008 (UTC)

{{Editprotected}}

Please remove the feature of this template which links the entry for mayor/Bürgermeister if an article for that name exists; more likely than not, that name will not refer to the mayor. If a link is desired, editors can code it as usual ([[name]]). I believe this how de:Vorlage:Infobox Gemeinde in Deutschland works. Michael Bednarek (talk) 04:26, 19 July 2008 (UTC)
Done. --- RockMFR 19:46, 19 July 2008 (UTC)

Demonyms

I think an optional field for demonyms would be expedient. Demonyms are normally created with the -er suffix but cities like Saarbrücken, Hannover, Emden, Bremen or Dresden have irregular or uncertain demonyms and therefore displaying them in such cases would be an advantage. Geo-Loge (talk) 11:20, 14 May 2008 (UTC)

Do you mean demonyms in German, like Dresdner, Bremer etc.? I don't think that's interesting enough to add to the infobox. Markussep Talk 20:20, 14 May 2008 (UTC)
Well, the demonyms ending with -er are common in English, too. The question is how they conclude the root in irregular cases. Geo-Loge (talk) 10:07, 15 May 2008 (UTC)
I wonder if there are commonly used demonyms in English for many towns in Germany, apart from Berlin(er), Frankfurt(er), Hamburg(er). The German demonyms are more suitable for Wiktionary IMO. They (and English demonyms) could be mentioned in the body text of the article, but the infobox is really meant as a summary of information about the place. Markussep Talk 11:00, 15 May 2008 (UTC)
As long as there are not the Hannover dwellers in English language there must be some demonyms. I asked for that due to I saw some example of cities using the Template:Infobox Settlement which includes the field. Is the (english) demonym of Cologne Kölner or is it Colognian (Cologner sounds very strange to me)? I don't know but I think it is basic knowledge which should be part of the infoboxes in some case. Geo-Loge (talk) 17:40, 15 May 2008 (UTC)
Granted the information might be interesting, but let's not get carried away either. There is probably all kinds of information that would be interesting to include in an infobox. For someone who is interested in infrastructure, they might feel the inclusion of miles of sewers pipe in a city; just to make an extreme example. Though I find your suggestion fascinating I do not see where we could find a definitive source of English demonyms for cities in Germany. Who is the authority?imars (talk) 07:08, 16 May 2008 (UTC)
Well who is the authority? A question that is relevant even for headwords which follow common names instead of proper names in the english wikipedia. Well English uses the -er suffix for demonyms as well the German (due to it is the germanic suffix). Normally placenames are German and therefore demonyms are derived from German. Exceptions are examples like "latin" Cologne. If English language has an own name for a city, it must have an own demonym. So who is the authority? Someone determined that it is Liverpudlian not Liverpooler; so there must be someone ;) at least the spirit of commonalty that is referenced that often.
Of course there are a douzen possible basic information that can be add to the infoboxes. The demonym field is not my invention, I found it in articles like Cardiff and I thought it would be a great complement for articles about german cities due to there are Emder but also Mindener (Minder is not that lucky ;) ). Geo-Loge (talk) 08:38, 16 May 2008 (UTC)

Flag

Per WP:FLAGS, I was bold and removed the little Germany flag icon as it didn't seem to add anything not already implied by the word Germany. Feel free to disagree and to bring your encyclopedic reasons why we need the flag here. --John (talk) 21:02, 5 July 2008 (UTC)

Date display

Parameter "population as of" is displayed as e.g. 31/12/2006, which is incompatible with WP:DATE. GregorB (talk) 13:30, 13 July 2008 (UTC)

Broken microformat

{{editprotected}}

Please remove class="adr" from:

--> class="infobox geography vcard" style="width:23em; text-align:left;"
|- class="adr"

as it's redundant and breaks the hCard microformat. Thank you. Andy Mabbett | Talk to Andy Mabbett 16:25, 23 August 2008 (UTC)

 Done Happymelon 16:27, 23 August 2008 (UTC)
That was quick! Thank you. Andy Mabbett | Talk to Andy Mabbett 16:42, 23 August 2008 (UTC)

Other Map

I think, this map is better than location map.svg the one in use. Would you like to change it? SteMicha (talk) 17:15, 1 September 2008 (UTC)

Error in this template

I don't know how to fix the following error in this template.

Where it prints out the thing that says "Elevation 500-600", that is what it prints, with a hyphen, instead of 500–600, with a correct ndash. Can someone do that? Michael Hardy (talk) 05:26, 30 November 2008 (UTC)

....and now I've done some edits that I thought might fix the problem, but it didn't work in the article titled Rottweil. Michael Hardy (talk) 05:41, 30 November 2008 (UTC)
I'm by no means a template guru, but it seems to me the minus characters in line 247, position 25 and in line 248 position 74 need to be changed to &ndash;.
246  #if: {{{elevationmax|}}}
247    |<!--then "-" max-->-{{formatnum:{{{elevationmax}}}}} m &nbsp;({{
                           ^
248        formatnum:{{#expr: 0{{{Höhe|{{{elevation|}}}}}}*3.281 round 0}}}}-{{
                                                                            ^

Michael Bednarek (talk) 07:51, 30 November 2008 (UTC)

Thank you.

I've done this edit, and it worked for the elevation in feet, but the one in meters still has a stubby little hyphen instead of an ndash. Michael Hardy (talk) 14:54, 30 November 2008 (UTC)

It seems to me you only changed the second occurrence in line 248. Maybe it works if you change line 247 as well. Michael Bednarek (talk) 16:55, 30 November 2008 (UTC)

Bingo. Details matter..... Michael Hardy (talk) 19:54, 2 December 2008 (UTC)

Establishment Dates

{{editprotected}} The parameter year places the location (for example, Wiesbaden and Mainz) into the non-existant category "Settlements established in year", rather than "Year establishments". Can this be repaired?--Texas Whitt (talk) 20:01, 2 December 2008 (UTC)

 Done Looks like it works! Skier Dude (talk) 06:24, 3 December 2008 (UTC)

English Wikipedia - English parameters

This is English Wikipedia, although this template is for German-related articles, the parameters should still be defined internally in English shouldn't they? --212.44.61.185 (talk) 11:29, 5 December 2008 (UTC)

This template can handle English and German parameter fields. Since most of the information in the infoboxes is copied from German wikipedia, you will encounter German parameter names very often. No big issue I think, the names are invisible for the readers, and it's well documented at Template:Infobox German location/doc. Markussep Talk 14:11, 5 December 2008 (UTC)

'lang' template not accepted

Unresolved

Markup like {{lang|de|Baden-Württemberg}} causes an "Invalid state: "Baden-Württemberg" error (example). Can this be fixced? Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 21:37, 29 December 2008 (UTC)

Why would you want to use the "lang" template within the infobox template? I've read the rationale for the lang template, but it only seems useful for languages that aren't written in Latin script (Russian, Chinese) or for texts in other languages (or would you want to check the spelling or grammar of a name?). Markussep Talk 21:56, 29 December 2008 (UTC)
It tells software such as text readers (such as those used by blind people), aural browsers and search engines what language the text is in. It's a requirement of WCAG (web accessibility guidelines). Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 22:09, 29 December 2008 (UTC)
Does that requirement apply to proper names? We're not talking about German texts here. Markussep Talk 22:21, 29 December 2008 (UTC)
I think so, especially when they include language-specific characters, accents or pronunciations. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 22:35, 29 December 2008 (UTC)
I found this section in the WCAG guidelines, numbered 3.1.2 (my accentuation):
"Language of Parts: The human language of each passage or phrase in the content can be programmatically determined except for proper names, technical terms, words of indeterminate language, and words or phrases that have become part of the vernacular of the immediately surrounding text. (Level AA)"
One of the advisory techniques (i.e. not a requirement) is
"Providing language markup on proper names to facilitate correct pronunciation by screen readers".
In the case of the Großerlach article (which is what started this discussion), that implies IMO that it's advised to add IPA pronunciation for Großerlach (and also for Rems-Murr-Kreis and Baden-Württemberg at their respective articles). Markussep Talk 09:12, 30 December 2008 (UTC)
You make a couple of false assumptions: Firstly, WCAG's advisory techniques advise us on how to implement WCAG's guidelines - WCAG can and does make no requirements; but we ignore its advice at our peril. Secondly, the reference to language mark-up refers to HTML mark-up (such as that generated by {{lang}}), to be read by machines, not IPA, to be read by humans. Why else do you think {{lang}}, and the HTML lang="" and XHTML xml:lang attributes it uses, exist?
Furthermore, the advisory technique you cite, "Advisory Techniques for 3.1.2 - Language of Parts" is a sub-paragraph of "Language of Parts". the given "Sufficient Technique" for that is "Using language attributes to identify changes in the human language", by "using the lang or xml:lang attribute, as appropriate for the HTML or XHTML version you use". Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 12:35, 30 December 2008 (UTC)
Currently the "lang" template doesn't facilitate correct pronunciation by screen readers in any way, does it? "screen readers" refers to humans, not machines IMO. I interpret "language markup" as "HTML markup indicating to the reader the human language the text is written in". I know that's useful for search engines etc. Anyway: this is not about German text, it's about German proper names in English text, and the guideline is clear about that. The sufficient technique you refer to applies to pages where one part of the text is in one language, and the next part in another language IMO, again not applicable here. Is there another guideline I missed? Markussep Talk 12:39, 30 December 2008 (UTC)
No, "screen readers" refers to "screen reading applications"; and they are advised on pronunciation by the language attributes referred to in my previous comment. Your interpretation is wrong and your assertion of relevance is not supported by the facts; but in any case, it should be possible to use the {{lang}} inside an infobox - or, where it is known that the place name will always be in one non-English language (not likely for, say Cologne), the attributes could be hard-coded in the template.
Note also that {{Infobox Settlement}} has parameters both for |native_name and |native_name_lang; the latter solely to apply the relevant HTML attributes. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 13:21, 30 December 2008 (UTC)

Can we fix this? Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 21:27, 15 August 2009 (UTC)

Location working in Preview but not after saved

Lately, the location map has not been working. However, when doing a preview, it shows up. Any ideas?--CSvBibra (talk) 22:31, 8 January 2009 (UTC)

I've seen the same problem in the French commune infobox, but usually it shows up after a few cache purges (ctrl+F5). If the problem persists, could you give an example article? Markussep Talk 10:12, 9 January 2009 (UTC)

Date format

{{Editprotected}}

#time:d/m/Y

should be changed to

#time:j F Y

for compliance with WP:DATE. GregorB (talk) 21:17, 11 January 2009 (UTC)

Done Stifle (talk) 14:58, 16 January 2009 (UTC)

Map size

I was wondering if you would think about changing the current layout of the box in coordination with most of the othe rinfoboxes to have a larger map underneath the coat of arms. The current layout renders it that the map is so small it is the same size as the coat of arms which on most wikipedia settlements is at least 200 px while the coat of arms often well under 100 px. Most of the time the map is four times larger at least than the coat of arms, not the same size. For instance on Hockenheim you'd expect the map to be roughly the same size as a the photograph. Add to the map a thick locator pin that we currently have rather than the thinner pin used on the French communes map for instance and it makes the scale of the map awkward especially as we now have much higher quality pin maps. How about flags and coat of arms go side by side on top and you display a decent sized map underneath as with most other countries on here. As for as I can see it is only a hadnful of countries like Germany, Austria and Switzerland and perhaps Norway that insist on keeping the coat of arms sized minitature locator map. Any thoughts? Dr. Blofeld White cat 18:43, 17 February 2009 (UTC)

I agree, the map should be bigger than it is now. Markussep Talk 19:21, 17 February 2009 (UTC)

Anything from between 200px-270px would look a great deal better in my view. WHat I would do is adjust the box so the coat of arms goes under the photograph at a smaller px and doesn't have its own sectio,n just a label Coat of arms and then you put the location map underneath at around 270px in a section, excatly the same size as the photo and possibly get it to annetate to pin on the map like it does on most places. The result would be a map and photo alignment with France which works very well I think at 270px. Dr. Blofeld White cat 19:33, 17 February 2009 (UTC) Dr. Blofeld White cat 19:27, 17 February 2009 (UTC)

Here is an example. Note I am not propsing to use infobox settlement of course, just to change the proportions of the map vs coat of arms like in the example given Dr. Blofeld White cat 19:41, 17 February 2009 (UTC)

200px is big enough for me, I wouldn't make it bigger than say 220px, otherwise it becomes too tall. Markussep Talk 19:58, 17 February 2009 (UTC)

220 is good for me too. How do we make the change? Without a doubt 100x120px for a pin map is painfully small. It shouldn't really be the same size as the coat of arms!! Dr. Blofeld White cat 21:52, 17 February 2009 (UTC)

To request a change, just put {{editprotected}} here with exact details of the desired change. If it's at all complicated, make a copy of the template at Template:Infobox German location/sandbox with the desired changes, and ask for an admin to synchronize it. Stifle (talk) 22:19, 17 February 2009 (UTC)

Hi the proposal is almost done at User:Dr. Blofeld/Germany using Template:Infobox German location/sandbox. Just need to shrink the COA to around 80px and get the map to display the title like with France. What do you think? Dr. Blofeld White cat 09:00, 29 March 2009 (UTC)

My only concern would be than I can't see the full map on the new proposal without scrolling. Agathoclea (talk) 14:17, 29 March 2009 (UTC)

Without scrolling? Thats pretty normal, I use cologne blue most of the time so I always have to scroll down. A lot of existing ones like Berne etc actually have the map at the bottom which in my view is pretty bad. The layout in the proposal is very similar in size and proportion to most countries on here. Dr. Blofeld White cat 16:39, 29 March 2009 (UTC) I've made the adjustments, shrunk the COA a little and added an anetated caption for the place and shrunk the size of the pin so it now looks like User:Dr. Blofeld/Germany with a decent locator. Dr. Blofeld White cat 09:54, 30 March 2009 (UTC)

Brandenburg

{{editprotected}} Hi, looks like the region code for Brandenburg is wrong, see here. Could someone please change it from "BR" to "BB"? --ulm (talk) 19:17, 22 February 2009 (UTC)

Done, but your link lead to a German-based discussion that I couldn't make heads or tails outta (I don't speak German), so I assumed good faith and made the change. —MJCdetroit (yak) 03:07, 23 February 2009 (UTC)
Sorry. As always with standards, they are not freely available on the web, so it is a bit difficult to provide a proper reference. But two users on dewiki who have copies of ISO 3166-2 have confirmed that DE-BB is right. And this source: [3] says that the code was changed from "BR" to "BB" in 1998 already. --ulm (talk) 12:21, 23 February 2009 (UTC)

Coordinates issue

As for instance this page shows, there is an issue with coordinates on some usages of this infobox. This is because of interpretation details that are a bit obscure. The simple explanation is that an empty value != a value of 0. Currently the code for this infobox reads:

{{Coord|{{{lat_deg|}}}|{{{lat_min|00}}}|{{{lat_sec|0}}}|N|{{{lon_deg|}}}|{{{lon_min|00}}}|{{{lon_sec|0}}}|E |display=title |type

In my opinion this should be changed to:

{{Coord|{{{lat_deg|}}}|{{#if:{{{lat_min|}}}|{{{lat_min}}}|00}}|{{#if:{{{lat_sec|}}}|{{{lat_sec}}}|0}}|N |{{{lon_deg|}}}|{{#if:{{{lon_min|}}}|{{{lon_min}}}|00}}|{{#if:{{{lon_sec|}}}|{{{lon_sec}}}|0}}|E |display=title |type

This should make the code more robust. --TheDJ (talkcontribs) 23:41, 26 March 2009 (UTC)

New version

{{Infobox German location/sandbox
|Art               = Stadt
|image_photo       = Zitadelle-Spandau-Torhaus groß.JPG
|image_caption     = 
|Wappen            = Wappen Hockenheim.png
|lat_deg           = 49 |lat_min = 19 |lat_sec = 05
|lon_deg           = 08 |lon_min = 32 |lon_sec = 50
|Lageplan          = 
|Bundesland        = Baden-Württemberg
|Regierungsbezirk  = Karlsruhe
|Landkreis         = Rhein-Neckar-Kreis
|Höhe              = 102
|Fläche            = 34.84
|Einwohner         = 20787
|Stand             = 2005-12-31
|PLZ               = 68754–68766
|PLZ-alt           = 6832
|Vorwahl           = 06205
|Kfz               = HD
|Gemeindeschlüssel = 08 2 26 032
|Adresse           = Rathausstraße 1<br />68766 Hockenheim
|Website           = [http://www.hockenheim.de/ www.hockenheim.de]
|Bürgermeister     = Dieter Gummer
|Bürgermeistertitel = Oberbürgermeister
}}

It has been requested that this template be updated and replaced by a new version, which you can find at Template:Infobox German location/sandbox. The differences between the two versions can be examined at this link. If there are no objections, I will replace the template in a few days. Stifle (talk) 10:04, 30 March 2009 (UTC)

It will look like it does on the right now. The names of the towns will now feature on the map. Dr. Blofeld White cat 10:15, 30 March 2009 (UTC)

I think it looks awful. Why do we need a great big locator map? The locator map is only meant to give readers a general idea as to where the place lies. If they want to see exactly where it is, there are the map links. Also, why is the coat of arms size being reduced? Don't you know what a big part of civic pride heraldry is in Germany? Coats of arms there are not incidental, unimportant things as your template suggests. They are displayed with pride and are important civic symbols. Kelisi (talk) 09:26, 3 April 2009 (UTC)
The map was really too small in the old version, maybe it's too big now. I don't think we hurt German civic pride by displaying the coats of arms at 80px width, they're still perfectly visible. I've made another version with a 170px wide map, and I deleted the IMO useless captions "coat of arms" and "location in Germany", see User:Dr. Blofeld/Germany for the result. Markussep Talk 09:56, 3 April 2009 (UTC)

Yeah I agree Markus, it looks a little too big at 220px. I;d recommend 170px-180px although the map of Poland is a similar shape and they have that rendered even larger. I think your px adjustment is much improved. It looks perfect on the right now. I think 80px is still a fair size for coat of arms, besides which this is a neutral encyclopedia, not a way to exhibit German pride!. Dr. Blofeld White cat 12:01, 3 April 2009 (UTC)

OK - updated per second sandbox (most recent) version Skier Dude (talk) 14:56, 3 April 2009 (UTC)

km2 to mi2

This infobox uses {{km2 to mi2}} template - which, strictly speaking, isn't deprecated, but its output ("km²") violates WP:UNITS (should be "km2"). So,

{{km2 to mi2|{{{Fläche|{{{area|0}}}}}}|abbr=yes|wiki=no}}

should be replaced with

{{convert|{{{Fläche|{{{area|0}}}}}}|km2|abbr=on}}

Comments? GregorB (talk) 19:34, 25 May 2009 (UTC)

Fine with me, seems to give the right results and format. And the km² in the population density figure should be changed into km2 as well. Markussep Talk 13:51, 26 May 2009 (UTC)
That's right, literals should also be changed. I'll wait a couple of days and enter an edit request provided there are no objections. GregorB (talk) 14:17, 26 May 2009 (UTC)
One minor thing: the infobox on the right currently displays "34.84 km² (13.5 sq mi)" - note that {{km2 to mi2}} loses one digit of precision in the conversion, while {{convert}} automatically gets it right. GregorB (talk) 14:22, 26 May 2009 (UTC)

{{editprotected}} Two changes per above discussion:

  1. Replace {{km2 to mi2}} with {{convert}} (see above)
  2. Replace all instances of km² with km2 (km<sup>2</sup>). GregorB (talk) 20:07, 31 May 2009 (UTC)
 Done. Let me know if there are any problems — Martin (MSGJ · talk) 20:22, 31 May 2009 (UTC)

German pin maps

Hi. I noticed we have some new locators like File:Schleswig-Holstein location map.svg. What would you say about using regional pin locators in the infoboxes?

I've created the maps, see Category:Germany location map templates. Perhaps we could reprogramme the infobox to read the state e.g Bavaria and automatically use Template:Location map Germany Bavaria.svg etc. I think better detail is given on regional maps although the national map is very useful but you can see where it is nationally anywway when you click on the globe. Maybe two pin maps would bloat the box but maybe we could have them at a size where they coexist alongside each other I dunno. I definately think using the regional maps would be an improvement though. What do you think? Dr. Blofeld White cat 11:55, 2 July 2009 (UTC)

  • I'm strongly indifferent. Stifle (talk) 11:58, 2 July 2009 (UTC)

What do you mean? I thought you would have been interested. Evidently they think they are needed on German wikipedia as the maps were created by Germans! Dr. Blofeld White cat 11:59, 2 July 2009 (UTC)

{{Infobox German location/sandbox
|Art               = Stadt
|image_photo       = Zitadelle-Spandau-Torhaus groß.JPG
|image_caption     = 
|Wappen            = Wappen Hockenheim.png
|lat_deg           = 49 |lat_min = 19 |lat_sec = 05
|lon_deg           = 08 |lon_min = 32 |lon_sec = 50
|Lageplan          = 
|Bundesland        = Baden-Württemberg
|Regierungsbezirk  = Karlsruhe
|Landkreis         = Rhein-Neckar-Kreis
|Höhe              = 102
|Fläche            = 34.84
|Einwohner         = 20787
|Stand             = 2005-12-31
|PLZ               = 68754–68766
|PLZ-alt           = 6832
|Vorwahl           = 06205
|Kfz               = HD
|Gemeindeschlüssel = 08 2 26 032
|Adresse           = Rathausstraße 1<br />68766 Hockenheim
|Website           = [http://www.hockenheim.de/ www.hockenheim.de]
|Bürgermeister     = Dieter Gummer
|Bürgermeistertitel = Oberbürgermeister
}}

I reckon there is enough room to have both the national map and regional map coexisting side my side without making the infobox any wider, at present there is alot of space at the sides. You'd need captions though e.g location in bavaria. Maybe the maps would be reduced to 160px but I'm sure we could get more national and regional maps to fit. Dr. Blofeld White cat 12:10, 2 July 2009 (UTC)

Iwas thinking something like below. We'd have to reduce the national map size perhas to 150 or 160 to fit.

  • Unfortunately I'm not interested on this occasion. I'm not entirely sure why you think I should be. Stifle (talk) 14:25, 2 July 2009 (UTC)

Here's my 2 cents: obviously both maps could be useful - national map for people not really that familiar with geography of Germany (a majority, myself included), and regional map for people who want more detail. But two maps simultaneously could be awkward. Is there a way to show a single map, and provide some sort of mechanism whereby a user could toggle between the national and the regional map? And if there is, would that be a good solution? GregorB (talk) 16:35, 2 July 2009 (UTC)

Well we could see how it looks with two maps first and then see what Kirill can do. Remember that the maps will be smaller in the box and would be shrunk to a level where it doesm't look too cluttered. Dr. Blofeld White cat 17:54, 2 July 2009 (UTC)

Russian WP shows two maps (example: ru:Ганновер) but in a different way that needs quite a lot space. French WP started with exchangeable location maps (example: fr:Puntarenas). It only changes the administrative map with the physical one. German WP created a new template de:Vorlage:PositionskarteX ("Positionskarte" means "location map", examples: de:Vorlage:PositionskarteX/Test) but it's not in use yet. The graphic wasn't that good in my opinion and right now no one is improving it. I think the more maps of administrative subdivisions are made the more important an exchangeable location map will be. It would be great if en-WP would start its own project, a bit of competition to find the best solution. NNW (talk) 08:09, 3 July 2009 (UTC)
Btw and offtopic, why are you still using file:Germany location map.svg instead of file:Germany location map.svg which is more correct and has the common style? NNW (talk) 08:12, 3 July 2009 (UTC)

On balance I would prefer the regional map. I think it's especially suitable for regional topics e.g. local sights, towns and villages and geographical features that are not internationally known. If someone doesn't know where e.g. Bavaria is, they can link to the relevant article. --Bermicourt (talk) 15:34, 3 July 2009 (UTC)

I prefer regional maps over the national one, but see the need to have a national map for those unfamiliar with Germany's states. To solve this one just needs to include a small national map as a legend in the corner of the regional ones, with the respective state depicted in the regional map highlighted in the national map. Skäpperöd (talk) 07:07, 6 July 2009 (UTC)

As a Bavarian, I would prefer a regional Bavarian map in the infobox of Bavarian locations, either alongside the German one or by itself. I think, its a good idea. EA210269 (talk) 09:54, 11 July 2009 (UTC)
In regards to Skäpperöds suggestion, for Bavaria for example, the File:Bavaria location map G.svg fulfills just that purpose. EA210269 (talk) 10:09, 11 July 2009 (UTC)
That's about what I had in mind. Skäpperöd (talk) 10:59, 11 July 2009 (UTC)
I'm not sure whether its just me doing something wrong, but if you look at User:EA210269/Sandbox/2, all locations are out. I tried the same with Ulm on a Baden-Wuerttemberg map and it was nowhere near the Bavarian border! Will these maps need to be fixed up or is it just me? It certainly wouldn't do to have them display the wrong locations. EA210269 (talk) 12:09, 11 July 2009 (UTC)
It's not just you. The locations don't show where they are supposed to show (FF 3.5), some even left the state. Skäpperöd (talk) 13:33, 11 July 2009 (UTC)
I don't think the map's the problem. Check if you've used the right coordinates: for instance EA210269 used 49.56 N and 11.34 E for Bayreuth, but the correct coordinates are 49°56′(=49.93) N and 11°34′(=11.57) E. If you use that, you'll see that Bayreuth is correctly shown. Markussep Talk 09:25, 11 August 2009 (UTC)

Updates to template

The template no longer handles the latest changes to its opposite number on German Wikipedia. Specifically the following fields don't seem to be recognised (shown together with their suggested displayed field name or purpose:

  • Ortsteil - "name"
  • Gemeindeart - currently not supported (whether the higher administrative unit is a municipality, town or city)
  • Gemeindename - "Town" or "City" (name of the higher administrative unit)
  • Alternativanzeige-Gemeindename - currently not supported (alternative name of the higher administrative unit)
  • Gemeindewappen - currently not supported (coat of arms of the higher administrative unit)
  • Einwohner-Stand-Datum - "population_as_of"
  • Eingemeindungsdatum - currently not supported (merger date, for places that used to be independent municipalities)
  • Postleitzahl1, Postleitzahl2, etc. - "postal_code"
  • Vorwahl1, Vorwahl2, etc. - "area_code"
  • Lagekarte - "image_plan"
  • Lagekarte-Beschreibung - "plantext"

It is recommended that the old fields are also retained to avoid changing the 100s of existing article fields.

Comments on the above are welcome. But then can someone unlock the template and make the necessary changes, ensuring the template translates fieldnames and options as appropriate. Or I can do it if given the appropriate access rights. --Bermicourt (talk) 11:36, 19 September 2009 (UTC)

These fields seem to be specifically for subdivisions of municipalities and towns, used by de:Vorlage:Infobox Ortsteil einer Gemeinde. Since our Infobox German location can also handle subdivisions, I will add the correct field names in Bermicourt's list. Markussep Talk 13:41, 8 October 2009 (UTC)

Template:Infobox German location subdivision

I propose merging the template {{Infobox German location subdivision}} into {{Infobox German location}}. Infobox German location subdivision was created because Infobox German location couldn't handle subdivisions, but now it can. I have created a template that could replace Infobox German location subdivision, and transcludes to Infobox German location. See {{Infobox German location subdivision/sandbox}}, and User:Markussep/sandbox for some test cases. Some minor things need to be changed or added in Infobox German location, please add more:

  • no need to display a blank coat of arms if the subdivision doesn't have one, or if no picture is available done
  • do we need the address of the subdivision administration? I don't think so
  • coat of arms of the higher admin. division (the town or municipality this subdivision is a part of)? No high priority for me
  • list the town under "Administration"
  • for quarters that are part of a city subdivision (borough), list the borough under "Administration"
  • the states Hamburg, Bremen and Berlin don't have districts, there should be an "if" statement for that (if state=Hamburg/Bremen/Berlin then don't display "District" etc.). done

Markussep Talk 14:22, 8 October 2009 (UTC)

There seems to be minor complications with forced categories and template fields, see Rothenburgsort (autocat switched off). There is no district (as defined in the template for Districts of Germany, there is a borough). Maybe before deleting the subdivisions template, these problems are addressed? (oh, and I found the sentence that the template is not used for subdivisions: Template:Infobox German location/Instructions under IMPORTANT) Sebastian scha. (talk) 17:34, 10 October 2009 (UTC)
I've added it to the wishlist above. Do you think you can make a sandbox version of Infobox German location that covers the desired changes? Markussep Talk 12:22, 12 October 2009 (UTC)
Huh, I don't know, if I got time to do this, and this code seems difficult. BTW, here is a motion to delete all national boxes and use the settlement box instead. Nevertheless, I will think about it. Sebastian scha. (talk) 19:46, 13 October 2009 (UTC)
I think I have it right now, see {{Infobox German location/sandbox}}. I added a test whether the state is Hamburg, Bremen or Berlin, if so, it doesn't ask for a district. I removed missing coats of arms. I haven't listed the town under "Administration" yet. What's the problem with forced categories? Markussep Talk 18:01, 16 October 2009 (UTC)
Per IDON'TLIKEIT everything, but Rothenburgsort for example is listed in the hidden cat Category:Germany articles requiring maintenance, maybe it's only because the district? E.g. the year is the first year mentioned, the year founded, the year given city or town rights? It is sorted in a forced cat, and I think founded is more official term as first mentioned or settled, maybe I'm a bit strict? Thanks for your work! Cheers. Sebastian scha. (talk) 18:46, 16 October 2009 (UTC)
That's right, the (hidden) maintenance category is because of the missing district. {{year}} apparently refers to the foundation year, which is unknown for most towns in Germany. Do you think we should do anything about that? I'll ask for the infobox to be updated to my sandbox version, OK? Markussep Talk 19:26, 16 October 2009 (UTC)
Yes, an update is fine by me. I think, I will just let the year be a year and explain it in the history section in the article. (Changing this will cause several pages to be delisted in the categories, so don't change it.) Sebastian scha. (talk) 19:34, 16 October 2009 (UTC)

{{editprotected}} Please replace this template with the version in the sandbox. This will remove a dummy coat of arms image and make the infobox suitable for subdivisions of Hamburg, Berlin and Bremen (e.g. Rothenburgsort). Markussep Talk 19:41, 16 October 2009 (UTC)

 DoneTheDJ (talkcontribs) 21:30, 19 October 2009 (UTC)

I made a new sandbox version that includes more functionality from the I.G.l. subdivision template: when applicable, the main city/town/municipality and the borough (for quarters that are themselves part of city boroughs, like Wilhelmsburg in Hamburg, and Charlottenburg in Berlin) are listed under "Administration". It's debatable whether the "A borough of X" line under the infobox caption is still needed, I left it there for now. Comments? Markussep Talk 12:42, 21 October 2009 (UTC)

I don't think it's really important to mark subdivisions foo of the city fuu, maybe It would be nice to enter a type for all settlements, like - Quarter - or - Hanseatic city - or - Village - as a caption? you get my idea? something done in the {{Infobox settlement}} Sebastian scha. (talk) 15:18, 21 October 2009 (UTC)
I see what you mean, but I don't like the way it's done at Infobox settlement. I just made the font of "Foo of Fuu" a bit smaller, and removed the italics, to make it less prominent, looks better IMO. Markussep Talk 19:49, 21 October 2009 (UTC)
If noone objects, I'll ask for the infobox to be updated to my new sandbox version. The difference is that for subdivisions the city/town/municipality and the borough are displayed under "Administration". When that's done, I'll replace the subdivision template with my sandbox version, that transcludes to this template. See User:Markussep/sandbox for examples. If there are other things to be fixed, let me know. Markussep Talk 14:01, 23 October 2009 (UTC)

{{editprotected}} Please replace this template with the version in the sandbox. The difference is that for subdivisions the city/town/municipality and the borough are displayed under "Administration". Markussep Talk 11:38, 24 October 2009 (UTC)

 Done. Let me know of any problems please. — Martin (MSGJ · talk) 19:02, 24 October 2009 (UTC)

Altering coordinates parameter

Ref.: Infobox German location/testcases
The sandbox version of this infobox template has been altered so that the latitude and longitude does not wrap, i.e., lat. on one line and long. on the next line. This was done by changing the Coord display= parameter from "title" to "inline". Then a separate link to the Geographic coordinate system was added. Finally, the coordinates section was moved up to just below the top map.

If this looks good to everyone, and I haven't messed things up, then I propose we go to this version. All that will be necessary is to copy the sandbox version to the live version. I have the sandbox version in my own personal sandbox just in case this public version is altered. If no one objects, I shall request the change to be made in a few days. Thank you very much!
 —  Paine's Climax  08:57, 19 November 2009 (UTC)

Actually, I prefer the coordinates in the title, not in the infobox. Is there a special reason why you chose for this? Markussep Talk 21:34, 19 November 2009 (UTC)
Hiya, Markussep! I don't really have a preference, infobox over title. However, I have noted that in some skins the often-used "display=inline,title" gives undesirable results. In the simple skin, for example, the coordinates are duplicated side-by-side in the infobox, which significantly widens the infobox. In some skins that place the "title" valued coordinate set outside the infobox, the coordinates often conflict with lines and even text. Coordinates inside the infobox can be placed close to a map, or close to the capital city. There are numerous instances, for example in the widely-used Infobox Country template, where the coordinates point to the capital or the largest city. It seems to me that the coordinates in a country article that point to a city should be very near the name of the city, not off in the title or anywhere else outside the infobox where they are identified only with the title of the article, an entire country. I have worked with a clickable map, and I know that coordinates for an entire country yield circles, squares and polygons, not just a pinpoint set of coordinates.
In this case, it was the line wrapping that caught my eye. I edit in the "Simple" skin, where the coordinates appear at the bottom of this infobox and the longitude set wrap down to the next line. Go to the Infobox German location/testcases page and click on the Simple skin to see what I mean. Check other skins and you'll find the coordinate set conflicting with other parts of the top of the page.
Now may I ask, Is there a special reason why you prefer the coordinates in the title?
 —  Paine's Climax  06:11, 20 November 2009 (UTC)
I see what you mean, funny that the Simple skin puts the "title" coordinates inside the infobox. It does more funny things (at least in my browser), for instance in the article Baba Mountain the coords are shown under "References". Might there be something wrong with the way Simple skin handles the coord template? The reason I prefer coords in the title is that I can easily find them there. Are the articles still shown in Google Earth etc. when the coords aren't in the title, only inline? Simple looks horrible BTW! Markussep Talk 12:38, 20 November 2009 (UTC)
The Coord template is complex, and experienced editors are still working on it. As far as I know, where the coordinates are displayed in an article has no effect on Google Earth. I don't know why I chose Simple to do editing other than it was a snap to get the background color I wanted, a light green that's easy on the eyes even after hours of editing. I've also found that if an edit looks good in Simple and in my IE browser, then it usually looks okay in other skins, especially Monobook, the skin general readers use, and in other browsers like Firefox. If an article, template, and so forth, look good in IE and Firefox, then you've covered about 85% of all readers of the Internet. [4]
 —  Paine's Climax  16:50, 20 November 2009 (UTC)

{{editprotected}} Please copy Template:Infobox German location/sandbox to the live version of this infobox. As seen on the testcases page, this will move the coordinates from the very bottom of the infobox up to just under the map image. Thank you very much!
 —  Paine's Climax  00:12, 29 November 2009 (UTC)

 DoneJake Wartenberg 01:21, 29 November 2009 (UTC)
Thank you, Jake! Best to you and HAPPY HOLIDAYS!  —  Paine's Climax  06:40, 29 November 2009 (UTC)

Coordinates display

In the most recent edit I changed the coordinates display parameter to "inline". The reason is that when "title" is used, the infoboxes in the articles don't look good in some skins. To illustrate this, I added the "display=it" ("it" is a shortcut for "inline/title") back into the sandbox of this template. Editors will be able to see on the testcases page that it doesn't look good across all skins. The coordinates appear twice in the infobox in the MySkin and the Simple skins, they don't show anywhere in the top of the Nostalgia skin version, and the title coordinates conflict with lines in the Modern and the Vector skins. So I'll leave it up to editors whether or not to switch back to the "display=it" (inline and title) command. Remember, the most important thing is for the articles to look good in the Monobook skin, which I'll admit, it does look okay in Monobook. Monobook is the skin that all readers use who do not have a Wikipedia account and are not logged in. Here's wishing HAPPY HOLIDAYS! to all!
 —  Ellsworth's Climax  12:24, 30 November 2009 (UTC)

Infobox fixes

In the new {{Infobox German location/sandbox}} version I fixed several inconveniences:

  • when digital coordinates were given (e.g. lat_deg = 51.2345) these would show as 51.2345°00' 0", I fixed that
  • the caption on the locator map wouldn't pick up a specified town name if the field name was "Name", fixed that
  • the type "Ortsgemeinde" is now omitted from the "lageplan" caption

See User:Markussep/sandbox and Template:Infobox German location/testcases. Let me know if you notice any errors, otherwise I'll ask for the changes to go live. Markussep Talk 17:02, 17 February 2010 (UTC)

{{editprotected}} Please replace this template with the version in the sandbox. This will improve the way digital coordinates are handled, and fix some minor issues (see above). Markussep Talk 15:36, 18 February 2010 (UTC)

Done. Let me know if there is a problem. Plastikspork ―Œ(talk) 16:58, 18 February 2010 (UTC)
Thanks! Markussep Talk 17:46, 18 February 2010 (UTC)

option for flags in infobox

Hi, I just tried to put the flag back into the infobox for Cologne, (which was there until recently when it used to use the international infobox) and now this infobox here doesnt give that option. Also, there are plenty of flags in http://commons.wikimedia.org/wiki/Category:Flags_of_municipalities_in_North_Rhine-Westphalia and http://commons.wikimedia.org/wiki/Category:Flags_of_municipalities_in_Germany, so it might be worth as an optional parameter. 94.220.249.108 (talk) 14:34, 28 March 2010 (UTC)

That shouldn't be too difficult to do, the {{Infobox French commune}} also has an optional flag, and there's room for a flag next to the coat of arms. I'll give it a try. Markussep Talk 13:11, 29 March 2010 (UTC)
Done! See {{Infobox German location/sandbox}}, and User:Markussep/sandbox for some test cases (incl. Cologne). There's an optional legend as well, if there would be an article about the flag, you could link to it from there. In this sandbox version, I also moved the detailed map (usually the location within the district or the Bundesland, or within the city for boroughs) to a collapsable box. If you (plural) like it, I will ask for the sandbox version to go live. Markussep Talk 08:23, 30 March 2010 (UTC)
Looks good to me. Plastikspork ―Œ(talk) 03:10, 31 March 2010 (UTC)

{{editprotected}} Please replace this template with the version in the sandbox. This will make it possible to display flags in the infobox, and move the detailed map to a collapsable box. Markussep Talk 09:10, 31 March 2010 (UTC)

 Done — Martin (MSGJ · talk) 10:40, 31 March 2010 (UTC)
is it difficult to put a {{Border}} around (partially) white flags? i have tried it by preview in the sandbox above but it wouldn't show. Also there, there is a shadow or something on the top end of the flag... 88.77.131.172 (talk) 10:39, 31 March 2010 (UTC)
The shadow on the top end of the flag is caused by the code style="border-top:solid 1px #ccd2d9;. I copied it from Infobox French commune like this, it's a question of taste I guess. There is a light grey box around the flag, see Cologne. It's not difficult to change this, but again, it's a question of taste. Markussep Talk 11:07, 31 March 2010 (UTC)
Ok, as long as it is on purpose, it looks nice. I will start putting the flag into other municipalities too. 88.77.131.172 (talk) 14:42, 31 March 2010 (UTC)
OK, thanks! Markussep Talk 15:00, 31 March 2010 (UTC)

Automatically updated population numbers

Hi, I made a new {{Infobox German location/sandbox}} version, that uses (a copy of) the German wikipedia database of population numbers, as of 31 December 2008. They're updated once a year. This new feature uses the "Gemeindeschlüssel" field, which is available in most of the infoboxes that were copied from German wikipedia. I've tried to make it as failsafe as possible, using a maintenance category to track errors. See the Template:Infobox German location/testcases page for examples. These are the changes I made. Comments? Markussep Talk 19:00, 29 April 2010 (UTC)

I would personally like to see deprecation of German language field names, even though I do speak German myself, and some level of standardization of the outward appearance and usage with other templates. With that said, the ability to sync the population data very quickly with an official source is quite attractive. Especially if this data is changing annually. Plastikspork ―Œ(talk) 22:11, 29 April 2010 (UTC)
I can added an English name for the "Gemeindeschlüssel" field (how about "key"?), no problem. The data is updated at German wikipedia around July/August, all we have to do is watch their changes and copy the data to the 14 files (e.g. {{Metadata Population DE-HE}}). Markussep Talk 18:06, 2 May 2010 (UTC)

{{editprotected}} Please replace this template with the version in the sandbox. This will make it possible to use recent population numbers from a sourced database. Markussep Talk 20:07, 3 May 2010 (UTC)

Done. Plastikspork ―Œ(talk) 21:49, 3 May 2010 (UTC)
Has this discussion got something to do with the fact that population references won't show in the template? See Trendelburg for example. I added the reference to |pop_ref= but it won't show up. Jared Preston (talk) 18:38, 4 May 2010 (UTC)
That's right, the infobox uses a subtemplate to retrieve the population, and ignores manual population data (incl. ref) when the Gemeindeschlüssel is available. I noticed that not all data are from 31 December 2008, some (for instance Hesse) are actually from 30 June 2009. The dates and the references are in the subtemplates, I'll build them into the infobox. Markussep Talk 09:21, 5 May 2010 (UTC)
Any chance of being able to override the template when it's out of date then? Hessen statistics are more up-to-date from the Landesamt. Surely if someone adds a ref-note then this could show different data to the sub-template? I'm only asking because my template-knowledge isn't so great. Jared Preston (talk) 13:23, 5 May 2010 (UTC)
N.B.: Having said that, is it a problem to remove the Gemeindeschlüssel field if one has more recent stats? Jared Preston (talk) 13:38, 5 May 2010 (UTC)
I'd say save yourself the trouble. The subtemplates will be updated regularly, and the oldest data is from 31 December 2008 currently, which is pretty good IMO. Population data is not very volatile in Germany. There's no option for overriding the automatic population data now, I noticed German wikipedia has that. IMO that's not a good thing, with automatic data you're sure the data is recent. If you remove the Gemeindeschlüssel the article will show up in the (hidden) maintenance category. Markussep Talk 14:38, 5 May 2010 (UTC)
OK, that's fine. Who/what actually updates the pop stats, then, and where? Jared Preston (talk) 15:30, 5 May 2010 (UTC)
I will. I'm watching this category in German wikipedia: changes in metadata files. When they update a file, I copy it to a file like this: {{Metadata Population DE-BB}}. Markussep Talk 19:46, 5 May 2010 (UTC)

If you're the only one updating the lists, do you have any recommendations for others? – Seeing that it is a lot for one person to be doing, especially since the infoboxes are reliant on your input. Is there anything that I or indeed other members of the project can do to help? Jared Preston (talk) 22:02, 5 May 2010 (UTC)

We could start a task force, if there isn't one already. Plastikspork ―Œ(talk) 22:31, 5 May 2010 (UTC)
Sounds good to me. Jared Preston (talk) 22:42, 5 May 2010 (UTC)
It's not much work, since most of the work is done at German wikipedia. But I think it's good that others know how to do it, in case I get run over by a truck or (likelier) take a long computerless holiday. I'll make a short manual, as documentation for the main template {{Population Germany}}. We can make a list there with the latest update for each state. BTW I made a sandbox version of the infobox that uses the correct date (Hesse is the only state with June 2009 data instead of December 2008), and quotes a reference. It's "live" already for the districts {{Infobox District DE}}. Plastikspork, could you update this infobox? Markussep Talk 08:11, 6 May 2010 (UTC)
I wrote the manual, see {{Population Germany/doc}}. Markussep Talk 18:53, 7 May 2010 (UTC)

{{editprotected}} Please replace this template with the version in the sandbox. This will add the correct date and reference for the population data. Markussep Talk 18:53, 7 May 2010 (UTC)

Done. Thanks for doing the actual work. Plastikspork ―Œ(talk) 22:15, 7 May 2010 (UTC)
Just noticed this happened ( a few month late ) - Well done. Agathoclea (talk) 13:48, 15 September 2010 (UTC)