Module talk:Sidebar

__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-Jon_(WMF)-20240802182200","type":"heading","level":0,"id":"h-Urgent:_Please_fix_this_template_for_printed_content_Module:Sidebar\/styles.css.-20240802182200","replies":["c-Jon_(WMF)-20240802182200-Urgent:_Please_fix_this_template_for_printed_content_Module:Sidebar\/styles.css."],"text":"Urgent: Please fix this template for printed content Module:Sidebar\/styles.css.","linkableTitle":"Urgent: Please fix this template for printed content Module:Sidebar\/styles.css."}-->

Urgent: Please fix this template for printed content Module:Sidebar/styles.css.

__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-Jon_(WMF)-20240802182200","type":"heading","level":0,"id":"h-Urgent:_Please_fix_this_template_for_printed_content_Module:Sidebar\/styles.css.-20240802182200","replies":["c-Jon_(WMF)-20240802182200-Urgent:_Please_fix_this_template_for_printed_content_Module:Sidebar\/styles.css."]}}-->
__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-Jon_(WMF)-20240802182200","type":"heading","level":0,"id":"h-Urgent:_Please_fix_this_template_for_printed_content_Module:Sidebar\/styles.css.-20240802182200","replies":["c-Jon_(WMF)-20240802182200-Urgent:_Please_fix_this_template_for_printed_content_Module:Sidebar\/styles.css."],"text":"Urgent: Please fix this template for printed content Module:Sidebar\/styles.css.","linkableTitle":"Urgent: Please fix this template for printed content Module:Sidebar\/styles.css."}-->

Firstly, apologies for writing in English if this is not your first language (this is an automated message).

This template has been detected as one of 436 pages using styles that break the page when printed when the user is using dark mode. The fix is very straightforward - all your styles relating to dark mode must be scoped to. Since there is a high risk of this templates being copied to other wikis it is important this notice is acted on ASAP.

To fix this:

  1. Update `@media (prefers-color-scheme: dark` to `@media screen and (prefers-color-scheme: dark`
  2. Wrap any styles relating to `html.skin-theme-clientpref-night` in `@media screen`

If this message has not been acted on in 7 days, this will be fixed by an automated script. Thank you for your help fixing this important issue.

For any questions feel free to ask them at phab:T369874.

Jon (WMF) (talk) 18:22, 2 August 2024 (UTC) on behalf of the web team.[reply]__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20240802182200","author":"Jon (WMF)","type":"comment","level":1,"id":"c-Jon_(WMF)-20240802182200-Urgent:_Please_fix_this_template_for_printed_content_Module:Sidebar\/styles.css.","replies":[]}}-->

__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-MKFI-20241015131800","type":"heading","level":0,"id":"h-Missing_CSS_variable?-20241015131800","replies":["c-MKFI-20241015131800-Missing_CSS_variable?"],"text":"Missing CSS variable?","linkableTitle":"Missing CSS variable?"}-->

Missing CSS variable?

__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-MKFI-20241015131800","type":"heading","level":0,"id":"h-Missing_CSS_variable?-20241015131800","replies":["c-MKFI-20241015131800-Missing_CSS_variable?"]}}-->
__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-MKFI-20241015131800","type":"heading","level":0,"id":"h-Missing_CSS_variable?-20241015131800","replies":["c-MKFI-20241015131800-Missing_CSS_variable?"],"text":"Missing CSS variable?","linkableTitle":"Missing CSS variable?"}-->

On row 385 there is the line :cssText('color: var(--color-base)'), but the --color-base CSS variable doesn't seem to be defined anywhere? MKFI (talk) 13:18, 15 October 2024 (UTC)[reply]__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20241015131800","author":"MKFI","type":"comment","level":1,"id":"c-MKFI-20241015131800-Missing_CSS_variable?","replies":["c-MKFI-20241017112000-MKFI-20241015131800"]}}-->

@Jdlrobson: I see that you added this. Where is the CSS variable defined? And why is this an inline style declaration instead of a class? Now dependent templates have problems changing text colors without using !important CSS declarations. MKFI (talk) 11:20, 17 October 2024 (UTC)[reply]__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20241017112000","author":"MKFI","type":"comment","level":2,"id":"c-MKFI-20241017112000-MKFI-20241015131800","replies":["c-Jdlrobson-20241018180000-MKFI-20241017112000"]}}-->
The variable is defined in the mediawiki design system. It is active on the default skins of Vector 2022 and Minerva and is essential to make this template work in dark mode. It is not defined on opt in skins such as Monobook and Vector and there it will be ignored (we can add a fallback if that is useful and less confusing).
this link should have lots of helpful context. Let me know if you have any follow up questions. 🐸 Jdlrobson (talk) 18:00, 18 October 2024 (UTC)[reply]__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20241018180000","author":"Jdlrobson","type":"comment","level":3,"id":"c-Jdlrobson-20241018180000-MKFI-20241017112000","replies":["c-MKFI-20241019081000-Jdlrobson-20241018180000"]}}-->
@Jdlrobson: this module is used a base for multiple other templates. Your change overrides derived template style declarations and caused for example Template:Zoroastrianism sidebar to display black-on-red text which made it difficult to read instead of white-on-red as it should. This module has a stylesheet. Does the color variable really need to be an inline style declaration instead of a line in .sidebar-list-title class? MKFI (talk) 08:10, 19 October 2024 (UTC)[reply]__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20241019081000","author":"MKFI","type":"comment","level":4,"id":"c-MKFI-20241019081000-Jdlrobson-20241018180000","replies":["c-Jdlrobson-20241019162100-MKFI-20241019081000"]}}-->
Presumably it could be added via a class. When dark mode was rolled out, for templates I was less familiar with I usually went with the most straightforward solution. I see this one uses Module:Sidebar/styles.css ?
You should be able to see the exact issue it fixes (unreadable black text on a black background) by visiting https://en.wikipedia.org/wiki/Template:Sidebar/testcases?useskin=vector-2022&vectornightmode=1
and undoing that inline style using this code:
$('.sidebar-list-title[style]').each((a,i)=>i.setAttribute('style',i.getAttribute('style').replace('color: var(--color-base)', '')))
So you could likely move it to CSS, test if the issue is resolved and then undo my change. 🐸 Jdlrobson (talk) 16:21, 19 October 2024 (UTC)[reply]__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20241019162100","author":"Jdlrobson","type":"comment","level":5,"id":"c-Jdlrobson-20241019162100-MKFI-20241019081000","replies":["c-MKFI-20241020083300-Jdlrobson-20241019162100"]}}-->
@Jdlrobson: I can't do the change myself - the module and stylesheet are both template-protected. MKFI (talk) 08:33, 20 October 2024 (UTC)[reply]__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20241020083300","author":"MKFI","type":"comment","level":6,"id":"c-MKFI-20241020083300-Jdlrobson-20241019162100","replies":[]}}-->
__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-172.97.141.219-20241130103900","type":"heading","level":0,"id":"h-Templatestyles_parameter-20241130103900","replies":["c-172.97.141.219-20241130103900-Templatestyles_parameter"],"text":"Templatestyles parameter","linkableTitle":"Templatestyles parameter"}-->

Templatestyles parameter

__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-172.97.141.219-20241130103900","type":"heading","level":0,"id":"h-Templatestyles_parameter-20241130103900","replies":["c-172.97.141.219-20241130103900-Templatestyles_parameter"]}}-->
__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-172.97.141.219-20241130103900","type":"heading","level":0,"id":"h-Templatestyles_parameter-20241130103900","replies":["c-172.97.141.219-20241130103900-Templatestyles_parameter"],"text":"Templatestyles parameter","linkableTitle":"Templatestyles parameter"}-->

@Izno: Are there still benefits of the caller templates using the numerous parameters |templatestyles=, |child templatestyles=, and |grandchild templatestyles= over a simple <templatestyles> in each? 172.97.141.219 (talk) 10:39, 30 November 2024 (UTC)[reply]__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20241130103900","author":"172.97.141.219","type":"comment","level":1,"id":"c-172.97.141.219-20241130103900-Templatestyles_parameter","replies":["c-Izno-20241201060300-172.97.141.219-20241130103900"]}}-->

Yes. Using the dedicated parameter allows you to use the cascading part of CSS, namely that the CSS in the child will apply after, not before the core TemplateStyles. This avoids the case where the child's styles are potentially overridden by styles of the same specificity in the core styles. You should generally always use these parameters. Izno (talk) 06:03, 1 December 2024 (UTC)[reply]__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20241201060300","author":"Izno","type":"comment","level":2,"id":"c-Izno-20241201060300-172.97.141.219-20241130103900","replies":[]}}-->
__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-\u672c\u65e5\u6674\u5929-20241224154200","type":"heading","level":0,"id":"h-Treating_Module:Navbar\/styles.css-20241224154200","replies":["c-\u672c\u65e5\u6674\u5929-20241224154200-Treating_Module:Navbar\/styles.css"],"text":"Treating Module:Navbar\/styles.css","linkableTitle":"Treating Module:Navbar\/styles.css"}-->

Treating Module:Navbar/styles.css

__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-\u672c\u65e5\u6674\u5929-20241224154200","type":"heading","level":0,"id":"h-Treating_Module:Navbar\/styles.css-20241224154200","replies":["c-\u672c\u65e5\u6674\u5929-20241224154200-Treating_Module:Navbar\/styles.css"]}}-->
__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-\u672c\u65e5\u6674\u5929-20241224154200","type":"heading","level":0,"id":"h-Treating_Module:Navbar\/styles.css-20241224154200","replies":["c-\u672c\u65e5\u6674\u5929-20241224154200-Treating_Module:Navbar\/styles.css"],"text":"Treating Module:Navbar\/styles.css","linkableTitle":"Treating Module:Navbar\/styles.css"}-->

@Izno: Is it right not to treat Module:Navbar/styles.css in add_list_styles() whether sidebar has a navbar or not? If an article page transcludes a sidebar (with a navbar) and another navbar in this order, the styles doesn't seem to be applied on mobile view. 本日晴天 (talk) 15:42, 24 December 2024 (UTC)[reply]__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20241224154200","author":"\u672c\u65e5\u6674\u5929","type":"comment","level":1,"id":"c-\u672c\u65e5\u6674\u5929-20241224154200-Treating_Module:Navbar\/styles.css","replies":["c-Izno-20241224173200-\u672c\u65e5\u6674\u5929-20241224154200"]}}-->

add_list_styles is just for the two kinds of lists and is about the classes that have been added since eternity in the several templates (infobox also). Both navbox and sidebar have instead move_hiding_templatestyles which will take care of embedded TemplateStyles tags. Izno (talk) 17:32, 24 December 2024 (UTC)[reply]__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20241224173200","author":"Izno","type":"comment","level":2,"id":"c-Izno-20241224173200-\u672c\u65e5\u6674\u5929-20241224154200","replies":["c-\u672c\u65e5\u6674\u5929-20241227081900-Izno-20241224173200"]}}-->
Okay, but on some pages (ex. Finder_(software)) on mobile view, navbars are actually displayed in unintended styles because Module:Navbar/styles.css isn't used. How about modifying this module like this and output an additional templatestyles tag if navbar is used? 本日晴天 (talk) 08:19, 27 December 2024 (UTC)[reply]__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20241227081900","author":"\u672c\u65e5\u6674\u5929","type":"comment","level":3,"id":"c-\u672c\u65e5\u6674\u5929-20241227081900-Izno-20241224173200","replies":[]}}-->

Read other articles:

Döhlener Becken (Deutschland) Das Döhlener Becken ist eine Landschaftseinheit und eine regionalgeologische Einheit in Sachsen südwestlich von Dresden. Dort wurde eine bedeutende sächsische Kohlelagerstätte ausgebeutet. Inhaltsverzeichnis 1 Geographie 2 Geologie 3 Geschichte 4 Literatur 5 Weblinks Geographie Blick auf Freital im Döhlener Becken, rechts der Windberg Das Döhlener Becken ist kein morphologisches Becken, sondern es wird vor allem durch seine Geologie definiert. Es erstreckt...

 

Coordenadas: 46° 43' N 9° 25' E Tartar Comuna da Suíça Brasão de armas Administração Cantão Grisões Distrito Hinterrhein Localização(ões) Valleina Comunaslimítrofes Cazis, Masein, Portein, Präz, Sarn Código postal 7422 Prefixo telefónico 081 Língua oficial alemão Demografia População 191 hab. Densidade 121 hab./km² Geografia Coordenadas 46° 43' N 9° 25' E Altitude 995 m Área 1,58 km² Website oficial www.tartar.ch Localização ver Tartar foi uma comuna da Suíça, no ...

 

Reichsautobahn Berlín - Múnich, actual A9, al sureste de Dessau, fotografiada en 1939. Los robles se mantuvieron intencionadamente en la mediana. Placa automovilística Reichsautobahn El sistema Reichsautobahn fue el comienzo de las autopistas alemanas bajo el Tercer Reich. Durante la República de Weimar ya se habían planificado autopistas de acceso controlado, y se habían construido dos, pero aún no se habían iniciado las obras de las autopistas de largo recorrido. Tras oponerse previ...

This article uses bare URLs, which are uninformative and vulnerable to link rot. Please consider converting them to full citations to ensure the article remains verifiable and maintains a consistent citation style. Several templates and tools are available to assist in formatting, such as reFill (documentation) and Citation bot (documentation). (August 2022) (Learn how and when to remove this template message) This article is part of a series onAdministrative divisionsof Taiwan Centrally-gove...

 

Олександр Вайсберг-Цибульський 1946 1946Народився 8 жовтня 1901(1901-10-08)Краків, Австро-Угорська імперіяПомер 4 квітня 1964(1964-04-04) (62 роки)Париж, ФранціяМісце проживання Австро-Угорська імперія, Австрія, СРСР, Польща, Велика БританіяКраїна  Австрія Республіка ПольщаДіяльність...

 

Ця стаття є частиною Проєкту:Населені пункти України (рівень: невідомий) Портал «Україна»Мета проєкту — покращувати усі статті, присвячені населеним пунктам та адміністративно-територіальним одиницям України. Ви можете покращити цю статтю, відредагувавши її, а на стор...

Neue Presse Beschreibung deutsche Tageszeitung Verlag Druck und Verlagsanstalt Neue Presse GmbH Erstausgabe 25. Januar 1946 Erscheinungsweise Montag bis Samstag Verkaufte Auflage 15.484 Exemplare (IVW 3/2023, Mo–Sa) Chefredakteur Marcel Auermann Weblink np-coburg.de Artikelarchiv Archiv (Suche) ZDB 1270148-8 Die Neue Presse ist eine täglich (außer sonntags) erscheinende Zeitung im Raum Coburg. Sie erschien erstmals am 25. Januar 1946 in Coburg, Lichtenfels, Kronach und Ebern, nachdem...

 

Exército do Chile Exército do ChileInsígnia do Exército Chileno País  Chile Força Forças Armadas Chilenas Efetivo 45.000 Patrono Nossa Senhora do Carmo Lema Siempre vencedor,jamás vencidoSempre vencedor,jamais vencido Hino Himno de Yungay Batalhas Ao lado Website Ejército de Chile O Exército do Chile é o órgão responsável pela defesa militar do Chile, o qual contribui mantendo a integridade territorial e a soberania nacional. Seu lema é Sempre vencedor, jamais vencido e se...

 

Nature reserve in Santa Barbara County, California Sedgwick ReserveShow map of CaliforniaShow map of the United StatesLocationSan Rafael Mountains, Santa Barbara County.Nearest citySanta YnezCoordinates34°42′N 120°1′W / 34.700°N 120.017°W / 34.700; -120.017[1]Area5,896 acres (9.213 sq mi)Governing bodyUniversity of California, Santa Barbara[2] Sedgwick Reserve is a 5,896-acre (2,386 ha) nature reserve in Santa Barbara Co...

Este conteúdo foi avaliado automaticamente com qualidade 1 e faz parte do âmbito de um WikiProjeto: Matemática.Para o WikiProjeto:Matemática este conteúdo possui importância ainda não avaliada. Se você se interessa pelo assunto, visite o projeto para conhecer as tarefas e discussões em curso.Se não tiver suas questões respondidas nesta página de discussão procure o(s) wikiprojeto(s) acima.

 

This article may rely excessively on sources too closely associated with the subject, potentially preventing the article from being verifiable and neutral. Please help improve it by replacing them with more appropriate citations to reliable, independent, third-party sources. (September 2015) (Learn how and when to remove this template message) The Warsaw Declaration Toward a Community of Democracies is the founding document of the Community of Democracies. It was signed on June 27, 2000 at th...

 

Surgical procedure in ophthalmology Intraocular lens scaffoldOther namesIntraocular lens scaffoldSpecialtyophthalmology[edit on Wikidata] This article may require copy editing for clarity: it is difficult to understand how the procedure is done from the explanation given, which may not be accurate, or may be missing information. You can assist by editing it. (December 2023) (Learn how and when to remove this template message) Intraocular lens scaffold[1] or IOL scaffold technique ...

Devin DeVasquez Información personalNacimiento 25 de junio de 1963 (60 años)Baton Rouge (Luisiana, Estados Unidos) Nacionalidad EstadounidenseLengua materna Inglés Características físicasAltura 1,7 m Peso 50 kg Ojos Marrón castaño Cabello Castaño FamiliaCónyuge Ronn Moss (desde 2009) Información profesionalOcupación Actriz, playmate y modelo Sitio web www.devindevasquez.com Distinciones Playmate del mes (1985) [editar datos en Wikidata] Devin Renee DeV...

 

الجهاز العصبي الجسدي 1. (الدماغ) التلفيق أمام المركزي: منشأ الإشارات العصبية التي تبدأ عملية الحركة. 2. (مقطع عرضي في الحبل الشوكي) المجرى القشري النخاعي: الوسيط بين الرسائل القادمة من الدماغ والعضلات الهيكلية. 3. المحور: الخلية الرسولة التي تحمل الأمر بانقباض العضلات. 4. الوصل...

 

For the iOS games, see Bomberman Touch. 2006 video gameBomberman Land Touch!European cover artDeveloper(s)Hudson SoftPublisher(s)JP: Hudson SoftNA/AU: Atlus USAEU: Rising Star GamesSK: NintendoSeriesBombermanPlatform(s)Nintendo DSReleaseJP: July 20, 2006NA: November 8, 2006CAN: November 15, 2006AU: February 22, 2007EU: March 23, 2007Genre(s)Puzzle/PartyMode(s)Single-player, multiplayer Bomberman Land Touch![a] is a puzzle video game developed by Hudson Soft for the Nintendo DS. The ga...

Bunga sakura yang diterangi, cahaya dari jendela toko, dan lentera Jepang di malam hari di Ise, Mie, Jepang Pencahayaan atau iluminasi adalah penggunaan cahaya yang disengaja untuk mencapai efek praktis atau estetika. Pencahayaan mencakup penggunaan kedua sumber cahaya buatan seperti lampu, serta penerangan alami dengan menangkap cahaya siang hari. Pencahayaan siang hari (menggunakan jendela, lampu langit-langit, atau rak cahaya) kadang-kadang digunakan sebagai sumber cahaya utama pada siang ...

 

Island in Dadra and Nagar Haveli and Daman and Diu, IndiaDiu IslandIslandDiu IslandCoordinates: 20°42′53.9″N 70°59′26.1″E / 20.714972°N 70.990583°E / 20.714972; 70.990583Country IndiaUnion Territory Dadra and Nagar Haveli and Daman and DiuDistrictDiuGovernment • TypePanchayatArea • Total38.8 km2 (15.0 sq mi)Elevation8 m (26 ft)Population (2015) • Total44,215 • Density1,100/km...

 

Um Anjo Veio Me FalarSingle by Rougefrom the album C'est La Vie ReleasedJuly 8, 2003 (2003-07-08)Recorded2003GenrePopLength3:45Label Columbia Sony Songwriter(s)Eliot KennedySuzanne ShawTim WoodcockAline WirleyFantine ThóLi MartinsKarin HilsLuciana AndradeRick BonadioProducer(s)Rick BonadioRouge singles chronology Brilha La Luna (2003) Um Anjo Veio Me Falar (2003) Vem Cair na Zueira (2003) Um Anjo Veio Me Falar (lit.: An angel came to tell me) is a song by the Brazilian girl gr...

Este artículo o sección necesita referencias que aparezcan en una publicación acreditada.Este aviso fue puesto el 13 de febrero de 2016.      Países con asambleas unicamerales      Países con asambleas bicamerales      Países con asambleas unicamerales y un cuerpo consultivo      Países sin ningún tipo de asamblea Terminologías para la legislatura de cada país El poder legislativo o l...

 

Coat of arms Coat of arms of the Basque CountryArmigerBasque CountryAdopted1936BlazonQuarterly: Álava, Biscay, Gipuzkoa, and GulesSupportersA wreath of oak leaves Vert The current Basque coat of arms (Spanish: Escudo del País Vasco, Basque: Euskal autonomi erkidegoaren armarria[1]) is the official coat of arms of the Basque Country, Autonomous community of Spain. It consists of a party per cross representing the three historical territories of Álava, Gipuzkoa and Biscay, as well as...

 

Strategi Solo vs Squad di Free Fire: Cara Menang Mudah!