Template talk:Navbar-header

Questions

 * When using the code: in order to specify a font colour, it seems that the " v . t . e " text remains black.  Is there a way to specify a font colour which applies to both the header text and the " v . t . e " text?  --MLD 12:59, 12 October 2006 (UTC)
 * Yes I am also frustrated by this. It appears that the "fontcolor" option does not even work.  What's more is that it definately doesn't work for links, but it needs to override the link color.  Is anyone around to address this? --MattWatt 02:50, 30 March 2007 (UTC)
 * This issue still appears to be present. Does anyone know what code needs to be added to the template to fix it? –  T M F 01:12, 6 March 2009 (UTC)
 * Should be fixed now. — Edokter  •  Talk  • 02:27, 6 March 2009 (UTC)
 * Looks good, thanks. –  T M F 04:21, 6 March 2009 (UTC)

transclusion in NavigationBox
It seems this latest change breaks transclusion in NavigationBox template.

See: Template:Emir_Kusturica_Films for an example of how I'm using this template. Perhaps I should fork this version to a new template if these changes are required? // Laughing Man 19:06, 24 October 2006 (UTC)

Testing
Could someone show me a broken page using the new version at Tnavbar-header2? ed g2s &bull; talk 09:28, 25 October 2006 (UTC)
 * It seems this one doesn't break NavigationBox template anymore, I can't speak for other templates though of course... User:Laughing_Man/sandbox/Tnavbar-header uses Tnavbar-header2 and it seems fine. // Laughing Man 11:57, 25 October 2006 (UTC)
 * Tnavbar-header2 seems good. My only concern is that for most browsers there's no line breaks introduced and that the header occupies 100% of the width of a heading cell (which is what will do the same thing as the fontcolor parameter.  Should we deprecate this parameter? --Dispenser 02:43, 5 January 2007 (UTC)
 * I wouldn't. However, it appears to me that the "fontcolor" option does not work for me.  Moreso, I would prefer that the "fontcolor" option override the default browser link colors.  This does seem to work for the normal  . --MattWatt 02:53, 30 March 2007 (UTC)
 * Looking at the source I think I can see where the mistake lies... Does anyone still have permissions to edit this? --MattWatt 03:05, 30 March 2007 (UTC)

This still needs to be fixed. I don't see the issue, but if someone tells me on my talk page, I'll edit it.↔NMajdan &bull;talk 20:21, 18 October 2007 (UTC)


 * Be aware that the fontcolor option will never work if the title is wiki-linked, as  will always override the sytle set outside the link with the style associated with wikilinks. The only way to cheat this is by using a piped link with a span inside the wiki-link, like this:

Title
 * — Edokter  •  Talk  • 22:26, 18 October 2007 (UTC)

no mini?
Just wondering why there isn't a version of this template without the Mini style. Personally I prefer the look of |plain=1|mini=0|. Is there any way we can make this an option? --MattWatt 02:14, 30 March 2007 (UTC)
 * Please see my not so recent edits of Tnavbar-header2. The changes seem to be in working order and compatible with the goals of this template.  I would like to request that the changes I have made there be included in this template.  --MattWatt 21:46, 10 April 2007 (UTC)


 * Please put the editprotected tag just beside your request. It would be much easier for an admin to make this change if you write the code in a sandbox and test it, then let us know so we can do the edit by cutting and pasting the entire source code.  CMummert · talk 23:46, 10 April 2007 (UTC)
 * Ok, thanks for the tip. I wasn't sure where it needed to be placed. What I have done is tested the code over on Tnavbar-header2, which from my understand has the sole purpose of testing changes for this template.  Perhaps I am not understanding something.  I believe my edit is the most recent one on that template. I wrote my code with the idea of just doing a cut and paste in mind and I believe that is all that would be required. I am seeking opinions on whether you all feel my changes are beneficial, and if so, if they could be included in this template. --MattWatt 05:46, 11 April 2007 (UTC)
 * ✅ Done. Note that it may take a while for this to be changed on existing uses of the template. --ais523 11:14, 12 April 2007 (UTC)
 * Thank you very much! --MattWatt 18:47, 12 April 2007 (UTC)

Aligning of tnavbar [editprotected]
Editprotected When the template is aligned to the right, it clashes with the [show]/[hide] function. Can we add an extra parameter to allow it to be aligned to the left if required (e.g., or similar)?  Sebi  [talk] 21:23, 14 September 2007 (UTC)
 * Seems reasonable. Write and test the code, and then request an admin to copy it over here. If you need help with the code, you can get it at Requested templates. &mdash; Carl (CBM · talk) 20:39, 15 September 2007 (UTC)


 * Spebi
 * We already have tnavbar-collapsible and tnavbar-navframe which are specifically designed to work with the show/hide functionality. Please read through the documentation before posting silly request.  —Dispenser 03:38, 16 September 2007 (UTC)
 * What problem is there with having templates that can be easily amended to fit a template's needs? A template might not use the show/hide function, but needs the v·d·e links to appear on the left. I fail to see how this is a "silly request", in fact it's a perfectly valid request.  Sebi  [talk] 03:43, 16 September 2007 (UTC)
 * Could you give an example when the v-d-e would need to be on the left? As far as I know the show/hide are the only ones and those are much better served with a template that can incorporate more code to fix the specific problems.  Keep the code simple, don't add in unneed complexity.  —Dispenser 04:14, 16 September 2007 (UTC)
 * It's just one extra parameter, not doing any harm by just being in there, nor is it making the template syntax more complicated than it is.  Sebi  [talk] 04:20, 16 September 2007 (UTC)
 * This is the classic example of feature creep. The feature is small if the template stays implemented the way it is now.  However, if we moved back to a table-based style, we would need to use a if-else statement to continue to keep this feature working.  Thus, that 1 extra feature has an enormous cost just within the template itself.  It will increase the transcluding size.  Require a regression test.  And in two years when somebody cleans this up, they will conclude that is wasn't used on more than ten templates.  —Dispenser 05:06, 16 September 2007 (UTC)

Alignment question
Why is this aligned to the right at all? if the default navbox format has hide-right, VDE-left, shouldn't this template maintain that uniformity by putting VDE on the left, even if the hide isn't there? TheHYPO 04:19, 4 December 2007 (UTC)

Documentation
editprotected → 16@r (talk) 00:06, 10 March 2008 (UTC)
 * ✅. עוד מישהו Od Mishehu 06:17, 10 March 2008 (UTC)

Passing HTML
- see, below.

Please see this edit, which broke because I tried to pass an HTML span to Tnavbar-header. Any suggestions on how to achieve what I was trying to do would be appreciated, please. Andy Mabbett | Talk to Andy Mabbett 15:25, 23 August 2008 (UTC)


 * I thought I had make this clearer, just use . — Dispenser 17:50, 23 August 2008 (UTC)


 * Thank you, but I'm not sure how that relates to what I was trying to do in the cited edit, what do you mean by "HTML title"? Andy Mabbett | Talk to Andy Mabbett 18:01, 23 August 2008 (UTC)


 * Changed example to better illustrate. You need name the parameters if you want the content to contain an = sign.  — Dispenser 19:55, 23 August 2008 (UTC)


 * Thank you, but that's still not right. Andy Mabbett | Talk to Andy Mabbett 10:11, 24 August 2008 (UTC)

vde thing being screwed up on small edit boxed
See for example

It occurs whenever the title is larger than the rest of the template.Headbomb {{{sup|ταλκ}}κοντριβς – WP Physics} 10:15, 19 December 2008 (UTC)
 * No it happens when the rest of the table is less wide than the title used by Tnavbar-header. Your best bet is to use tnavbar separately, Though the better idea might be not to use a navbar at all in cases like this (does it really need editing that much, when there is no content apparently ?). --Th e DJ (talk • contribs) 10:07, 3 April 2009 (UTC)


 * Thanks for the correction. As for the no-content its an extreme example, but it illustrates what happens in cases such as Template:Flavour quantum numbers.Headbomb {{{sup|ταλκ}}κοντριβς – WP Physics} 10:40, 3 April 2009 (UTC)

Adding spans
This edit broke the template. How can it be made to work? Andy Mabbett (User: Pigsonthewing ); Andy's talk; Andy's edits 21:25, 29 April 2010 (UTC)
 * It looks like the equals sign in your span is causing everything after it to be treated as a template parameter. Change the code to this (i.e. add the "nowiki" tags before and after the equals sign:

That should make it work. --CapitalR (talk) 08:46, 30 April 2010 (UTC)
 * That's done the job; thank you. Andy Mabbett (User: Pigsonthewing ); Andy's talk; Andy's edits 08:53, 30 April 2010 (UTC)

needed?
hi, this template is really needed? there is not any program for merge/tranclude it? --ebraminiotalk 23:39, 17 September 2010 (UTC)