![]() | 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 |
Headbomb: I just saw your latest edit, and although it cleans up the code, it makes it a lot harder to make the structure dynamic when coding it as a template. For example, as a test I used only 1 portal, 1 book, and 1 sister project. The result was a very spread-out and unattractive table. The approach that I had used first allowed for that kind of flexibility. With each item wrapped up in a small, floating, embedded table, items could be added without having to keep count of columns or worry about spacing. If the lines got too long, they would wrap to a new line.
Because of this severely reduced flexibility, I am reverting the edit. Your code will still be available in the history, should we decide to revive it and find ways to improve upon it. (In fact, I will revisit my code and see if I can simplify a few things based on one of your changes.) If your concern simply involves the spacing between list items or between the icons and their links, we can probably handle that the "padding" property. – VisionHolder « talk » 23:13, 1 February 2011 (UTC)
I like the idea of not having the floating portal boxes. But really even better would be to have every thing left justified and able to be put in a list (don't care one way or the other if we use icons or text). TCO ( talk) 04:55, 1 July 2011 (UTC)
Pretty job !
-- Nnemo ( talk) 19:34, 5 October 2011 (UTC)
Its use in this article is just toooo much. -- Alan Liefting ( talk - contribs) 07:11, 24 August 2012 (UTC)
Would it be possible to incorporate support for the spoken Wikipedia? Currently the spoken template looks like this:
Hawkeye7 ( talk) 19:08, 9 February 2015 (UTC)
I'm not sure how to go about it, but would Wikidata be able to be added to this template? Graham ( talk) 04:52, 7 December 2015 (UTC)
I think I figured out how to add it. Graham ( talk) 23:13, 31 December 2015 (UTC)
By WP:LAYOUTEL I have concluded that this bar should be positioned directly above any navboxes. Added this to the /doc. - DePiep ( talk) 09:11, 21 March 2015 (UTC)
![]() | This
edit request to
Template:Subject bar has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Need some help in implementing Wikipedia:Village pump (technical)#Suppress rendering of Template:Wikipedia books. I have simply add hide option in related templates as see here in cases in the future it is fixed.-- Moxy 🍁 15:46, 1 September 2019 (UTC)
Not sure it's a good idea. Portals belong in "See also", sister projects belong in external links.
All the best:
Rich
Farmbrough (the apparently calm and reasonable) 12:11, 10 May 2020 (UTC).
![]() | This
edit request to
Template:Subject bar has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The wikibook link (Textbooks) below needs to end up with search results, and not at an image page. The redirect to the image needs to be stopped. Click the link below to see what I am talking about.
The redirect needs to be suppressed somehow.
See also: User:Timeshifter/Sandbox108. -- Timeshifter ( talk) 12:31, 10 August 2020 (UTC)
![]() | This
edit request to
Module:Subject bar has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
See: Module:Subject_bar.
Search for "Find out more on" in that module code.
Can a break be added just before "Wikipedia"?
This will help viewing as the screen narrows. And when people use larger text in their zoom bars. On uses of the template that use all or nearly all the project links, it keeps everything down to 2 rows, for more and more narrow screens.
See also: User:Timeshifter/Sandbox108. -- Timeshifter ( talk) 12:32, 10 August 2020 (UTC)
![]() | This
edit request to
Module:Subject bar has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
On my 21 inch monitor there are 3 rows:
I think that could be lessened to 2 rows. By reducing the white space between columns. Especially between "Sister projects" and the project links to the right of it.
A right-side border could be added to the cell containing "Sister projects". This would separate it from the stuff to the right of it. This would allow the white space to the left and right of the text in that cell to be lessened.
style="border-right:solid 1px black; padding-left:3px; padding-right:3px;"
Find out more on Wikipedia's Sister projects |
link | link | link | link | link |
link | link | link | link | link |
-- Timeshifter ( talk) 22:14, 10 August 2020 (UTC)
(Unindent). @ Paine Ellsworth: @ Primefac: Please see: Wikipedia talk:Lua. The section currently titled: "Need some Lua help for Template:Subject bar". See the added border in the testcases page.
The edit request is to copy that module sandbox change by ProcrastinatingReader to Module:Subject bar. -- Timeshifter ( talk) 12:15, 12 August 2020 (UTC)
I find this a good template for organizing references to portals and sister projects. The only thing that I would like changed is the way the two rows are formatted. If the word "Portals" is going to be highlighted, and the first word in the row label, then I feel "Sister projects" should be formatted the same. For example:
It might just be my OCD that makes me think this, but thought I would submit the suggestion for you consideration. OvertAnalyzer ( talk) 16:46, 30 September 2020 (UTC)
![]() | This
edit request to
Module:Subject bar has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The
Wikiversity logo was updated in 2017 to
File:Wikiversity logo 2017.svg, but this module still uses
File:Wikiversity-logo.svg. Please replace image = 'Wikiversity-logo.svg'
with image = 'Wikiversity logo 2017.svg'
. Thanks.
GreenComputer (
talk) 02:25, 14 December 2020 (UTC)
Greetings @ Hawkeye7: and all interested people - Now that "Templates for discussion" here is closed, wondering when change will be done so that "Subject bar" will appear in Mobile view? Regards, JoeHebda ( talk) 16:15, 31 March 2019 (UTC)
:addClass('navbox')
from
Module:Subject bar. Here's an example of this:example
|
---|
|
Could this change have had the unintended side effect of introducing extra gaps? I've noticed the {{ authority control}} template will snap directly to regular navboxes, but this {{ subject bar}} template does not play nicely with either. See screenshot. ― cobaltcigs 01:40, 5 September 2019 (UTC)
This template appears to end with a CRLF, so that subsequent navigation boxes are separated from it. See Basilica of Sts. Peter and Paul, Reichenau#References for an exmaple. Anyone feel like finding it? ~ Tom.Reding ( talk ⋅ dgaf) 01:54, 10 April 2021 (UTC)
Portal:Contents/Portals → Wikipedia:Contents/Portals? — hueman1 ( talk • contributions) 06:56, 29 April 2021 (UTC)
The voy= parameter leads to a search, then to a redirect. I believe that it should link directly to the article specified. Is there a reason it works the way it does? Nelson Ricardo ( talk) 06:14, 12 July 2021 (UTC)
I've redone this module in the Module:Subject bar/sandbox to be more responsive and in particular to work better on mobile. Check out the results on the testcases page — TheDJ ( talk • contribs) 21:02, 28 August 2021 (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 |
Headbomb: I just saw your latest edit, and although it cleans up the code, it makes it a lot harder to make the structure dynamic when coding it as a template. For example, as a test I used only 1 portal, 1 book, and 1 sister project. The result was a very spread-out and unattractive table. The approach that I had used first allowed for that kind of flexibility. With each item wrapped up in a small, floating, embedded table, items could be added without having to keep count of columns or worry about spacing. If the lines got too long, they would wrap to a new line.
Because of this severely reduced flexibility, I am reverting the edit. Your code will still be available in the history, should we decide to revive it and find ways to improve upon it. (In fact, I will revisit my code and see if I can simplify a few things based on one of your changes.) If your concern simply involves the spacing between list items or between the icons and their links, we can probably handle that the "padding" property. – VisionHolder « talk » 23:13, 1 February 2011 (UTC)
I like the idea of not having the floating portal boxes. But really even better would be to have every thing left justified and able to be put in a list (don't care one way or the other if we use icons or text). TCO ( talk) 04:55, 1 July 2011 (UTC)
Pretty job !
-- Nnemo ( talk) 19:34, 5 October 2011 (UTC)
Its use in this article is just toooo much. -- Alan Liefting ( talk - contribs) 07:11, 24 August 2012 (UTC)
Would it be possible to incorporate support for the spoken Wikipedia? Currently the spoken template looks like this:
Hawkeye7 ( talk) 19:08, 9 February 2015 (UTC)
I'm not sure how to go about it, but would Wikidata be able to be added to this template? Graham ( talk) 04:52, 7 December 2015 (UTC)
I think I figured out how to add it. Graham ( talk) 23:13, 31 December 2015 (UTC)
By WP:LAYOUTEL I have concluded that this bar should be positioned directly above any navboxes. Added this to the /doc. - DePiep ( talk) 09:11, 21 March 2015 (UTC)
![]() | This
edit request to
Template:Subject bar has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Need some help in implementing Wikipedia:Village pump (technical)#Suppress rendering of Template:Wikipedia books. I have simply add hide option in related templates as see here in cases in the future it is fixed.-- Moxy 🍁 15:46, 1 September 2019 (UTC)
Not sure it's a good idea. Portals belong in "See also", sister projects belong in external links.
All the best:
Rich
Farmbrough (the apparently calm and reasonable) 12:11, 10 May 2020 (UTC).
![]() | This
edit request to
Template:Subject bar has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The wikibook link (Textbooks) below needs to end up with search results, and not at an image page. The redirect to the image needs to be stopped. Click the link below to see what I am talking about.
The redirect needs to be suppressed somehow.
See also: User:Timeshifter/Sandbox108. -- Timeshifter ( talk) 12:31, 10 August 2020 (UTC)
![]() | This
edit request to
Module:Subject bar has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
See: Module:Subject_bar.
Search for "Find out more on" in that module code.
Can a break be added just before "Wikipedia"?
This will help viewing as the screen narrows. And when people use larger text in their zoom bars. On uses of the template that use all or nearly all the project links, it keeps everything down to 2 rows, for more and more narrow screens.
See also: User:Timeshifter/Sandbox108. -- Timeshifter ( talk) 12:32, 10 August 2020 (UTC)
![]() | This
edit request to
Module:Subject bar has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
On my 21 inch monitor there are 3 rows:
I think that could be lessened to 2 rows. By reducing the white space between columns. Especially between "Sister projects" and the project links to the right of it.
A right-side border could be added to the cell containing "Sister projects". This would separate it from the stuff to the right of it. This would allow the white space to the left and right of the text in that cell to be lessened.
style="border-right:solid 1px black; padding-left:3px; padding-right:3px;"
Find out more on Wikipedia's Sister projects |
link | link | link | link | link |
link | link | link | link | link |
-- Timeshifter ( talk) 22:14, 10 August 2020 (UTC)
(Unindent). @ Paine Ellsworth: @ Primefac: Please see: Wikipedia talk:Lua. The section currently titled: "Need some Lua help for Template:Subject bar". See the added border in the testcases page.
The edit request is to copy that module sandbox change by ProcrastinatingReader to Module:Subject bar. -- Timeshifter ( talk) 12:15, 12 August 2020 (UTC)
I find this a good template for organizing references to portals and sister projects. The only thing that I would like changed is the way the two rows are formatted. If the word "Portals" is going to be highlighted, and the first word in the row label, then I feel "Sister projects" should be formatted the same. For example:
It might just be my OCD that makes me think this, but thought I would submit the suggestion for you consideration. OvertAnalyzer ( talk) 16:46, 30 September 2020 (UTC)
![]() | This
edit request to
Module:Subject bar has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The
Wikiversity logo was updated in 2017 to
File:Wikiversity logo 2017.svg, but this module still uses
File:Wikiversity-logo.svg. Please replace image = 'Wikiversity-logo.svg'
with image = 'Wikiversity logo 2017.svg'
. Thanks.
GreenComputer (
talk) 02:25, 14 December 2020 (UTC)
Greetings @ Hawkeye7: and all interested people - Now that "Templates for discussion" here is closed, wondering when change will be done so that "Subject bar" will appear in Mobile view? Regards, JoeHebda ( talk) 16:15, 31 March 2019 (UTC)
:addClass('navbox')
from
Module:Subject bar. Here's an example of this:example
|
---|
|
Could this change have had the unintended side effect of introducing extra gaps? I've noticed the {{ authority control}} template will snap directly to regular navboxes, but this {{ subject bar}} template does not play nicely with either. See screenshot. ― cobaltcigs 01:40, 5 September 2019 (UTC)
This template appears to end with a CRLF, so that subsequent navigation boxes are separated from it. See Basilica of Sts. Peter and Paul, Reichenau#References for an exmaple. Anyone feel like finding it? ~ Tom.Reding ( talk ⋅ dgaf) 01:54, 10 April 2021 (UTC)
Portal:Contents/Portals → Wikipedia:Contents/Portals? — hueman1 ( talk • contributions) 06:56, 29 April 2021 (UTC)
The voy= parameter leads to a search, then to a redirect. I believe that it should link directly to the article specified. Is there a reason it works the way it does? Nelson Ricardo ( talk) 06:14, 12 July 2021 (UTC)
I've redone this module in the Module:Subject bar/sandbox to be more responsive and in particular to work better on mobile. Check out the results on the testcases page — TheDJ ( talk • contribs) 21:02, 28 August 2021 (UTC)