Template:Duplication/testcases
This is the template test cases page for the sandbox of Template:Duplication. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Yellow = templates do not match.
Top template: after 24 August 2021 fixes (live template)
Bottom template: old template (sandbox)
This article duplicates the scope of other articles. |
This article duplicates the scope of other articles. |
This article duplicates the scope of other articles. |
This article duplicates the scope of other articles. |
Everything fine so far. However...
This section duplicates the scope of other articles. |
This section duplicates the scope of other sections. |
As you can see, the old template used to force itself into small mode when "section" was used. However...
This section duplicates the scope of other articles. |
This section duplicates the scope of other sections. |
(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).
This article duplicates the scope of other articles. |
This article duplicates the scope of other articles. |
This article duplicates the scope of other articles. |
This article duplicates the scope of other articles. |
This article duplicates the scope of other articles. |
This article duplicates the scope of other articles. |
This article duplicates the scope of other articles. |
This article duplicates the scope of other articles. |
This article duplicates the scope of other articles. |
This article duplicates the scope of other articles. |
Using "small" on its own or with an empty "section" encountered no issues. However...
This section duplicates the scope of other articles. |
This section duplicates the scope of other sections. |
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.