Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a244d2dfafddb5b3

Jump to content

Template talk:Allcaps

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
(Redirected from Template talk:Allcaps/styles.css)
Latest comment: 11 months ago by BodhiHarp in topic Edit request to complete TfD nomination

Template-protected edit request on 5 October 2019

[edit]

I made a new implamentation with TemplateStyle, which works with class="allcaps", the source code is available at the sandbox page. -- Great Brightstar (talk) 00:31, 5 October 2019 (UTC)Reply

Appears to work fine (/testcases). But can you explain why the new version superior?  Martin (MSGJ · talk) 05:24, 5 October 2019 (UTC)Reply
OK, the new version is made following the same works as {{smallcaps}} and {{smallcaps2}}, which already used TemplateStyles, also make the styles reusable for other templates. --Great Brightstar (talk) 07:57, 5 October 2019 (UTC)Reply
There have been issues with inline templatestyles previously that I've had pop up with my (otherwise fine) implementation. (I don't personally agree that they were significant issues, but I wasn't in the mood to defend the templatestyles changes.) Also, inline templates have a tendency toward being substed, which is a problem for templatestyles templates. --Izno (talk) 15:01, 5 October 2019 (UTC)Reply
Are you saying that the sandbox version would not work if it was substituted? That may be a significant reason not to change this.  Martin (MSGJ · talk) 14:43, 6 October 2019 (UTC)Reply
@MSGJ: Substs work just fine, they just also output the <templatestyles> tag. There may be a way to stop that from occurring, but I don't know it because I haven't looked that hard into how substing works (and certainly, you would lose the styles if that tag were not substed--which might be fine). --Izno (talk) 03:22, 7 October 2019 (UTC)Reply
I did some research; we can take a similar approach to Template:Smallcaps and perhaps in general that's an approach to consider for inline templates (or maybe all templatestyles templates). I will go leave a note at WT:TemplateStyles when I have the opportunity. I do not know if we should support, as at smallcaps, the inline-style version, but I think that is a larger discussion. --Izno (talk) 18:46, 7 October 2019 (UTC)Reply
I don't really have any opinion on this, so you can you implement?  Martin (MSGJ · talk) 19:38, 7 October 2019 (UTC)Reply
@MSGJ and Izno: just wondering who's gonna action this? I don't wanna step on anyone's toes… Sceptre (talk) 01:01, 13 October 2019 (UTC)Reply
 Done No-one has responded to my general question at WT:TemplateStyles#Substed templates r2, which is the discussion on which I was waiting. In the interest of decreasing reliance on inline styles in general, I've implemented this template like smallcaps but without the substed version containing inline styles. Feel free to discuss that point there. --Izno (talk) 01:12, 13 October 2019 (UTC)Reply

browser and clipboard behavior

[edit]

Is it true that this behaves inconsistently across browsers now, given the consensus at https://github.com/w3c/csswg-drafts/issues/627 was to make it not affect clipboard beahvior? 0xDeadbeef (T C) 13:50, 8 May 2022 (UTC)Reply

Per , It has no effect on the underlying content, and must not affect the content of a plain text copy & paste operation. 0xDeadbeef 10:21, 25 September 2022 (UTC)Reply

Edit request to complete TfD nomination

[edit]

Template:Allcaps has been listed at Templates for discussion (nomination), but it was protected, so it could not be tagged. Please add:

<noinclude>{{subst:template for discussion|help=off}}</noinclude>

to the top of the page to complete the nomination. Thank you. BodhiHarp (talk) 18:23, 19 August 2025 (UTC)Reply