Mal:Switcher/testcases
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.
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.
To find all the prime numbers less than or equal to 30, proceed as follows.
First generate a list of integers from 2 to 30:
Start with all numbers above 1:
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30.Start with all numbers above 1
Strike multiples of 2:
2 3Strike multiples of 2456789101112131415161718192021222324252627282930.
Strike multiples of 2 and 3:
2 3Strike multiples of 2 and 3456789101112131415161718192021222324252627282930.
Strike multiples of 2, 3 and 5 (includes 25):
2 3Strike multiples of 2, 3 and 5 (includes 25)456789101112131415161718192021222324252627282930.
Remove multiples of 2, 3 and 5:
2 3 5 7 11 13 17 19 23 29.Remove multiples of 2, 3 and 5
==
2011
2012
2013
2014
2015
2016