Jump to content

Template talk:Navbox generic/Archive 5

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

In firefox

Hi, according to User:Hadžija [1], there seems to be a problem viewing the template Roman emperors in firefox when this template is used. Could someone check this and correct the bug? Thanks, Madhava 1947 (talk) 10:41, 16 May 2007 (UTC)

I took a look at this and found the problem was already fixed. As per this diff, the problem was solved by changing:
[[Augustus]] {{·}}[[Tiberius]] {{·}}[[Caligula]]

to:

[[Augustus]] {{·}} [[Tiberius]] {{·}} [[Caligula]]

As per the documentation for Template:·:

The template prefixes the bold middot separator with a non-breaking space ( ) so {{·}} is meant to be suffixed to each item, i.e. without a space between it and the preceeding item in the list, as shown below. This prevents the separator being linewrapped to the starts of lines.
[[Augustus]]{{·}} [[Tiberius]]{{·}} [[Caligula]]

-- Zyxw 10:35, 24 May 2007 (UTC)

Well, there were still some problems viewing it in Firefox. So I fixed the lists in the template that misbehaved the worst. I used the new fix we have for this problem: I used {{nowrap begin}} and its kit of "helper templates". --David Göthberg 22:10, 23 August 2007 (UTC)

Java7837 is trying to use {{Navbox generic}} in his navigation template in user space (User:Usbk/DB, but it automatically adds the prefix "Template:" to the "v", "e", and "d" links. Is there any way to correct this? - Mike Rosoft 19:23, 26 June 2007 (UTC)

As with the section #Error:Stripping namespace above, {{Navbox generic}} does not support templates outside template space, and really shouldn't in my opinion. The easiest solution is to move it to template space, but it can always be converted, with some work, into code that manually makes the v•d•e links. I'll inquire on his user page as to the actual usefulness this template. –Pomte 19:54, 26 June 2007 (UTC)
I applied another easy solution instead: Added "|navbar = plain" so the "v • d • e" links don't show. --David Göthberg 23:40, 23 August 2007 (UTC)

oddstyle / evenstyle applied to group

I had made this request before, but I think it got lost in the shuffle. Can the oddstlye and evenstyle also be set for the group? Currently the oddstlye and evenstyle can only be set for the list. I wanted to alternate the group backgrounds to coincide with the alternating list backgrounds. If there is someway of doing this already, please provide the code. Regards.--Old Hoss 02:53, 26 August 2007 (UTC)

In the current code for {{navbox}} and {{navbox generic}} there are no support for alternating the backgrounds for odd/even groups. Since you made me curious now, could you give an example of a template where you would need that?
See, I myself have stumbled on cases where I would like to set different styles for different lists, something like: list1style, list2style, list3style and so on. So I have just read up on how to code that up. I am thinking of several ways to make that available:
  • Either we could add it directly to the code of the new standard {{navbox}}, but some will probably say it would get to complex then.
  • Or perhaps less controversial: We could add it as a "plug-in" similar to {{Navbox generic subgroup}} or why not even extend {{Navbox generic subgroup}} to include all such extra functionality?
If I implement that I wouldn't mind to also add say groupoddstyle and groupevenstyle. And why not also group1style, group2style and so on. So, can you show me some example where it is needed? (To motivate me.)
Oh, I guess that right about now all those "standardise navbox styles" people who hate "template creep" are screaming in horror! ;))
--David Göthberg 18:22, 26 August 2007 (UTC)
Template:American Civil War. The current one uses alternating colors and I was going to convert it to {{Navbox generic}}, but the {{Tnavbar}} and the alternating colors were the only hold ups for the other editors (on the Talk page). I am already utilizing {{Navbox generic subgroup}} in it. Thx.--Old Hoss 00:13, 27 August 2007 (UTC)
Ok, I took a long look at the different versions of that template. I find them rather ugly, sorry. But your latest suggestion is the least ugly. Anyway, now that I know what you need: I think there are several ways to create what you need. I will think about it for some days and try some different ways to code it to see which one is best. By the way, if you want to see how it can look with subgroups and every second list in grey: {{Arteries of abdomen}}. (I know that the current subgroup system does not fulfil your needs, just wanted you to see the grey lists.)
--David Göthberg 02:20, 27 August 2007 (UTC)

Well, at least I'm dealing with someone who is honest. The other editors insisted on the color scheme (blue and gray, to go with the combatants' colors), so don't blame me for the appearance, although it doesn't look that ugly. I have used the alternating gray colors before, but thanks. I also responded on the other talk page in more detail. Thanks for looking into this. Regards.--Old Hoss 03:43, 28 August 2007 (UTC)