Jump to content

Wikipedia talk:Templates for discussion

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

XFD backlog
V Sep Oct Nov Dec Total
CfD 0 0 1 0 1
TfD 0 0 4 0 4
MfD 0 0 5 0 5
FfD 0 0 14 1 15
RfD 0 0 54 3 57
AfD 0 0 0 0 0

Inline styles?

[edit]
Extended content
Right now it's
<div class="boilerplate afd vfd xfd-closed archived mw-archivedtalk" style="background-color: var(--background-color-progressive-subtle, #F3F9FF); color: var(--color-base, #000); margin: 2em 0 0 0; padding: 0 10px 0 10px; border: 1px solid var(--border-color-subtle, #AAAAAA);">

This seems to be some kind of dark mode thing? I don't really understand though -- shouldn't we be trying to use stylesheets for stuff and not inline styles? Moreover, we already have styles (e.g. afd, vfd, xfd-closed), I assume these are styled somewhere already -- why do we have inline styles in the afd-top template at all? It seems like a gigantic headache. jp×g🗯️ 05:10, 13 August 2024 (UTC)[reply]

Pinging @Sohom Datta: who was the one who made this edit. jp×g🗯️ 05:11, 13 August 2024 (UTC)[reply]
My thought process here for adding inline styles was twofold:
  • I was unsure if adding templatestyles could cause the WP:PEIS limit to be breached on bigger pages
  • If the {{afd top}} template was substituted, it could cause issues due to the fact that the styles might not being carried over
To my knowledge afd vfd xfd-closed don't apply any specific styles and while the inline styles do take precedence over other user-generated styles, the behaviour of the inline CSS will be analogous to it's previous behaviour if the CSS variables defined for vector-2022 are absent. Sohom (talk) 08:25, 13 August 2024 (UTC)[reply]

I was wondering if it is possible to add another link for an "insource" search link and not cause any significant performance issues to the TfD pages. Gonnym (talk) 11:49, 28 October 2024 (UTC)[reply]

I assume this would be for templates that may be substed or otherwise hard to tell transclusion count? Primefac (talk) 18:29, 28 October 2024 (UTC)[reply]
Yes, a lot of times when I'm not sure about a template I search with insource to make sure it's not hidden away somewhere in might-be-used scenario. Gonnym (talk) 11:45, 29 October 2024 (UTC)[reply]

 You are invited to join the discussion at Wikipedia talk:Criteria for speedy deletion § RfC: Enacting T5 (unused template subpages). HouseBlaster (talk • he/they) 03:02, 25 November 2024 (UTC)[reply]

Tfd top dark mode

[edit]

@JPxG and Sohom Datta: Related to #Inline_styles? (Template talk:Afd top § Inline styles?), can we have a similar dark mode implementation for the actual template {{tfd top}}? 172.97.141.219 (talk) 08:01, 9 December 2024 (UTC)[reply]