![]() | 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 1 |
To group together Navigation boxes
{{Navboxes |title= Giovanni Trapattoni Navigation boxes |list1={{Italy Squad 1962 World Cup}} {{Italy national football team managers}} {{Republic of Ireland national football team managers}} {{A.C. Milan managers}} {{F.C. Internazionale Milano managers}} {{Juventus F.C. managers}} {{Bayern Munich managers}} {{Cagliari Calcio managers}} {{ACF Fiorentina managers}} {{Italy Squad 2002 World Cup}} {{S.L. Benfica managers}} {{VfB Stuttgart managers}} {{FC Red Bull Salzburg Squad}} }}
which gives
If succssion boxes are first a <span> is need to have the template display correctly see sample below
{{ editprotected}} See User:Gnevin/sandbox Gnevin ( talk) 23:36, 2 July 2008 (UTC)
{{
editprotected}}
,Can you add state=collapsed see
User:Gnevin/sandbox1 for code. Currently if succession boxes as added with no templates the boxes doesn't collapse
Gnevin (
talk)
22:44, 5 August 2008 (UTC)
Je souhaiterais recuperer ce modèle pour le transferer et l'utiliser sur le wikipedia français ? Est-ce possible ou pouvez vous le faire tout simplement ? David.0390 ( talk) 18:22, 5 September 2008 (UTC) I would wish to recover this model to transfer it and use it on the French wikipedia? Is this possible or can you do it quite simply? David.0390 ( talk) 18:22, 5 September 2008 (UTC)
{{
editprotected}}
Can you add |list = <span>{{{list|}}}</span> to allow a possible merge with {{
Template group}} and also their is no need for the 1. I'll update links to this template using AWB
Gnevin (
talk)
00:55, 29 October 2008 (UTC)
The code should be:
|list1 = <span>{{{list1|{{{list|}}}}}}</span>
to prepare for the redirect. Note this is a change to the existing code, not an addition like the original request. ~ Paul T +/ C 23:46, 6 January 2009 (UTC)
{{
editprotected}}
Thanks. Also, I just saw that there is also a {{{state}}} parameter on {{
template group}}. Can the following change be made for the same reasons as above?
|list1 = {{{list1|{{{list|}}}}}} |state = {{{state|collapsed}}}
I don't see any need for the <span> tag either so I have removed it. Sorry for not including this in the first place. Thanks for the prompt change! ~ Paul T +/ C 16:01, 8 January 2009 (UTC)
I don't see how this template is useful. Sure it makes the page tidier, but at the huge expense of making all the navboxes pointless if they can't be seen. The very point of navboxes is to link related articles in a way that can be easy for casual readers, most of the time a click on a navbox link is spontaneous because the link was visible to the user. Making someone open an all-encompassing navbox, then a list of navbox groups, then open the navbox itself, then finally being able to see what related links are available to them, is defeating the object and makes the very navboxes this template is hiding redundant. We should be looking at the individual templates that are useful and merging or deleting others, instead of removing any sense of usefulness from one of Wikipedia's best features just so the page height is a few pixels smaller. -- Joowwww ( talk) 18:41, 8 January 2009 (UTC)
{{ Editprotected}} Just before the Succession boxes subsection, it states:
Important: Don't include {{ coord}} in the group. This would prevent the coordinates from being displayed.
This isn't entirely true, as can be seen below...
(This one just shows degrees and minutes. Of course, seconds can also be shown if known.)
As long as the "display=" is set to "inline", the coordinates appear in all skins including monobook.
Perhaps it is time to change that note to read that...
The {{ coord}} template can now be included in the group. Just remember to set the "display=" parameter equal to "inline" thusly: {{coord|18|30|N|64|30|W|display=inline}}. The {{ coord}} template can even be nested in a Navbox titled
Geographic locale, which is already found on many country pages.
(or something like that)...
I like this template and find it quite useful, but I've run into a snag on the article Testosterone, where the shell only includes the first of the four navboxes. I've looked at the navboxes involved and don't see any obvious non-conformities, and I think my implementation of the shell is correct. Could someone more knowledgable than I take a look and see what they can see? Thanks. Beyond My Ken ( talk) 21:28, 7 April 2010 (UTC)
In the past week or so, I have been noticing a problem with the template. Once I add the {{ Template group}} and close it after the navigation boxes and save the nav boxes in side of the template will not show. Is there something new to do? Thanks. Nascar 1996 23:00, 27 November 2010 (UTC)
I've recently started seeing this template being used with as few as two or three navboxes on a page, which is really too small for it to have any benefit to outweigh the cost of hiding the individual navboxes. I would like to suggest that the documentation recommend that this template not be used if there are less than five (or so) navboxes on the page. The exact number is of course open to discussion, but I think five is an appropriate number. Antony–22 ( talk⁄ contribs) 03:54, 1 February 2011 (UTC)
Has anyone noticed any change in the operation of this template since the changeover? When I added it to the Headache article, it only seems to enclose the first navbox, at least with FireFix and the MonoBook skin. Beyond My Ken ( talk) 04:47, 27 February 2011 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Hi. The current font-size setting for the templates grouped by this template is too small, i.e. it makes the links listed within the templates more difficult to read and the dots between them almost invisible. Please, therefore, replace the line
|liststyle = padding:0px;font-size:111%;
with
|liststyle = padding:0px;font-size:115%;
i.e. increase the font-size specified from 111% to 115%.
213.246.117.201 (
talk)
14:36, 3 September 2011 (UTC)
For some reason this template is displaying the text "Template: Navboxes" instead of the template itself at, for example, Isreael#External links and New York City#External links. Fixing the problem is beyond my capability. Anyone here who can do the repair? Butwhatdoiknow ( talk) 11:44, 24 June 2012 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
currently, the value for "navbar" is set to "plain", which is perfect in all cases except for when "state=off", in which case it should be set to "off". I added an ifeq in the sandbox to fix this. a demonstration for you:
so my request is to replace the current code with this version of the sandbox. thank you. Frietjes ( talk) 15:47, 11 July 2012 (UTC)
I can't seem to get the shell to work on MDMA. It looks fine in section preview, but doesn't showup properly when I save. You can see my results here and in my next two edits. I tried purging the page, but no joy. Any ideas? Beyond My Ken ( talk) 08:14, 21 August 2012 (UTC)
</span>
); the problem is that wrapping the navboxes in the shell takes the page over the
expansion limit. The usual indication of this is that instead of being expanded, there is a link to the template instead. In these cases, this is present as the link to
Template:Navbox. A check of the page source code shows that the link is there: <a href="/info/en/?search=Template:Navbox" title="Template:Navbox">Template:Navbox</a>
. This is immediately followed by an error message:<!-- WARNING: template omitted, post-expand include size too large -->
Hi. As I understand it, this navbox can expand to show other (collapsed) navboxes within it. Currently, that means that this template's titlebar background is usually the same as those of any Navbox or other Navboxes titlebars around it. This can make it difficult to discern this template's titlebar from the others, i.e. show that the others are grouped below it. So, how about changing this template's default titlebar background to e.g. something lighter, e.g....
...rather than...
...?
CsDix (
talk)
16:52, 2 December 2012 (UTC)
...No thoughts either way, so:
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Here's the amended code. The change is the background:#e8e8ff; in the titlestyle parameter (a colo/ur between the #ddf;s and #eef;s I've seen used by Navbox / Navbox|child) and it can be overridden using {{{titlestyle}}}:
{{Navbox |navbar = {{#ifeq:{{{state|}}}|off |off |plain}} |title = {{{title|Links to related articles}}} |list1 = {{{list1|{{{list|}}}}}} |state = {{{state|collapsed}}} |titlestyle = background:#e8e8ff;{{{titlestyle|}}} |liststyle = padding:0px;font-size:113%; |listpadding = 0px; |tracking = no }}<noinclude> {{documentation}} </noinclude>
CsDix ( talk) 12:30, 14 December 2012 (UTC)
{{Navboxes |title = TITLE |state = autocollapse |list1 = {{Navbox |navbar = plain |title = ASDF |list1 = asdf }} }}
The resulting box will collapse after the page is loaded. Even though state
is set to autocollapse
, the presence of the Navbox in list1
will cause the collapse of both boxes. Given the fact that the intended use for this template is to contain other boxes inside it, there will be virtually no situation where the box will autocollapse, so setting the state
to this value is pointless. Perhaps the template's documentation should be updated to reflect this?
This behaviour is caused by the createCollapseButtons
function in
MediaWiki:Common.js (the second for loop). — {{
carismagic|6 February 2014, 09:15}}
—Preceding
undated comment added
09:15, 6 February 2014 (UTC)
FYI, if you check this version and scroll down to the very bottom, you will notice that managerial career boxes are not appearing. this is due to the added complexity of passing the navboxes through {{ navboxes}}. however, I was able to fix it by switching to {{ collapse top}}/{{ collapse bottom}}. it seems that we can dramatically reduce the complexity by rewriting this template to simply append something like {{ collapse top}}/{{ collapse bottom}} to the top and bottom of the list of navboxes. 198.102.153.1 ( talk) 16:21, 27 May 2014 (UTC)
There is a limit of templates in the | list1 =
parameter? Because I'm editing
Dorival Júnior, and when it reaches 15 templates, it stops showing all of them. With 14, it's working just fine.
MYS
77
✉
17:14, 24 November 2015 (UTC)
|list1=
parameter in the navboxes template on
Vanderlei Luxemburgo includes 16 navboxes with no issue. —
Jkudlick
t
c
s
13:35, 26 November 2015 (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 1 |
To group together Navigation boxes
{{Navboxes |title= Giovanni Trapattoni Navigation boxes |list1={{Italy Squad 1962 World Cup}} {{Italy national football team managers}} {{Republic of Ireland national football team managers}} {{A.C. Milan managers}} {{F.C. Internazionale Milano managers}} {{Juventus F.C. managers}} {{Bayern Munich managers}} {{Cagliari Calcio managers}} {{ACF Fiorentina managers}} {{Italy Squad 2002 World Cup}} {{S.L. Benfica managers}} {{VfB Stuttgart managers}} {{FC Red Bull Salzburg Squad}} }}
which gives
If succssion boxes are first a <span> is need to have the template display correctly see sample below
{{ editprotected}} See User:Gnevin/sandbox Gnevin ( talk) 23:36, 2 July 2008 (UTC)
{{
editprotected}}
,Can you add state=collapsed see
User:Gnevin/sandbox1 for code. Currently if succession boxes as added with no templates the boxes doesn't collapse
Gnevin (
talk)
22:44, 5 August 2008 (UTC)
Je souhaiterais recuperer ce modèle pour le transferer et l'utiliser sur le wikipedia français ? Est-ce possible ou pouvez vous le faire tout simplement ? David.0390 ( talk) 18:22, 5 September 2008 (UTC) I would wish to recover this model to transfer it and use it on the French wikipedia? Is this possible or can you do it quite simply? David.0390 ( talk) 18:22, 5 September 2008 (UTC)
{{
editprotected}}
Can you add |list = <span>{{{list|}}}</span> to allow a possible merge with {{
Template group}} and also their is no need for the 1. I'll update links to this template using AWB
Gnevin (
talk)
00:55, 29 October 2008 (UTC)
The code should be:
|list1 = <span>{{{list1|{{{list|}}}}}}</span>
to prepare for the redirect. Note this is a change to the existing code, not an addition like the original request. ~ Paul T +/ C 23:46, 6 January 2009 (UTC)
{{
editprotected}}
Thanks. Also, I just saw that there is also a {{{state}}} parameter on {{
template group}}. Can the following change be made for the same reasons as above?
|list1 = {{{list1|{{{list|}}}}}} |state = {{{state|collapsed}}}
I don't see any need for the <span> tag either so I have removed it. Sorry for not including this in the first place. Thanks for the prompt change! ~ Paul T +/ C 16:01, 8 January 2009 (UTC)
I don't see how this template is useful. Sure it makes the page tidier, but at the huge expense of making all the navboxes pointless if they can't be seen. The very point of navboxes is to link related articles in a way that can be easy for casual readers, most of the time a click on a navbox link is spontaneous because the link was visible to the user. Making someone open an all-encompassing navbox, then a list of navbox groups, then open the navbox itself, then finally being able to see what related links are available to them, is defeating the object and makes the very navboxes this template is hiding redundant. We should be looking at the individual templates that are useful and merging or deleting others, instead of removing any sense of usefulness from one of Wikipedia's best features just so the page height is a few pixels smaller. -- Joowwww ( talk) 18:41, 8 January 2009 (UTC)
{{ Editprotected}} Just before the Succession boxes subsection, it states:
Important: Don't include {{ coord}} in the group. This would prevent the coordinates from being displayed.
This isn't entirely true, as can be seen below...
(This one just shows degrees and minutes. Of course, seconds can also be shown if known.)
As long as the "display=" is set to "inline", the coordinates appear in all skins including monobook.
Perhaps it is time to change that note to read that...
The {{ coord}} template can now be included in the group. Just remember to set the "display=" parameter equal to "inline" thusly: {{coord|18|30|N|64|30|W|display=inline}}. The {{ coord}} template can even be nested in a Navbox titled
Geographic locale, which is already found on many country pages.
(or something like that)...
I like this template and find it quite useful, but I've run into a snag on the article Testosterone, where the shell only includes the first of the four navboxes. I've looked at the navboxes involved and don't see any obvious non-conformities, and I think my implementation of the shell is correct. Could someone more knowledgable than I take a look and see what they can see? Thanks. Beyond My Ken ( talk) 21:28, 7 April 2010 (UTC)
In the past week or so, I have been noticing a problem with the template. Once I add the {{ Template group}} and close it after the navigation boxes and save the nav boxes in side of the template will not show. Is there something new to do? Thanks. Nascar 1996 23:00, 27 November 2010 (UTC)
I've recently started seeing this template being used with as few as two or three navboxes on a page, which is really too small for it to have any benefit to outweigh the cost of hiding the individual navboxes. I would like to suggest that the documentation recommend that this template not be used if there are less than five (or so) navboxes on the page. The exact number is of course open to discussion, but I think five is an appropriate number. Antony–22 ( talk⁄ contribs) 03:54, 1 February 2011 (UTC)
Has anyone noticed any change in the operation of this template since the changeover? When I added it to the Headache article, it only seems to enclose the first navbox, at least with FireFix and the MonoBook skin. Beyond My Ken ( talk) 04:47, 27 February 2011 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Hi. The current font-size setting for the templates grouped by this template is too small, i.e. it makes the links listed within the templates more difficult to read and the dots between them almost invisible. Please, therefore, replace the line
|liststyle = padding:0px;font-size:111%;
with
|liststyle = padding:0px;font-size:115%;
i.e. increase the font-size specified from 111% to 115%.
213.246.117.201 (
talk)
14:36, 3 September 2011 (UTC)
For some reason this template is displaying the text "Template: Navboxes" instead of the template itself at, for example, Isreael#External links and New York City#External links. Fixing the problem is beyond my capability. Anyone here who can do the repair? Butwhatdoiknow ( talk) 11:44, 24 June 2012 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
currently, the value for "navbar" is set to "plain", which is perfect in all cases except for when "state=off", in which case it should be set to "off". I added an ifeq in the sandbox to fix this. a demonstration for you:
so my request is to replace the current code with this version of the sandbox. thank you. Frietjes ( talk) 15:47, 11 July 2012 (UTC)
I can't seem to get the shell to work on MDMA. It looks fine in section preview, but doesn't showup properly when I save. You can see my results here and in my next two edits. I tried purging the page, but no joy. Any ideas? Beyond My Ken ( talk) 08:14, 21 August 2012 (UTC)
</span>
); the problem is that wrapping the navboxes in the shell takes the page over the
expansion limit. The usual indication of this is that instead of being expanded, there is a link to the template instead. In these cases, this is present as the link to
Template:Navbox. A check of the page source code shows that the link is there: <a href="/info/en/?search=Template:Navbox" title="Template:Navbox">Template:Navbox</a>
. This is immediately followed by an error message:<!-- WARNING: template omitted, post-expand include size too large -->
Hi. As I understand it, this navbox can expand to show other (collapsed) navboxes within it. Currently, that means that this template's titlebar background is usually the same as those of any Navbox or other Navboxes titlebars around it. This can make it difficult to discern this template's titlebar from the others, i.e. show that the others are grouped below it. So, how about changing this template's default titlebar background to e.g. something lighter, e.g....
...rather than...
...?
CsDix (
talk)
16:52, 2 December 2012 (UTC)
...No thoughts either way, so:
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Here's the amended code. The change is the background:#e8e8ff; in the titlestyle parameter (a colo/ur between the #ddf;s and #eef;s I've seen used by Navbox / Navbox|child) and it can be overridden using {{{titlestyle}}}:
{{Navbox |navbar = {{#ifeq:{{{state|}}}|off |off |plain}} |title = {{{title|Links to related articles}}} |list1 = {{{list1|{{{list|}}}}}} |state = {{{state|collapsed}}} |titlestyle = background:#e8e8ff;{{{titlestyle|}}} |liststyle = padding:0px;font-size:113%; |listpadding = 0px; |tracking = no }}<noinclude> {{documentation}} </noinclude>
CsDix ( talk) 12:30, 14 December 2012 (UTC)
{{Navboxes |title = TITLE |state = autocollapse |list1 = {{Navbox |navbar = plain |title = ASDF |list1 = asdf }} }}
The resulting box will collapse after the page is loaded. Even though state
is set to autocollapse
, the presence of the Navbox in list1
will cause the collapse of both boxes. Given the fact that the intended use for this template is to contain other boxes inside it, there will be virtually no situation where the box will autocollapse, so setting the state
to this value is pointless. Perhaps the template's documentation should be updated to reflect this?
This behaviour is caused by the createCollapseButtons
function in
MediaWiki:Common.js (the second for loop). — {{
carismagic|6 February 2014, 09:15}}
—Preceding
undated comment added
09:15, 6 February 2014 (UTC)
FYI, if you check this version and scroll down to the very bottom, you will notice that managerial career boxes are not appearing. this is due to the added complexity of passing the navboxes through {{ navboxes}}. however, I was able to fix it by switching to {{ collapse top}}/{{ collapse bottom}}. it seems that we can dramatically reduce the complexity by rewriting this template to simply append something like {{ collapse top}}/{{ collapse bottom}} to the top and bottom of the list of navboxes. 198.102.153.1 ( talk) 16:21, 27 May 2014 (UTC)
There is a limit of templates in the | list1 =
parameter? Because I'm editing
Dorival Júnior, and when it reaches 15 templates, it stops showing all of them. With 14, it's working just fine.
MYS
77
✉
17:14, 24 November 2015 (UTC)
|list1=
parameter in the navboxes template on
Vanderlei Luxemburgo includes 16 navboxes with no issue. —
Jkudlick
t
c
s
13:35, 26 November 2015 (UTC)