Template talk:Strongbad

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

Just to be clear[edit]

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]