Template talk:Strongbad
Add topicAppearance
Latest comment: 8 months ago by Sohom Datta in topic Change color
Template-protected edit request on 20 January 2020
[edit]This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
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)
Note: if you decline or accept this edit please notify me on my talk page. –184.254 01:56, 20 January 2020 (UTC)
Done but I removed the conditional — JJMC89 (T·C) 02:09, 20 January 2020 (UTC)
Change color
[edit]This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
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)
- That's a mainspace guideline, this is for not for mainspace. Sohom (talk) 13:48, 10 September 2025 (UTC)
- 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)- 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)- Sure, although it's not as close to
#f00as#d20is. sapphaline (talk) 16:51, 29 October 2025 (UTC)
- Sure, although it's not as close to
- Would
- So? Wikipedia:Talk page guidelines#Technical and format standards:
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)