Jump to content

Template:Duplication/testcases

From Wikipedia, the free encyclopedia

Yellow = templates do not match.


Top template: after 24 August 2021 fixes (live template)

Bottom template: old template (sandbox)


|section=
|section=|small=


Everything fine so far. However...


|section=something


As you can see, the old template used to force itself into small mode when "section" was used. However...


|section=something|small=


(Ignore the use of the word "sections" instead of "articles", which is also in the previous example.)

This shows that in the old template, using "section" with a "small" that exists but doesn't contain "left" used to add the extra fix text but not make the template small. This odd discrepancy in behaviour with the previous example has been fixed (since "section" no longer makes the template small at all).


|small=
|small=something
|small=left
|section=|small=something
|section=|small=left


Using "small" on its own or with an empty "section" encountered no issues. However...


|section=something|small=left


In the old template, using "small=left" with a filled in "section" used to include all the extra fix text in the small template, making it rather large. This has been fixed.