Template talk:Infobox City Romania

From Wikipedia, the free encyclopedia

At this moment some of the data mght be missing without any negative effect on the template. It concerns mainly the mayor party, the area of the town, the geographical coordinates and website.

As I'm still working on it, this is not a complete guideline and, as good Wikipedians, you are asked to contribute with all the data.--Luci_Sandor (talkcontribs  04:47, 10 January 2006 (UTC)

This is unnecessarily complicated. I can't readily imagine a good reason for such elaborate Boolean conditions, but if they are really justified, or even if some of them are justificed, this talk page should give a usage example. -- Jmabel | Talk 05:56, 18 January 2006 (UTC)
The booleans are used for
  • city status. At this moment, there are only four values expected, City, Municipality, County capital, or Commune. The template will allow automatic classification into categories.
  • mayors party affiliation. The template will receive as parameter names of wiki pages like National Liberal Party (Romania), but will convert them, when possible, to liberal etc., in order to save space in a crowded box. It also automates the process of inserting a city in the categories ruled by liberals, ruled by social-democrats etc. - those categories that you want deleted.--Luci_Sandor (talkcontribs  13:15, 18 January 2006 (UTC)

[edit] reformat

I've changed this template in a number of ways. This may require you to adjust some of the articles, but nothing immediate.

  1. I removed "templates within templates" scheme per WP:AUM.
  2. I removed the categories, because categories fed by a template cause maintenance problems, and is confusing to future editors who can't figure out where the categories are coming from.
  3. I improved the overall table formatting, using row headers and removing some unneeded styling.
  4. I removed hiddenStructure on several fields which are easily filled out, and should be considered "required" information.
  5. I changed the {{{party}}} parameter to remove the convoluted logic statements. Just change the parameter definition in each article, like this.

-- Netoholic @ 19:27, 19 January 2006 (UTC)

Now, not only the party categories are broken, but the county categories too. I've been told that an information showing up twice, like in the infobox and in categories, is wrong, which will, in fact, kill this infobox template or will lead to deletion of both county and party categories. And with the recent discussion over party categories, I just feel a pressure to give up or to focus on relevant categories like "famous US killers" or "really important US trials".
Area is not available for the majority of the Romanian cities, hence area and density (which was calculated) are not "required". Anyway, the same pressure makes me give up.

Can we just create a template for the whole world? I would then add a motto, a nickname, an animal, like US cities and states have. I can make up something as relevant as that.--Luci_Sandor (talkcontribs  21:41, 19 January 2006 (UTC)

I am sure that the county categories are appropriate. The problem comes later if something changes. Having categories in a template is a not a good way to go. -- Netoholic @ 00:20, 20 January 2006 (UTC)

[edit] Adding Category:Cities in Romania to this template

Please see my note at Wikipedia:Romanian Wikipedians' notice board, basiclaly I was going through and adding Category:Cities in Romania to all the articles that need it but dont have it and realised that they all have (or should have) this template. There are one or two instances of cities that are in Category:Municipalities in Romania which in those cases woudl make this category less approprate (its a sub cat of Cities in Romania) but on the whole I think this woudl be a good change. If not I will go through with AutoWikiBrowser and add the category, but that wont solve the problem for future articles. Does anyone have any thoughts or objections? Dalf | Talk 10:17, 22 January 2006 (UTC)

No, add the category directly to the city articles. Using categories in a template makes maintenance harder. -- Netoholic @ 12:42, 22 January 2006 (UTC)
Having the infobox placed on something else than Romanian cities is also wrong. I wonder why do these logical structures exist (like qif or automated categories), if we shouldn't use them. Isn't the burden on the database bigger when we keep editing (remove category, add category and so on), than simply having something automated? Isn't there a difference between a computer maintained system and a pile of papers? I am maintaining this infobox and the articles that include it, I think I know better what is harder for me. I also think Netoholic is trying to enforce a priciple, but the principle in itself and his reasoning are out of my grasp.--Luci_Sandor (talkcontribs  23:26, 22 January 2006 (UTC)
So which to do? I was about to make the change when no one objected at Wikipedia:Romanian Wikipedians' notice board when I remembered having asked here as well. I have seen other categories in templates (disambiguation for example). And some other actual content categories as well. Is there some rational behind not doing so? My only thought was that this will put some cities like Sibiu in Category:Cities in Romania as well as Category:Municipalities in Romania which is a sub-cat. While I do not agree 100% of the time with the guideline of not putting an article in a category and a sub-category of the same I think in this case it woudl probbly be wrong. Though not THAT wrong. Dalf | Talk 06:51, 30 January 2006 (UTC)


I think we should add the category by hand, not only because the category Municipalities in Romania exists, but because the template has started to be used also for communes and villages, and that will be wrong. Anyways, I've already added the category to most of the pages that are linked to this infobox, and I'll try to manage the others as well. Mihai -talk 08:03, 30 January 2006 (UTC)
Cool, so its decided no caagory on this template. I will work through some of the cities either tonight or tomorrow. They go really really fast with Wikipedia:AutoWikiBrowser. Dalf | Talk 06:56, 2 February 2006 (UTC)