Template talk:Resbox

Latest comment: 4 years ago by SMcCandlish in topic div-span-flip

Usage

edit

{{Resbox}}

div-span-flip

edit
 
  Fixed

SMcCandlish: This template generates a div-span-flip lint error when the first parameter is "Moot", for example, as used in

  • Template talk:Quote/Archive 2:
    • {{Resbox|Moot|Quote and Bq templates have merged.}} (this is by you and I doubt it looks like you expect)
    • {{Resbox|Moot|Quote and Epigraph templates have merged.}}
    • {{Resbox|Moot|The templates have merged.}}
  • Template talk:Bq:
    • {{Resbox|Moot|Bq has merged into [[Template:Quote]].}} (3 times; one of these is by you and I doubt it looks like you expect)

The div-span-flip is a Miscellaneous Tidy replacement issue and it is caused by markup along the lines of <span><div>...</div></span>. Would you please take a look at this? —Anomalocaris (talk) 07:48, 5 January 2020 (UTC)Reply

Good catch; I forgot that some of the transcluded templates might have divs in them. I changed the span to <div style="display: inline-block; ...">.  — SMcCandlish ¢ 😼  22:17, 5 January 2020 (UTC)Reply