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.

Jump to content

Template talk:Strongbad

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
Latest comment: 8 months ago by Sohom Datta in topic Change color

Template-protected edit request on 20 January 2020

[edit]

Change:

   {{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{FormattingError|Template:Strongbad is only for use in template documentation, guidelines and other Wikipedia-internal purposes. Do not use it in actual articles.}}|{{strong|1={{{1}}}|style=color:red;{{#if:{{{style}}}|{{{style}}}}} |role={{{role|}}} |class={{{class|}}} |id={{{id|}}} |title={{{title|}}} }}}}

To:

   {{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{FormattingError|Template:Strongbad is only for use in template documentation, guidelines and other Wikipedia-internal purposes. Do not use it in actual articles.}}|{{strong|1={{{1}}}|style=color:red;{{#if:{{{style|}}}|{{{style}}}}} |role={{{role|}}} |class={{{class|}}} |id={{{id|}}} |title={{{title|}}} }}}}

to fix the parser function. The current version causes a CSS error, with {{{style}}} being explicitly injected into the style parameter. I've made the same edit in {{Stronggood}}, if you need an example. –184.254 01:56, 20 January 2020 (UTC)Reply

 Note: if you decline or accept this edit please notify me on my talk page. –184.254 01:56, 20 January 2020 (UTC)Reply
 Done but I removed the conditional —JJMC89(T·C) 02:09, 20 January 2020 (UTC)Reply

Change color

[edit]

From red to #d20, per WP:COLOR.

More specifically, edit the first line so that

{{main other|{{FormattingError|Template:Strongbad is only for use in template documentation, guidelines, and other Wikipedia-internal purposes. Do not use it in actual articles.}}|{{strong|1={{{1}}}|style=color: red; {{{style|}}} |role={{{role|}}} |class={{{class|}}} |id={{{id|}}} |title={{{title|}}} }}}}<noinclude>

becomes

{{main other|{{FormattingError|Template:Strongbad is only for use in template documentation, guidelines, and other Wikipedia-internal purposes. Do not use it in actual articles.}}|{{strong|1={{{1}}}|style=color:#d20; {{{style|}}} |role={{{role|}}} |class={{{class|}}} |id={{{id|}}} |title={{{title|}}} }}}}<noinclude>

. Sapphaline (talk) 08:53, 8 September 2025 (UTC)Reply

That's a mainspace guideline, this is for not for mainspace. Sohom (talk) 13:48, 10 September 2025 (UTC)Reply
So? Wikipedia:Talk page guidelines#Technical and format standards: The advice at Wikipedia:Manual of Style/Accessibility § Color is as applicable to talk pages as it is anywhere else. Sapphaline (talk) 07:15, 11 September 2025 (UTC)Reply
Would var(--color-error,#bf3c2c) work? This color, for reference. It is currently in use by {{Error}}, which fits WCAG AA and uses the Codex style guide, for more consistency. Chaotic Enby (talk · contribs) 11:13, 19 October 2025 (UTC)Reply
Sure, although it's not as close to #f00 as #d20 is. sapphaline (talk) 16:51, 29 October 2025 (UTC)Reply
 Done I have implemented @Chaotic Enby's fix since there doesn't appear to be significant opposition (for what it's worth I do not oppose as well) Sohom (talk) 04:19, 27 November 2025 (UTC)Reply