Template talk:Navbox generic/Archive 2

message: UPDATE: The padding issue was resolved in this edit to MediaWiki:Common.css, therefore the examples below do not accurately show the differences that existed prior to 18 March 2007. -- Zyxw 04:03, 28 March 2007 (UTC)
replies: text: Since there have been no comments in 10 days, I updated  so it now appears as shown above in the third example. -- Zyxw 10:53, 15 March 2007 (UTC)
replies: text: These templates are suppose to be basic and not bloated.  If you want to make these changes I'd suggest to make them on a site-wide basic instead of template specific.  Perhaps it should be the other way around with  getting more padding?  —Dispenser 02:13, 16 March 2007 (UTC)
replies: text: Agreed that there should be uniform padding on all navboxes. 2px looks good; see the contast between Toronto and Canada, for example. Whether changes should be made at common.css or here, I don't know enough to tell. Is it possible to strictly center the heading on tables that use navbox collapsible? It looks awkward if any centered subheadings are used below. –Pomte 04:54, 16 March 2007 (UTC)
replies: text: I agree that the best solution would be changes to MediaWiki:common.css that more closely align all settings for the two types of navigation boxes.  For example, the padding of table.navbox could be decreased from 5px to 2px, while div.NavFrame is increased from 2px to 4px (navbox needs to be 2px less than NavFrame to create the same appearance). Another area to be addressed is the difference in font sizes. I also think that MediaWiki:common.js should be changed to have navbox and NavFrame templates use the same JavaScript for auto-collapsing. To see why, just look at bottom of the Toronto article with its mix of uncollapsed NavFrame templates and collapsed navbox templates which have 5px more padding (3px from the CSS settings plus 2px from the use of tables). Until such time as those changes are made on a site-wide basis, I see no reason to avoid temporarily fixing the problem directly in this template. The current padding is too large and should be reduced. If the consensus is that padding:0 makes it too small, then let's change it to padding:2px. – Zyxw 20:08, 16 March 2007 (UTC)
thread_title:  Changing CSS padding of table 

message: I made the template code more readable, it shouldn't have broken anything, but tell me if it did. --Dinoguy1000 Talk 23:03, 7 March 2007 (UTC)
thread_title:  Code readability 

message: If you're interested in participating in a discussion about a potential style guideline for navigational templates (specifically footers), please indicate your interest at Wikipedia talk:Navigational templates#Style guideline for footer templates. -- Rick Block (talk) 02:03, 25 March 2007 (UTC)
thread_title:  Style guideline for footer templates 

message: I'd like to convert Template:Barenaked Ladies over to this standardized template, but the template requires a few subheaders (the grey rows). I don't think any of the existing navboxes accept this style (please point me to one if one exists). I could do it with a listx and no groupx, if you could control the bgcolor of listx's, but you can't. Is there any way we could add a subheaderx tag to accomodate this? Thanks. TheHYPO 21:34, 5 April 2007 (UTC)
replies: text: See example at  and related discussion at Wikipedia talk:Navigational templates#Subheadings and title alignment --ChoChoPK (球球PK) (talk | contrib) 20:03, 7 April 2007 (UTC)
replies: text: If you read his comments in the place he linked to, it's known you can achieve subheadings with listN fields, but it's not ideal - if you notice, the subheadings are not the exact proper width they should be, and additionally, it's html code - and when standardizing navboxes, that type of complexity is frowned upon. TheHYPO 17:04, 11 April 2007 (UTC)
replies: text:  Sorry to've misunderstood / under-read!  David (talk) 08:55, 12 April 2007 (UTC)
thread_title:  Any chance we can add subheaders 

message: Hmm, maybe it's just me, but something changed with the parameter names.  Take a look at .  This is good (new version), and this is bad (old version), and here is the the diff.  I'm sure this has to be happening to many other templates, but I didn't want to jump in the middle and try to fix it myself.  Certainly not on a Monday after Friday the 13th. :) — MrDolomite • Talk 18:08, 16 April 2007 (UTC)
thread_title:  parameter templateName vs name 

message: I updated the Protected template to reflect this template's new protected status (from  to ). If anyone thinks of a better reason to put, feel free to put it there. --Dinoguy1000 Talk 05:56, 28 April 2007 (UTC)
thread_title:  Updated Protected template 

message: Compared to similar templates in the navigation series, it seems that font sizes for this template is slightly larger. How about reducing its font size to that in Template:Navigation? I just applied this template to Template:Singapore bus stations and the text size seems rather overwelming compared to the previous version .--Huaiwei 09:46, 29 April 2007 (UTC)
replies: text: Perhaps it's the line-spacing (line-height?) rather than the font-size that might be tweaked..?  Regards, David Kernow (talk) 14:06, 29 April 2007 (UTC)
replies: text: Doubt so, for that simply adds more white space and bulk to the template.--Huaiwei 13:16, 30 April 2007 (UTC)
thread_title:  Font size 

message: I created a navbox generic in userspace for my user page (still up), as an experiment, and found that the v/d/e links are broken.  It strips the namespace portion out of the template name.  Is this a problem here or with the susbt'd pagename template? MrZaiustalk 08:25, 18 May 2007 (UTC)
replies: text: Doesn't work in userspace because  prefixes all its links with Template:. I don't know of any such template for other namespaces. You can try to substitute and work out how to manually make the three links, or avoid vde by using  instead. ( isn't a template but a magic word.) –Pomte 03:29, 19 May 2007 (UTC)
thread_title:  Error:Stripping namespace 

message: Hello :en:User:All-of-you
As you probably know, users on other wiki-languages are working on their own languages, but based on your work. For my specific case, I translate articles for Wikipédia, and trying to use templates uniformaly. Since few days, I'm working on cities of British-Columbia (FR) and I've tried to include this template. With a little search, I've noticed that many languages are using this template, but some are not working proprely.
;Working : CY - MS - JA
;Not working : FR - GL - ID - IT - LV - NO - PT - SIMPLE - SL - SU - SV - VI - ZH
In certain cases, the default colors are right but the collapse doesn't work, in other cases it's the opposite! My problem is for french : the default colors AND the collapse doesn't work. I think it's the MediaWiki:Common.css or MediaWiki:Common.js, but I'm not sure what I need to request to Admins!? Can someone give me a hand with that? I not really good with "Style sheets". Thanks in advance for your help! 
Have a nice day! --Antaya 10:36, 2 July 2007 (UTC)
thread_title:  This template in other languages