This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 10 | Archive 11 | Archive 12 | Archive 13 | Archive 14 | Archive 15 | → | Archive 20 |
Can someone changes this so that more than 20 groups? I made the Template:Portuguese infantes and the Template:Portuguese infantas by marriage. But nothing beyond the 20th generation shows up. -- Queen Elizabeth II's Little Spy ( talk) 01:04, 14 November 2009 (UTC)
I have seen the code in Common.css that is as follows:
table.navbox + table.navbox { margin-top:-1px; }
This code makes sure that top/bottom borders are shared between navboxes on pages that feature multiple ones at once. On Wikipedia most pages that feature this are implemented like so:
{{Template1}} {{Template2}}
...with each template call on a different line. However, on my Wiki, if you do that (each on its own line) you get random blank space in between them. After a page is served, if you look at the page source, you see the following in between the navboxes:
<p><br /> </p>
This mysterious insertion of blank space disappears if you call the templates like this:
{{Template1}}{{Template2}}
...I.e. all on the same line.
As far as I can tell, there is no difference between our navboxes and the ones on Wikipedia that would make this occur. This also does not occur if I directly use the "navbox" class on two sequential, hand-coded tables. Now, we're on 1.13.2, not the latest of 1.15.1 or whatever it currently is. Is this some sort of well-known transclusion bug in older versions? Or is this a clear sign that there's something majorly wrong with our navboxes?
--
Cogniac (
talk) 14:42, 23 December 2009 (UTC)
Hello and please help. Over at E-Wrestling Encyclopedia, I have a navbox collapsed groups template located at here, I noticed that the groups listings are shown when they are ment to be hidden. I copied the files accordingly and still have and issue. What is the problem?
Second problem that mainly is a from this article, over at Dog The Bounty Hunter Wiki, I have a problem with the code #ifexist code in the navbox template shown on this article. How do I fix the problem. The templates are located at Template 1 and Template 2.
Thanks for the help, Merry Christmas, and a Happy New Year.
Sundogs Wikia UserPage | Roller Derby Wiki 15:06, 25 December 2009 (UTC)
|
with {{
!}}
.
Svick (
talk) 21:53, 25 December 2009 (UTC)I made a navbox ({{ Buteoninae}}) for all the Buteoninae species. I'm not sure why, but for some reason, all of the groups listed that are higher than twenty are hidden. There is no "show" button, and they can only be seen when editing it. Is there some automatic feature I don't know about, or did I type something in wrong? -- The High Fin Sperm Whale ( Talk • Contribs) 01:36, 29 December 2009 (UTC)
{{
Navbox long}}
that supports up to 38 of them. Also, as the documentation of that template says: “if you really need that many groups, please first consider if the template you are working on is too large to be useful”.
Svick (
talk) 01:48, 29 December 2009 (UTC)
Template:Cultural Properties of Japan has some light-blue (#F7F7F7) background colors in the "Lists" rows. I don't see this color mentioned in the code and don't know how to get rid of it (=make it white like the "Designations" rows). Pleas help. bamse ( talk) 08:37, 29 December 2009 (UTC)
oddstyle
, evenstyle
and evenodd
. In navboxes, even and odd rows have different background. If you want to turn this off, use the parameter evenodd = off
.
Svick (
talk) 12:33, 29 December 2009 (UTC)
Is there any way to remove the bolding in this template? Say I want make a template, but I don't want the {{{title}}} to be bolded. Is there anyway to do this? 174.3.123.13 ( talk) 00:32, 5 January 2010 (UTC)
| titlestyle = font-style: normal;
Since the Wikipedia-Books are now mainstream (although not yet common), I think it's time to talk about how to implement books into navboxes (otherwise, we'll have a mess of non-standardized ways to include books in navboxes a year from now). Let's take for example Book:Nimitz class aircraft carriers and {{ Nimitz class aircraft carrier}}
I would suggest to place the book in parenthesis next to the "topic", i.e something like
By default it would link (assuming the page exists) to [[Book:{{BASEPAGENAME}}]], but could be specified manually (using a |book=
) if a book is located elsewhere. If no book exist at the default location and |book=
left blank, the template would behave as it does now.
I'll make a sandbox version soon. Headbomb { ταλκ κοντριβς – WP Physics} 22:59, 5 January 2010 (UTC)
Here's what it would look like ({{ User:Headbomb/Sandbox11}})
User:Headbomb/Sandbox11 Headbomb { ταλκ κοντριβς – WP Physics} 23:25, 5 January 2010 (UTC)
Well ... we could go for the longer User:Headbomb/Sandbox12
or perhaps italicize the book link User:Headbomb/Sandbox13
or maybe seperate them by a pipe User:Headbomb/Sandbox14
The last one looks rather nice IMO. Headbomb { ταλκ κοντριβς – WP Physics} 23:48, 5 January 2010 (UTC)
How do you get the navboxes to collapse? I copied the code into Wikia, but it does not carry over the collapsing state. -- 209.34.235.6 ( talk) 15:52, 6 January 2010 (UTC)
I was wondering whether h should be added to vde to show the history of a template. Simply south ( talk) 13:13, 9 January 2010 (UTC)
Hello, I have tried to put this template on bs.wiki, but everything does not work. The hide/show button is not visible.
I've added the code "Collapsible tables" bs:mediawiki:common.js What's wrong? please answer on my talk page ;) bye -- DzWiki ( talk) 10:51, 20 January 2010 (UTC)
I am having some aggravating troubles with importing Template:Navbox onto my wiki. I have exported Template:Navbox from Wikipedia, and its been imported into my wiki. When I try to use the template it is a mess. I cannot understand what is going on, if you all have any insight please respond to me on my talk page. Here is a
link to the navbox on my wiki.
Thanks so much ~
Mowgli541 (
talk) 3:40, 24 January 2010 (PST)
{{ editprotected}}
In the little corner, you can click on v, d, and e. You need to change the template so that it includes editing the discussion page, viewing the history, and viewing the discussion history. 174.3.110.108 ( talk) 23:34, 4 March 2010 (UTC)
The overall heading for the navbox isn't centered correctly if it uses more than one line. Specifically, the second line is well to the right of center. Lines three and four look okay. — Codrdan ( talk) 13:15, 4 May 2010 (UTC)
Hi, I've set the color for the background of a navbox to be purple but someone has told me that this makes the show/hide link hard to see as it blends in with the purple too easily. I've seen in some other templates, like in HiddenMultiLine, that it's possible to make the background immediately around the show/hide link to be a different color to make it stand out. Is it possible to do this with navbox? I'd like to keep the overall background as purple if at all possible... Thanks in advance. Ru dy 08:47, 15 May 2010 (UTC)
Is there a way to add more than one image to a template using this design? I can think of a few cases where this could be useful. Alzarian16 ( talk) 15:29, 9 June 2010 (UTC)
{{Navbox ... | image = [[File:Image1.png|none|50px]] [[File:Image2.png|none|50px]] ... ... }}
-- fryed-peach ( talk) 07:57, 10 June 2010 (UTC)
Recently I have been removing junk EL per WP:EL, which happens to be where navboxes are located. I weirdly stumbled upon a few articles over the course of a few weeks that had the navbox commented out. When looking at the article history, whoever made that edit had some comment like "navbox is longer than the article" or something. Then the other day I was using a dial-up connection that was so slow it was 1999 -- so I turned off my java script to speed things up a bit. I came across a shark article, and with no javascript, the navbox was HUGE. I do not know enough about java script to ask an intelligent question about it, so bear with me. So, if java script is disabled, is there some way to disable a navbox or make an error or warning message appear saying java script must be enabled for the navbox to work properly? It might not be appropiate on smaller navboxes, but maybe a parameter can be included on larger navboxes? A bot could add it to a navbox if it is over XX kilobytes? I don't know, probably a dumb question, just thinking out loud. 64.85.221.206 ( talk) 16:07, 17 June 2010 (UTC)
moved to Wikipedia talk:WikiProject Templates#RfC re template naming Svick ( talk) 11:13, 26 June 2010 (UTC)
In Wikipedia you may edit a section by clicking on "edit" to the right of the title. I consequently suggest that the "v • d • e" (view, discussion, edit) links of the Navboxes should be placed to the right. Instead, the more important "[hide]"/"[show]" link should be placed to the left, making it the first thing the reader would see. Mange01 ( talk) 16:06, 21 January 2010 (UTC)
What can I do to make all navboxes within a particular article uncollapsed by default (the same as using "uncollapsed" as the default state, but just affecting one article)? Josh Gorand ( talk) 04:52, 6 June 2010 (UTC)
|list1 = {{IPA consonant chart|shownonIPA={{{shownonIPA}}} }}
. More nuts and bolts: ultimately I use the {{
yesno}} template, which produces a nice default=yes, allows choosing output-text and is very systematic & tolerant on non-existing (say non-defined, or not-used) incoming variables. Probably you'll need somehow default=no construct, which is not just a reversed yes. Maybe start using, in the minor, called template(s), like: | state = {{yesno|{{{defaultstate}}}|yes=collapsed|no=uncollapsed}}
. And sandboxing is very good to crank up your edit counts, you know. Need more on this? -
DePiep (
talk) 08:58, 11 July 2010 (UTC)I know this question has been asked a million times and I've done everything I have found on here, but I still cannot get the Show/Hide to work on my Navboxes. If someone can tell me what I'm missing it would help greatly. I've been trying to fix this for over a year now, and I have no clue what I'm doing wrong! I think MediaWiki should package this and release it as an add-on! :P Anyway, here is an example of the Navbox I have: Click. Please take a look at my codes! Usakoi84 ( talk) 17:09, 21 July 2010 (UTC)
hasClass()
function. You can copy it from
MediaWiki:Common.js. Also, this may not be the only problem, so it may not work work even if this one is fixed.
Svick (
talk) 00:30, 22 July 2010 (UTC)How do I change the background color around the group list (the below area)? I don't want it white, I would like that background color to be yellow. I tried hex code colors with the groupstyle attribute, but it's still white. / Hey Mid ( contributions) 09:30, 28 July 2010 (UTC)
|belowstyle=
. ---—
Gadget850 (Ed)
talk 12:35, 28 July 2010 (UTC)
should images really be used in navbox? it seems really unnecessary and only makes navbox less easier to navigate. Plus hardly anyone uses them, should they jsut be removed? Bread Ninja ( talk) 16:32, 22 March 2010 (UTC)
I'm wondering if we could add the "state=..." parameter to the default navbox, so that it doesn't need to be added manually in each instance? e.g.
|state = {{{state|autocollapse}}}
Would that conflict with anything? I assume it could still be overridden in any given scenario...?
Thanks. -- Quiddity ( talk) 01:56, 18 August 2010 (UTC)
why width:auto; is needed? thanks -- ebraminio t 08:56, 24 August 2010 (UTC)
width: 100%
(as documented at
Template:Navbox#Intricacies). I think it's done that way, so that something like the following doesn't happen.
Svick (
talk) 20:33, 24 August 2010 (UTC)
hmm, but i think it is better that be fixed.(i dont like put width:auto; specially when i use {{
navbox subgroup}}). thanks. --
ebraminio
t 19:34, 26 August 2010 (UTC)
|groupwidth=
parameter. Thoughts? --
WOSlinker (
talk) 20:28, 26 August 2010 (UTC)
|listwidth=
also needed.(for having balance)--
ebraminio
t 07:04, 27 August 2010 (UTC)
|groupwidth=
available so |listwidth=
must available too!). (balance of available paramaters!). thanks again :) --
ebraminio
t 12:27, 27 August 2010 (UTC)
i think it would look better if when you clicked show/hide it did something like what the sidebar does in vector and transitions from one to the other, is this even possible? Mark ( talk) 06:42, 23 September 2010 (UTC)
Could you please post a version number (eg. date) after making changes in source code of the template? Possible format would be a HTML comment at the beginning of the source code. This can help external users (nonWikipedia users of MediaWiki software) to follow advancement of this perfect tool. pozdro Paweł —Preceding unsigned comment added by 89.74.123.106 ( talk) 00:24, 27 October 2010 (UTC)
Can anyone help clean-up the bottom of the {{ Birth control methods}} template? It's pretty wonky looking. Kaldari ( talk) 21:52, 1 November 2010 (UTC)
I think the default background colors should be changed from blue to gray like {{ infobox}}, or maybe a teal color as per the page border colors of the vector skin. Thoughts? SharkD Talk 16:31, 3 December 2010 (UTC)
How come this template uses the raw html tags? ~kotarou3 04:01, 15 January 2011 (UTC)
I am running into an issue with the display of collapsible Navboxes that contain Groups in a local install on MediaWiki 1.16. In "Hide" mode navboxes look fine, however, once "show" is selected and the navbox expands, my header is shrunk to the width of the Group column. Above and below banners still show at 100% width. I have copied over all related Common.css and updated Navbox and Navbar templates. Has anyone encountered this before and can offer advice on a fix? Thank you for the help.-- Jcantroot ( talk) 17:18, 17 February 2011 (UTC)
I am having the same issue with a local install of MW 1.17, with Navbox, Navbar and ParserFunctions installed. I also copied Mediawiki:Common.css and Common.js from en.wikipedia. Only thing missing is HTMLtidy - could this be the reason of the strange behaviour? Thank you for help -- Sal9000 ( talk) 10:18, 21 February 2011 (UTC)
FIXED! Everything is rendered correctly now. I've decided to use the php extension htmltidy - it works just fine. To install it on Ubuntu 10.04 / PHP 5.2.14:
sudo apt-get install -y php5-dev libtidy-dev
svn co http://svn.php.net/repository/php/php- src/branches/PHP_5_2/ext/tidy/
cd tidy/
phpize
./configure
make
sudo make install
cd ../
rm -rf tidy/
Add extension=tidy.so to php.ini; set $wgUseTidy=true in LocalSettings.php; restart apache... Enjoy! -- Sal9000 ( talk) 20:25, 24 February 2011 (UTC)
I think if load content async better Great Han ( talk) 12:05, 23 March 2011 (UTC)
I'm trying to create a Navbox template that will derive its link content from a category, so that the Navbox does not need to be manually edited each time a page is added to or removed from the category. Obviously I'm not the first to have thought of this, but I have failed to find any help or instructions for achieving it. Can anyone point me to simple instructions? Or even offer advice? My failed attempt is at Template:Horse breeds of Italy; I want it to look something like Template:Spanish horses, with the links on a few lines and separated by bullets. Presumably I'm getting the data from the category in the wrong way? Justlettersandnumbers ( talk) 05:57, 28 March 2011 (UTC)
table.navbox td div div.CategoryTreeTag div.CategoryTreeItem { display: inline }
. That said, to see this globally, you would need consensus, and I don't think you would be able to find that.Is there a compelling reason to allow users to add their own styling to a Navbox because Template:Phantom of the Opera and the boxes on Giovanni_Trapattoni are compelling reasing to remove these options Gnevin ( talk) 00:15, 16 April 2011 (UTC)
I ask because HTML tidy conflicts with FCK editor, which we use. So we have to switch it off, which implies you cannot use FCK editor & navboxes together! But when I switch off HTML tidy the navboxes look OK. -- Robinson weijman ( talk) 13:56, 21 January 2011 (UTC)
Sorry if I'm posting this in the wrong place, but I'd like to use the show/hide feature of the navbox in another context...I want to have a description of an item in a table that's hidden by default and can be revealed by clicking "show." Jmajeremy ( talk) 01:04, 25 May 2011 (UTC)
{| class="wikitable sortable" |- ! Header text !! Header text !! Header text |- | {{Navbox|none |state=collapsed |name=cobra |title=The Cobra |navbar=plain |basestyle=background:#ffffff; |abovestyle=text-align:left; |above="hello" }} || Example || Example |- | Example || Example || Example |- | Example || Example || Example |}
Header text | Header text | Header text |
---|---|---|
Example | Example | |
Example | Example | Example |
Example | Example | Example |
{| class="wikitable collapsible" ! colspan="2" | Header |- |Cell 1 |Cell 2 |- |Cell 3 |Cell 4 |}
Header | |
---|---|
Cell 1 | Cell 2 |
Cell 3 | Cell 4 |
As above, I see no reason to keep these options . Wiki doesn't allow projects and users to style articles, we don't let users decide that alternation paragraphs on Manchester United are going to be red and white. Nor do we allow users to define the font type or in vast majority of cases the size. Only in templates is this allowed . WP:COLOUR outlines a number of issues with certain colour combinations, template such as Template:Phantom_of_the_Opera and Sons of Anarchy are unreadable to my eyes, while Giovanni_Trapattoni is a multi coloured mess. I can't think of a reason to keep this option other that WP:ILIKEIT Gnevin ( talk) 16:00, 16 June 2011 (UTC)
Wikipedia_talk:Manual_of_Style_(text_formatting)#Colour I've suggested some guidelines, opinions welcome Gnevin ( talk) 00:27, 22 June 2011 (UTC)
I'm in the process of setting up a 1.16 wiki and am trying to copy some of these templates over. I've installed ParserFunctions as well as the provided common.js and common.css (which I know work due to some other templates). Also, I'm using the modified transwiki version which shouldn't require html tidy.
I cannot for the life of me get Navbox to work right. Viewed on my wiki, it appears as:
{ | class="navbox" cellspacing="0" style=";" |- | style="padding:2px;" | { | cellspacing="0" class="nowraplinks " style="width:100%;background:transparent;color:inherit;;" |}
Any ideas what my problem is? TheGreatTK 17:37, 20 June 2011 (UTC) — Preceding unsigned comment added by TheGreatTK ( talk • contribs)
titlestyle -
a CSS style for the title-bar, Two examples:
|titlestyle = background:#00529b;color:white;border:2px solid #00529b;
|titlestyle = background:gray;
groupstyle -
a CSS style for the group-cells, Two examples:
|groupstyle = background:#febd10;color:#00529b;border:2px solid #febd10;
|titlestyle = background:#eee;
Errectstapler ( talk) 19:11, 17 July 2011 (UTC)
Asked in 2008:
Please respond on my talk page if you know.` Savidan 17:18, 9 August 2008 (UTC) ...
Not sure the answer, but |state = plain does not hide the show/hide link.
Any other suggestions, thank you. Errectstapler ( talk) 22:50, 17 July 2011 (UTC)
Hey,
I am trying to transwiki the Navbox to my wiki. I have copied over the Common.css and the Common.js as well as the Transwiki versions of TL:Navbox and TL:Navbar. I have also installed parser functions. However, as you can see here, the collapse link won't show up. Any suggestions?-- 213.196.218.100 ( talk) 18:23, 12 April 2011 (UTC)
I think the latest update messed up the navboxes containing wrap codes. See this one for example: Template:Dioceses of the_Church of the East.-- Rafy talk 15:10, 21 July 2011 (UTC)
In this CfD nomination, I've suggested changing all of the content-based navbox category names to Category:(X) navigational boxes. We've been heading that direction in the last few weeks, and I'd like to see it done automatically so that the category names aren't quite so wildly different. Please comment over at CfD if you have opinions on this.-- Mike Selinker ( talk) 09:52, 28 October 2011 (UTC)
This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 10 | Archive 11 | Archive 12 | Archive 13 | Archive 14 | Archive 15 | → | Archive 20 |
Can someone changes this so that more than 20 groups? I made the Template:Portuguese infantes and the Template:Portuguese infantas by marriage. But nothing beyond the 20th generation shows up. -- Queen Elizabeth II's Little Spy ( talk) 01:04, 14 November 2009 (UTC)
I have seen the code in Common.css that is as follows:
table.navbox + table.navbox { margin-top:-1px; }
This code makes sure that top/bottom borders are shared between navboxes on pages that feature multiple ones at once. On Wikipedia most pages that feature this are implemented like so:
{{Template1}} {{Template2}}
...with each template call on a different line. However, on my Wiki, if you do that (each on its own line) you get random blank space in between them. After a page is served, if you look at the page source, you see the following in between the navboxes:
<p><br /> </p>
This mysterious insertion of blank space disappears if you call the templates like this:
{{Template1}}{{Template2}}
...I.e. all on the same line.
As far as I can tell, there is no difference between our navboxes and the ones on Wikipedia that would make this occur. This also does not occur if I directly use the "navbox" class on two sequential, hand-coded tables. Now, we're on 1.13.2, not the latest of 1.15.1 or whatever it currently is. Is this some sort of well-known transclusion bug in older versions? Or is this a clear sign that there's something majorly wrong with our navboxes?
--
Cogniac (
talk) 14:42, 23 December 2009 (UTC)
Hello and please help. Over at E-Wrestling Encyclopedia, I have a navbox collapsed groups template located at here, I noticed that the groups listings are shown when they are ment to be hidden. I copied the files accordingly and still have and issue. What is the problem?
Second problem that mainly is a from this article, over at Dog The Bounty Hunter Wiki, I have a problem with the code #ifexist code in the navbox template shown on this article. How do I fix the problem. The templates are located at Template 1 and Template 2.
Thanks for the help, Merry Christmas, and a Happy New Year.
Sundogs Wikia UserPage | Roller Derby Wiki 15:06, 25 December 2009 (UTC)
|
with {{
!}}
.
Svick (
talk) 21:53, 25 December 2009 (UTC)I made a navbox ({{ Buteoninae}}) for all the Buteoninae species. I'm not sure why, but for some reason, all of the groups listed that are higher than twenty are hidden. There is no "show" button, and they can only be seen when editing it. Is there some automatic feature I don't know about, or did I type something in wrong? -- The High Fin Sperm Whale ( Talk • Contribs) 01:36, 29 December 2009 (UTC)
{{
Navbox long}}
that supports up to 38 of them. Also, as the documentation of that template says: “if you really need that many groups, please first consider if the template you are working on is too large to be useful”.
Svick (
talk) 01:48, 29 December 2009 (UTC)
Template:Cultural Properties of Japan has some light-blue (#F7F7F7) background colors in the "Lists" rows. I don't see this color mentioned in the code and don't know how to get rid of it (=make it white like the "Designations" rows). Pleas help. bamse ( talk) 08:37, 29 December 2009 (UTC)
oddstyle
, evenstyle
and evenodd
. In navboxes, even and odd rows have different background. If you want to turn this off, use the parameter evenodd = off
.
Svick (
talk) 12:33, 29 December 2009 (UTC)
Is there any way to remove the bolding in this template? Say I want make a template, but I don't want the {{{title}}} to be bolded. Is there anyway to do this? 174.3.123.13 ( talk) 00:32, 5 January 2010 (UTC)
| titlestyle = font-style: normal;
Since the Wikipedia-Books are now mainstream (although not yet common), I think it's time to talk about how to implement books into navboxes (otherwise, we'll have a mess of non-standardized ways to include books in navboxes a year from now). Let's take for example Book:Nimitz class aircraft carriers and {{ Nimitz class aircraft carrier}}
I would suggest to place the book in parenthesis next to the "topic", i.e something like
By default it would link (assuming the page exists) to [[Book:{{BASEPAGENAME}}]], but could be specified manually (using a |book=
) if a book is located elsewhere. If no book exist at the default location and |book=
left blank, the template would behave as it does now.
I'll make a sandbox version soon. Headbomb { ταλκ κοντριβς – WP Physics} 22:59, 5 January 2010 (UTC)
Here's what it would look like ({{ User:Headbomb/Sandbox11}})
User:Headbomb/Sandbox11 Headbomb { ταλκ κοντριβς – WP Physics} 23:25, 5 January 2010 (UTC)
Well ... we could go for the longer User:Headbomb/Sandbox12
or perhaps italicize the book link User:Headbomb/Sandbox13
or maybe seperate them by a pipe User:Headbomb/Sandbox14
The last one looks rather nice IMO. Headbomb { ταλκ κοντριβς – WP Physics} 23:48, 5 January 2010 (UTC)
How do you get the navboxes to collapse? I copied the code into Wikia, but it does not carry over the collapsing state. -- 209.34.235.6 ( talk) 15:52, 6 January 2010 (UTC)
I was wondering whether h should be added to vde to show the history of a template. Simply south ( talk) 13:13, 9 January 2010 (UTC)
Hello, I have tried to put this template on bs.wiki, but everything does not work. The hide/show button is not visible.
I've added the code "Collapsible tables" bs:mediawiki:common.js What's wrong? please answer on my talk page ;) bye -- DzWiki ( talk) 10:51, 20 January 2010 (UTC)
I am having some aggravating troubles with importing Template:Navbox onto my wiki. I have exported Template:Navbox from Wikipedia, and its been imported into my wiki. When I try to use the template it is a mess. I cannot understand what is going on, if you all have any insight please respond to me on my talk page. Here is a
link to the navbox on my wiki.
Thanks so much ~
Mowgli541 (
talk) 3:40, 24 January 2010 (PST)
{{ editprotected}}
In the little corner, you can click on v, d, and e. You need to change the template so that it includes editing the discussion page, viewing the history, and viewing the discussion history. 174.3.110.108 ( talk) 23:34, 4 March 2010 (UTC)
The overall heading for the navbox isn't centered correctly if it uses more than one line. Specifically, the second line is well to the right of center. Lines three and four look okay. — Codrdan ( talk) 13:15, 4 May 2010 (UTC)
Hi, I've set the color for the background of a navbox to be purple but someone has told me that this makes the show/hide link hard to see as it blends in with the purple too easily. I've seen in some other templates, like in HiddenMultiLine, that it's possible to make the background immediately around the show/hide link to be a different color to make it stand out. Is it possible to do this with navbox? I'd like to keep the overall background as purple if at all possible... Thanks in advance. Ru dy 08:47, 15 May 2010 (UTC)
Is there a way to add more than one image to a template using this design? I can think of a few cases where this could be useful. Alzarian16 ( talk) 15:29, 9 June 2010 (UTC)
{{Navbox ... | image = [[File:Image1.png|none|50px]] [[File:Image2.png|none|50px]] ... ... }}
-- fryed-peach ( talk) 07:57, 10 June 2010 (UTC)
Recently I have been removing junk EL per WP:EL, which happens to be where navboxes are located. I weirdly stumbled upon a few articles over the course of a few weeks that had the navbox commented out. When looking at the article history, whoever made that edit had some comment like "navbox is longer than the article" or something. Then the other day I was using a dial-up connection that was so slow it was 1999 -- so I turned off my java script to speed things up a bit. I came across a shark article, and with no javascript, the navbox was HUGE. I do not know enough about java script to ask an intelligent question about it, so bear with me. So, if java script is disabled, is there some way to disable a navbox or make an error or warning message appear saying java script must be enabled for the navbox to work properly? It might not be appropiate on smaller navboxes, but maybe a parameter can be included on larger navboxes? A bot could add it to a navbox if it is over XX kilobytes? I don't know, probably a dumb question, just thinking out loud. 64.85.221.206 ( talk) 16:07, 17 June 2010 (UTC)
moved to Wikipedia talk:WikiProject Templates#RfC re template naming Svick ( talk) 11:13, 26 June 2010 (UTC)
In Wikipedia you may edit a section by clicking on "edit" to the right of the title. I consequently suggest that the "v • d • e" (view, discussion, edit) links of the Navboxes should be placed to the right. Instead, the more important "[hide]"/"[show]" link should be placed to the left, making it the first thing the reader would see. Mange01 ( talk) 16:06, 21 January 2010 (UTC)
What can I do to make all navboxes within a particular article uncollapsed by default (the same as using "uncollapsed" as the default state, but just affecting one article)? Josh Gorand ( talk) 04:52, 6 June 2010 (UTC)
|list1 = {{IPA consonant chart|shownonIPA={{{shownonIPA}}} }}
. More nuts and bolts: ultimately I use the {{
yesno}} template, which produces a nice default=yes, allows choosing output-text and is very systematic & tolerant on non-existing (say non-defined, or not-used) incoming variables. Probably you'll need somehow default=no construct, which is not just a reversed yes. Maybe start using, in the minor, called template(s), like: | state = {{yesno|{{{defaultstate}}}|yes=collapsed|no=uncollapsed}}
. And sandboxing is very good to crank up your edit counts, you know. Need more on this? -
DePiep (
talk) 08:58, 11 July 2010 (UTC)I know this question has been asked a million times and I've done everything I have found on here, but I still cannot get the Show/Hide to work on my Navboxes. If someone can tell me what I'm missing it would help greatly. I've been trying to fix this for over a year now, and I have no clue what I'm doing wrong! I think MediaWiki should package this and release it as an add-on! :P Anyway, here is an example of the Navbox I have: Click. Please take a look at my codes! Usakoi84 ( talk) 17:09, 21 July 2010 (UTC)
hasClass()
function. You can copy it from
MediaWiki:Common.js. Also, this may not be the only problem, so it may not work work even if this one is fixed.
Svick (
talk) 00:30, 22 July 2010 (UTC)How do I change the background color around the group list (the below area)? I don't want it white, I would like that background color to be yellow. I tried hex code colors with the groupstyle attribute, but it's still white. / Hey Mid ( contributions) 09:30, 28 July 2010 (UTC)
|belowstyle=
. ---—
Gadget850 (Ed)
talk 12:35, 28 July 2010 (UTC)
should images really be used in navbox? it seems really unnecessary and only makes navbox less easier to navigate. Plus hardly anyone uses them, should they jsut be removed? Bread Ninja ( talk) 16:32, 22 March 2010 (UTC)
I'm wondering if we could add the "state=..." parameter to the default navbox, so that it doesn't need to be added manually in each instance? e.g.
|state = {{{state|autocollapse}}}
Would that conflict with anything? I assume it could still be overridden in any given scenario...?
Thanks. -- Quiddity ( talk) 01:56, 18 August 2010 (UTC)
why width:auto; is needed? thanks -- ebraminio t 08:56, 24 August 2010 (UTC)
width: 100%
(as documented at
Template:Navbox#Intricacies). I think it's done that way, so that something like the following doesn't happen.
Svick (
talk) 20:33, 24 August 2010 (UTC)
hmm, but i think it is better that be fixed.(i dont like put width:auto; specially when i use {{
navbox subgroup}}). thanks. --
ebraminio
t 19:34, 26 August 2010 (UTC)
|groupwidth=
parameter. Thoughts? --
WOSlinker (
talk) 20:28, 26 August 2010 (UTC)
|listwidth=
also needed.(for having balance)--
ebraminio
t 07:04, 27 August 2010 (UTC)
|groupwidth=
available so |listwidth=
must available too!). (balance of available paramaters!). thanks again :) --
ebraminio
t 12:27, 27 August 2010 (UTC)
i think it would look better if when you clicked show/hide it did something like what the sidebar does in vector and transitions from one to the other, is this even possible? Mark ( talk) 06:42, 23 September 2010 (UTC)
Could you please post a version number (eg. date) after making changes in source code of the template? Possible format would be a HTML comment at the beginning of the source code. This can help external users (nonWikipedia users of MediaWiki software) to follow advancement of this perfect tool. pozdro Paweł —Preceding unsigned comment added by 89.74.123.106 ( talk) 00:24, 27 October 2010 (UTC)
Can anyone help clean-up the bottom of the {{ Birth control methods}} template? It's pretty wonky looking. Kaldari ( talk) 21:52, 1 November 2010 (UTC)
I think the default background colors should be changed from blue to gray like {{ infobox}}, or maybe a teal color as per the page border colors of the vector skin. Thoughts? SharkD Talk 16:31, 3 December 2010 (UTC)
How come this template uses the raw html tags? ~kotarou3 04:01, 15 January 2011 (UTC)
I am running into an issue with the display of collapsible Navboxes that contain Groups in a local install on MediaWiki 1.16. In "Hide" mode navboxes look fine, however, once "show" is selected and the navbox expands, my header is shrunk to the width of the Group column. Above and below banners still show at 100% width. I have copied over all related Common.css and updated Navbox and Navbar templates. Has anyone encountered this before and can offer advice on a fix? Thank you for the help.-- Jcantroot ( talk) 17:18, 17 February 2011 (UTC)
I am having the same issue with a local install of MW 1.17, with Navbox, Navbar and ParserFunctions installed. I also copied Mediawiki:Common.css and Common.js from en.wikipedia. Only thing missing is HTMLtidy - could this be the reason of the strange behaviour? Thank you for help -- Sal9000 ( talk) 10:18, 21 February 2011 (UTC)
FIXED! Everything is rendered correctly now. I've decided to use the php extension htmltidy - it works just fine. To install it on Ubuntu 10.04 / PHP 5.2.14:
sudo apt-get install -y php5-dev libtidy-dev
svn co http://svn.php.net/repository/php/php- src/branches/PHP_5_2/ext/tidy/
cd tidy/
phpize
./configure
make
sudo make install
cd ../
rm -rf tidy/
Add extension=tidy.so to php.ini; set $wgUseTidy=true in LocalSettings.php; restart apache... Enjoy! -- Sal9000 ( talk) 20:25, 24 February 2011 (UTC)
I think if load content async better Great Han ( talk) 12:05, 23 March 2011 (UTC)
I'm trying to create a Navbox template that will derive its link content from a category, so that the Navbox does not need to be manually edited each time a page is added to or removed from the category. Obviously I'm not the first to have thought of this, but I have failed to find any help or instructions for achieving it. Can anyone point me to simple instructions? Or even offer advice? My failed attempt is at Template:Horse breeds of Italy; I want it to look something like Template:Spanish horses, with the links on a few lines and separated by bullets. Presumably I'm getting the data from the category in the wrong way? Justlettersandnumbers ( talk) 05:57, 28 March 2011 (UTC)
table.navbox td div div.CategoryTreeTag div.CategoryTreeItem { display: inline }
. That said, to see this globally, you would need consensus, and I don't think you would be able to find that.Is there a compelling reason to allow users to add their own styling to a Navbox because Template:Phantom of the Opera and the boxes on Giovanni_Trapattoni are compelling reasing to remove these options Gnevin ( talk) 00:15, 16 April 2011 (UTC)
I ask because HTML tidy conflicts with FCK editor, which we use. So we have to switch it off, which implies you cannot use FCK editor & navboxes together! But when I switch off HTML tidy the navboxes look OK. -- Robinson weijman ( talk) 13:56, 21 January 2011 (UTC)
Sorry if I'm posting this in the wrong place, but I'd like to use the show/hide feature of the navbox in another context...I want to have a description of an item in a table that's hidden by default and can be revealed by clicking "show." Jmajeremy ( talk) 01:04, 25 May 2011 (UTC)
{| class="wikitable sortable" |- ! Header text !! Header text !! Header text |- | {{Navbox|none |state=collapsed |name=cobra |title=The Cobra |navbar=plain |basestyle=background:#ffffff; |abovestyle=text-align:left; |above="hello" }} || Example || Example |- | Example || Example || Example |- | Example || Example || Example |}
Header text | Header text | Header text |
---|---|---|
Example | Example | |
Example | Example | Example |
Example | Example | Example |
{| class="wikitable collapsible" ! colspan="2" | Header |- |Cell 1 |Cell 2 |- |Cell 3 |Cell 4 |}
Header | |
---|---|
Cell 1 | Cell 2 |
Cell 3 | Cell 4 |
As above, I see no reason to keep these options . Wiki doesn't allow projects and users to style articles, we don't let users decide that alternation paragraphs on Manchester United are going to be red and white. Nor do we allow users to define the font type or in vast majority of cases the size. Only in templates is this allowed . WP:COLOUR outlines a number of issues with certain colour combinations, template such as Template:Phantom_of_the_Opera and Sons of Anarchy are unreadable to my eyes, while Giovanni_Trapattoni is a multi coloured mess. I can't think of a reason to keep this option other that WP:ILIKEIT Gnevin ( talk) 16:00, 16 June 2011 (UTC)
Wikipedia_talk:Manual_of_Style_(text_formatting)#Colour I've suggested some guidelines, opinions welcome Gnevin ( talk) 00:27, 22 June 2011 (UTC)
I'm in the process of setting up a 1.16 wiki and am trying to copy some of these templates over. I've installed ParserFunctions as well as the provided common.js and common.css (which I know work due to some other templates). Also, I'm using the modified transwiki version which shouldn't require html tidy.
I cannot for the life of me get Navbox to work right. Viewed on my wiki, it appears as:
{ | class="navbox" cellspacing="0" style=";" |- | style="padding:2px;" | { | cellspacing="0" class="nowraplinks " style="width:100%;background:transparent;color:inherit;;" |}
Any ideas what my problem is? TheGreatTK 17:37, 20 June 2011 (UTC) — Preceding unsigned comment added by TheGreatTK ( talk • contribs)
titlestyle -
a CSS style for the title-bar, Two examples:
|titlestyle = background:#00529b;color:white;border:2px solid #00529b;
|titlestyle = background:gray;
groupstyle -
a CSS style for the group-cells, Two examples:
|groupstyle = background:#febd10;color:#00529b;border:2px solid #febd10;
|titlestyle = background:#eee;
Errectstapler ( talk) 19:11, 17 July 2011 (UTC)
Asked in 2008:
Please respond on my talk page if you know.` Savidan 17:18, 9 August 2008 (UTC) ...
Not sure the answer, but |state = plain does not hide the show/hide link.
Any other suggestions, thank you. Errectstapler ( talk) 22:50, 17 July 2011 (UTC)
Hey,
I am trying to transwiki the Navbox to my wiki. I have copied over the Common.css and the Common.js as well as the Transwiki versions of TL:Navbox and TL:Navbar. I have also installed parser functions. However, as you can see here, the collapse link won't show up. Any suggestions?-- 213.196.218.100 ( talk) 18:23, 12 April 2011 (UTC)
I think the latest update messed up the navboxes containing wrap codes. See this one for example: Template:Dioceses of the_Church of the East.-- Rafy talk 15:10, 21 July 2011 (UTC)
In this CfD nomination, I've suggested changing all of the content-based navbox category names to Category:(X) navigational boxes. We've been heading that direction in the last few weeks, and I'd like to see it done automatically so that the category names aren't quite so wildly different. Please comment over at CfD if you have opinions on this.-- Mike Selinker ( talk) 09:52, 28 October 2011 (UTC)