![]() |
Template:Navboxes is permanently
protected from editing because it is a
heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by
consensus, editors may use {{
edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's
documentation to add usage notes or
categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Does anyone know how to fix the formatting at Template:Navboxes#Succession boxes? Once expanded, the horizontal lines are all coloured white instead of grey.-- Nevé – selbert 21:14, 4 June 2017 (UTC)
#a2a9b1
) in the first example, whereas in the second it has an unexpected colour, almost (but not quite) white - being #fdfdfd
which is an extremely pale grey (although the border might appear to be absent, it is in fact present). It seems that this CSS rule: table.wikitable > tr > th,
table.wikitable > tr > td,
table.wikitable > * > tr > th,
table.wikitable > * > tr > td {
border: 1px solid #a2a9b1;
padding: 0.2em 0.4em;
}
.navbox-spacing-temp.navbox tr + tr > th,
.navbox-spacing-temp.navbox tr + tr > td,
.navbox-spacing-temp.navbox-subgroup tr + tr > th,
.navbox-spacing-temp.navbox-subgroup tr + tr > td {
border-top: 2px solid #fdfdfd;
}
.navbox-spacing-temp
at some point. That'd be a good time to tighten up the selectors: .navbox-inner > tbody > tr + tr > th,
.navbox-inner > tbody > tr + tr > td,
.navbox-subgroup > tbody > tr + tr > th,
.navbox-subgroup > tbody > tr + tr > td {
border-top: 2px solid #fdfdfd;
}
I would like to go to a slightly different default background color: #e8ddff (prev. #e8e8ff). Feel free to remark here in this discussion, or, if strongly against, to revert to the previous background. Paine Ellsworth put'r there 07:47, 19 December 2017 (UTC)
{{
Navboxes}}
to {{
Navboxes/sandbox}}
and previewing. Then there are all the links at the bottom of the green documentation box which only work as expected if the sandbox and testcases are set up in the normal manner. --
Redrose64 🌹 (
talk) 20:51, 21 December 2017 (UTC)
Any idea if there is a way to add the View/Talk/Edit links to the top left like a normal {{ navbox}}? I don't see any option for this in the documentation, but maybe I'm missing something? - Paul T +/ C 03:00, 2 April 2018 (UTC)
Does anyone here know why editors would have put a </span>
tag at the beginning of |list1=
, as in
Victoria's Secret#External links? There are
a few hundred instances of this tag, which are causing a "Stripped tag" (closing tag without an opening tag)
Linter error. –
Jonesey95 (
talk) 03:35, 13 December 2018 (UTC)
This template should come with a health warning because if you have so many Navboxes that you need to subgroup and hide them that you almost certainly have too many Navboxes.
Navboxes seems to get away with being included indiscriminately, held to none of the standards we would require of a single link if it was in in WP:SEEALSO or WP:EL -- 109.79.86.113 ( talk) 12:30, 13 September 2019 (UTC)
Stop deleting Talk page comments. I'm not merely expressing my opinion about Navboxes in general but in this template in particular making the problem worse because it implicitly encourages too many Navboxes, and hidding Navboxes. -- 109.79.169.24 ( talk) 11:29, 15 September 2019 (UTC)
“ | Less is more. Before using this template to group navigation boxes together, consider carefully if a page needs to include more than a few Navboxes that are most relevant to the primary topic of the article. | ” |
Neither the hlist nor the column format are useful for what I am attempting, which is to incorporate a conventional wikitable into a Navbox, but all I get to show is a {, and no mention of someone doing the same anywhere has come up in searches - so, is there a workaround, or is there an alternative that I can convert the basic wikitable into without having all the data in the utterly impossible to follow (and therefore maintain) order mandated by the navbox with columns? Cheers. - NiD.29 ( talk) 06:22, 26 May 2020 (UTC)
|list1={|class=wikitable
|list1={
and |class=wikitable
, so it assumes that list1 is merely a left brace. Wikitables using the normal {|
markup use the pipe character heavily: in the markers to start and end the table, to indicate the start of a caption, new row, or data cell; and to separate a cell's value from its attributes. These must be entered as {{
!}}
throughout, as in |list1={{{!}}class=wikitable
Hi! I have re-ordered the #if: check so that it now suppresses all output if there is no content. It shouldn't increase the code complexity since we already had this check before my change. You can find the list of the ca. 50 pages with empty navboxes in Category:Navboxes template with no content. I was thinking we might add a "preview" message to warn the user that the code is not valid, much like we warn when there are invalid parameters. What does everyone else think? Thanks! Plastikspork ―Œ(talk) 14:53, 31 May 2020 (UTC)
So I couldn't find it in this guide, so I was wondering what's the minimum amount of navigation boxes usually listed to use this template. I always used it after at least 3, but when I used it on a page with 4 it got reverted and the person questioned on where it says that amount is enough. So is there a commonly used minimum? IAmNMFlores ( talk) 21:20, 11 April 2023 (UTC)
I have built a series of navboxes using the metatemplate {{ Constituency Teachtaí Dála navbox}}}. These navboxes display their data as a table rather than as te usual horizontal list, because a list very poor way to describe a multi-seat parliamentary constituency.
This mostly works very well, but there was in a glitch tables with higher numbers of columns, e.g. in {{ Dublin County (Dáil constituency)/TDs}}, where are there a 9 columns. {{ navbox}} was applying the -CSS class "nowraplinks", which caused the 9-column tables to spill out to the right of the article body on smaller screes such as my full-HD laptop. After my request for help at WP:Village pump (technical), @ PrimeHunter kindly devised this hack [1] to remove "nowraplinks" from the output of {{ navbox}}.
However, @ Spleodrach spotted [2] that when {{ Dublin County (Dáil constituency)/TDs}} is used inside the wrapper {{ navboxes}}, e.g, on Liam Cosgrave, the nowrap problem returns and the table again spills out to the right.
Why is {{ navboxes}} doing this, when nowraplinks is already part of {{ navbox}}? And how can this part of {{ navboxes}}'s behavior be disabled? BrownHairedGirl (talk) • ( contribs) 03:48, 16 July 2023 (UTC)
nowraplinks
coming from there. I have made a better fix for your case by adding listclass = wraplinks
to override nowraplinks
instead of removing it.
[3] This also works when nowraplinks
is added a second time via {{
Navboxes}}.
PrimeHunter (
talk) 10:16, 16 July 2023 (UTC)
![]() |
Template:Navboxes is permanently
protected from editing because it is a
heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by
consensus, editors may use {{
edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's
documentation to add usage notes or
categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Does anyone know how to fix the formatting at Template:Navboxes#Succession boxes? Once expanded, the horizontal lines are all coloured white instead of grey.-- Nevé – selbert 21:14, 4 June 2017 (UTC)
#a2a9b1
) in the first example, whereas in the second it has an unexpected colour, almost (but not quite) white - being #fdfdfd
which is an extremely pale grey (although the border might appear to be absent, it is in fact present). It seems that this CSS rule: table.wikitable > tr > th,
table.wikitable > tr > td,
table.wikitable > * > tr > th,
table.wikitable > * > tr > td {
border: 1px solid #a2a9b1;
padding: 0.2em 0.4em;
}
.navbox-spacing-temp.navbox tr + tr > th,
.navbox-spacing-temp.navbox tr + tr > td,
.navbox-spacing-temp.navbox-subgroup tr + tr > th,
.navbox-spacing-temp.navbox-subgroup tr + tr > td {
border-top: 2px solid #fdfdfd;
}
.navbox-spacing-temp
at some point. That'd be a good time to tighten up the selectors: .navbox-inner > tbody > tr + tr > th,
.navbox-inner > tbody > tr + tr > td,
.navbox-subgroup > tbody > tr + tr > th,
.navbox-subgroup > tbody > tr + tr > td {
border-top: 2px solid #fdfdfd;
}
I would like to go to a slightly different default background color: #e8ddff (prev. #e8e8ff). Feel free to remark here in this discussion, or, if strongly against, to revert to the previous background. Paine Ellsworth put'r there 07:47, 19 December 2017 (UTC)
{{
Navboxes}}
to {{
Navboxes/sandbox}}
and previewing. Then there are all the links at the bottom of the green documentation box which only work as expected if the sandbox and testcases are set up in the normal manner. --
Redrose64 🌹 (
talk) 20:51, 21 December 2017 (UTC)
Any idea if there is a way to add the View/Talk/Edit links to the top left like a normal {{ navbox}}? I don't see any option for this in the documentation, but maybe I'm missing something? - Paul T +/ C 03:00, 2 April 2018 (UTC)
Does anyone here know why editors would have put a </span>
tag at the beginning of |list1=
, as in
Victoria's Secret#External links? There are
a few hundred instances of this tag, which are causing a "Stripped tag" (closing tag without an opening tag)
Linter error. –
Jonesey95 (
talk) 03:35, 13 December 2018 (UTC)
This template should come with a health warning because if you have so many Navboxes that you need to subgroup and hide them that you almost certainly have too many Navboxes.
Navboxes seems to get away with being included indiscriminately, held to none of the standards we would require of a single link if it was in in WP:SEEALSO or WP:EL -- 109.79.86.113 ( talk) 12:30, 13 September 2019 (UTC)
Stop deleting Talk page comments. I'm not merely expressing my opinion about Navboxes in general but in this template in particular making the problem worse because it implicitly encourages too many Navboxes, and hidding Navboxes. -- 109.79.169.24 ( talk) 11:29, 15 September 2019 (UTC)
“ | Less is more. Before using this template to group navigation boxes together, consider carefully if a page needs to include more than a few Navboxes that are most relevant to the primary topic of the article. | ” |
Neither the hlist nor the column format are useful for what I am attempting, which is to incorporate a conventional wikitable into a Navbox, but all I get to show is a {, and no mention of someone doing the same anywhere has come up in searches - so, is there a workaround, or is there an alternative that I can convert the basic wikitable into without having all the data in the utterly impossible to follow (and therefore maintain) order mandated by the navbox with columns? Cheers. - NiD.29 ( talk) 06:22, 26 May 2020 (UTC)
|list1={|class=wikitable
|list1={
and |class=wikitable
, so it assumes that list1 is merely a left brace. Wikitables using the normal {|
markup use the pipe character heavily: in the markers to start and end the table, to indicate the start of a caption, new row, or data cell; and to separate a cell's value from its attributes. These must be entered as {{
!}}
throughout, as in |list1={{{!}}class=wikitable
Hi! I have re-ordered the #if: check so that it now suppresses all output if there is no content. It shouldn't increase the code complexity since we already had this check before my change. You can find the list of the ca. 50 pages with empty navboxes in Category:Navboxes template with no content. I was thinking we might add a "preview" message to warn the user that the code is not valid, much like we warn when there are invalid parameters. What does everyone else think? Thanks! Plastikspork ―Œ(talk) 14:53, 31 May 2020 (UTC)
So I couldn't find it in this guide, so I was wondering what's the minimum amount of navigation boxes usually listed to use this template. I always used it after at least 3, but when I used it on a page with 4 it got reverted and the person questioned on where it says that amount is enough. So is there a commonly used minimum? IAmNMFlores ( talk) 21:20, 11 April 2023 (UTC)
I have built a series of navboxes using the metatemplate {{ Constituency Teachtaí Dála navbox}}}. These navboxes display their data as a table rather than as te usual horizontal list, because a list very poor way to describe a multi-seat parliamentary constituency.
This mostly works very well, but there was in a glitch tables with higher numbers of columns, e.g. in {{ Dublin County (Dáil constituency)/TDs}}, where are there a 9 columns. {{ navbox}} was applying the -CSS class "nowraplinks", which caused the 9-column tables to spill out to the right of the article body on smaller screes such as my full-HD laptop. After my request for help at WP:Village pump (technical), @ PrimeHunter kindly devised this hack [1] to remove "nowraplinks" from the output of {{ navbox}}.
However, @ Spleodrach spotted [2] that when {{ Dublin County (Dáil constituency)/TDs}} is used inside the wrapper {{ navboxes}}, e.g, on Liam Cosgrave, the nowrap problem returns and the table again spills out to the right.
Why is {{ navboxes}} doing this, when nowraplinks is already part of {{ navbox}}? And how can this part of {{ navboxes}}'s behavior be disabled? BrownHairedGirl (talk) • ( contribs) 03:48, 16 July 2023 (UTC)
nowraplinks
coming from there. I have made a better fix for your case by adding listclass = wraplinks
to override nowraplinks
instead of removing it.
[3] This also works when nowraplinks
is added a second time via {{
Navboxes}}.
PrimeHunter (
talk) 10:16, 16 July 2023 (UTC)