Module talk:Sidebar: Difference between revisions

Content deleted Content added
m Archiving 1 discussion(s) to Module talk:Sidebar/Archive 6) (bot
Line 15:
{{archives|search=yes|bot=MiszaBot II|age=90}}
{{Lua sidebar}}
 
== Sidebar missing in mobile view ==
 
<nowiki>{{LGBTQ sidebar}}</nowiki>: Refer [[GaLTaS]], where the sidebar displays only in Desktop view on iPad and iPhone. [[User:Chrisdevelop|Chrisdevelop]] ([[User talk:Chrisdevelop|talk]]) 23:48, 29 November 2023 (UTC)
 
:[[Template:Sidebar]] says: "This template does not display in the mobile view of Wikipedia; it is desktop only. Read the documentation for an explanation."
:and <nowiki>"Templates using the classes class=navbox ({{navbox}}) or class=nomobile ({{sidebar}}) are not displayed on the mobile web site of English Wikipedia. Mobile page views account for approximately 65% of all page views (90-day average as of May 2023)."</nowiki> [[User:Johnjbarton|Johnjbarton]] ([[User talk:Johnjbarton|talk]]) 01:40, 30 November 2023 (UTC)
::Thanks for your speedy reply and explanation. I copied the Sidebar from another similar site and didn’t see any documentation there. Where can I read this documentation? Given that most viewers are using mobile view, and therefore won’t see the Template unless they switch to Desktop view, is there either a way to edit this to display in all situations, or is there another Sidebar template that already will? [[User:Chrisdevelop|Chrisdevelop]] ([[User talk:Chrisdevelop|talk]]) 01:55, 30 November 2023 (UTC)
:::IDK, I came here to try to figure out what the deal is. AFAICT, the sidebar is not implemented correctly on mobile plus some think that dropping the sidebar content altogether is good because it reduces page weight and thus load time. I suppose these folks grew up in the 2000s. I could not find any more info. I tried asking on [[Wikipedia:Village_pump_(technical)#Template_sidebar_design_alternative?]] but got crickets. [[User:Johnjbarton|Johnjbarton]] ([[User talk:Johnjbarton|talk]]) 02:40, 30 November 2023 (UTC)
::::Thanks for all your trouble. I’ll keep an eye on the Village Pump and check back here every so often. I like this particular LGBT project sidebar because if saves a lot of time to not have to enter its directory manually. Is there a place where the Sidebar itself can be edited? That was how I ended up here in the first place. [[User:Chrisdevelop|Chrisdevelop]] ([[User talk:Chrisdevelop|talk]]) 02:48, 30 November 2023 (UTC)
:::::By "the Sidebar" do you mean "The page [[GaLTaS]] has a sidebar and I want to change its content?
:::::If yes edit the intro and see
:::::<nowiki>{{LGBTQ sidebar}}</nowiki>
:::::This template contains the config for the sidebar. Navigate to the config file by putting "Template:" in Wikipedia search bar followed by the name of the template: [[Template:LGBT_sidebar]]. Edit that page to change the template.
:::::'''BEWARE''' any change you make affects '''all''' pages using that sidebar. You should discuss any changes on the [[Template_talk:LGBT]] page, or better ask someone else to do the edits the first time. [[User:Johnjbarton|Johnjbarton]] ([[User talk:Johnjbarton|talk]]) 03:03, 30 November 2023 (UTC)
::::::Brilliant, thank you - exactly what I needed to know; and yes, I will take your advice re editing this. [[User:Chrisdevelop|Chrisdevelop]] ([[User talk:Chrisdevelop|talk]]) 03:28, 30 November 2023 (UTC)
 
== Hide image ==