Template talk:Resbox
(Redirected from Template talk:Resbox/sandbox)
Latest comment: 4 years ago by SMcCandlish in topic div-span-flip
Template:Resbox is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. This template does not have a testcases subpage. You can create the testcases subpage here. |
Usage
edit{{Resbox}}
div-span-flip
editSMcCandlish: 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)
- 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)