Template:Switcher/testcases
From Wikipedia, the free encyclopedia
The tests here use {{Switcher}} directly and don't use {{Test case}} or {{Switcher/sandbox}}. The pages linked at the tests don't use Switcher but just give some context about the subject of the test.
This is the template test cases page for the sandbox of Template:Switcher. Purge this pageto 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 with these links: |
Switcher uses MediaWiki:Gadget-switcher.js which is documented at User:Jackmcbarn/switcher. Apart from {{Switcher}}, the only current use of the gadget may be Template:Location map#User selection of multiple maps.
{{Switcher}} can switch between 20 parameters as of 2 October 2016 where the template is unused and may change behaviour or be deleted. It isn't ready for mainspace and it may require a community discussion whether we want such a template.