Template:Split/testcases

From MOASSpedia
Jump to navigation Jump to search

This shows the output of the template given valid and invalid input.

Piped parameters

In all tests, the named parameters take default values.

Parameters Output
A
A|B
A|B|C
A|B|C|D
A|B|C|D|E
A|B|C|D|E|F
A|B|C|D|E|F|G
A|B|C|D|E|F|G|H
A|B|C|D|E|F|G|H|I
A|B|C|D|E|F|G|H|I|J|
A|B|C|D|E|F|G|H|I|J|K
A|B|C|D|E|F|G|H|I|J|K
A|B|C|D|E|F|G|H|I|J|K|L
A|B|C|D|E|F|G|H|I|J|K|L#&124;M
A|B|C|D|E|F|G|H|I|J|K|L#&124;M#&124;N
A|B|C|D|E|F|G|H|I|J|K|L|M|N|O
A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P
A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q
A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q
A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|
A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S
A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T
A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T|U
A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T|U|V|
A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T|U|V|W|
A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T|U|V|W|X
A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T|U|V|W|X|Y
A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T|U|V|W|X|Y|Z
(empty)
(missing)

Named parameters

part

Parameters Output
A|part=no
A|part=yes
A|B|part=no
A|B|part=yes
|part=no
|part=yes
A|B|part=
A|B|
small=left