Difference between revisions of "Template:Enum/testcases"
Jump to navigation
Jump to search
imported>Izkala (Test sandbox) |
imported>SimonTrew (→"comma" parameter: +testcases with whitespace) |
||
| Line 95: | Line 95: | ||
|- | |- | ||
|{{tlc|{{BASEPAGENAME}}|2=comma=;|3=A|4=B|5=C|6=D|7=}} || {{{{BASEPAGENAME}}|comma=;|A|B|C|D|}} || {{{{BASEPAGENAME}}/sandbox|comma=;|A|B|C|D|}} | |{{tlc|{{BASEPAGENAME}}|2=comma=;|3=A|4=B|5=C|6=D|7=}} || {{{{BASEPAGENAME}}|comma=;|A|B|C|D|}} || {{{{BASEPAGENAME}}/sandbox|comma=;|A|B|C|D|}} | ||
| + | |} | ||
| + | |||
| + | == "comma" parameter with whitespace == | ||
| + | {| class="wikitable" | ||
| + | |{{tlc|{{BASEPAGENAME}}|2=comma=; }} || {{{{BASEPAGENAME}}|comma=; }} || {{{{BASEPAGENAME}}/sandbox|comma=; }} | ||
| + | |- | ||
| + | |{{tlc|{{BASEPAGENAME}}|2=comma=; |3=}} || {{{{BASEPAGENAME}}|comma=; |}} || {{{{BASEPAGENAME}}/sandbox|comma=; |}} | ||
| + | |- | ||
| + | |{{tlc|{{BASEPAGENAME}}|2=comma=; |3=A}} || {{{{BASEPAGENAME}}|comma=; |A}} || {{{{BASEPAGENAME}}/sandbox|comma=; |A}} | ||
| + | |- | ||
| + | |{{tlc|{{BASEPAGENAME}}|2=comma=; |3=A|4=}} || {{{{BASEPAGENAME}}|comma=; ;|A|}} || {{{{BASEPAGENAME}}/sandbox|comma=; |A|}} | ||
| + | |- | ||
| + | |{{tlc|{{BASEPAGENAME}}|2=comma=; |3=A|4=B}} || {{{{BASEPAGENAME}}|comma=; |A|B}} || {{{{BASEPAGENAME}}/sandbox|comma=; |A|B}} | ||
| + | |- | ||
| + | |{{tlc|{{BASEPAGENAME}}|2=comma=; |3=A|4=B|5=C}} || {{{{BASEPAGENAME}}|comma=; |A|B|C}} || {{{{BASEPAGENAME}}/sandbox|comma=; |A|B|C}} | ||
| + | |- | ||
| + | |{{tlc|{{BASEPAGENAME}}|2=comma=; |3=A|4=B|5=C|6=}} || {{{{BASEPAGENAME}}|comma=; |A|B|C|}} || {{{{BASEPAGENAME}}/sandbox|comma=; |A|B|C|}} | ||
| + | |- | ||
| + | |{{tlc|{{BASEPAGENAME}}|2=comma=; |3=A|4=B|5=C|6=D}} || {{{{BASEPAGENAME}}|comma=; |A|B|C|D}} || {{{{BASEPAGENAME}}/sandbox|comma=; |A|B|C|D}} | ||
| + | |- | ||
| + | |{{tlc|{{BASEPAGENAME}}|2=comma=; |3=A|4=B|5=C|6=D|7=}} || {{{{BASEPAGENAME}}|comma=; |A|B|C|D|}} || {{{{BASEPAGENAME}}/sandbox|comma=; |A|B|C|D|}} | ||
|} | |} | ||
Latest revision as of 09:28, 14 November 2015
| This is the template test cases page for the sandbox of Template:Enum. Script error: No such module "Purge". 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 with these links: |
Contents
Defaults for named parameters
| Input | Main | Sandbox |
|---|---|---|
{{Enum}} |
||
{{Enum|A}} |
A | A |
{{Enum|A|}} |
A | A |
{{Enum|A|B}} |
A and B | A and B |
{{Enum|A|B|}} |
A and B | A and B |
{{Enum|A|B|C}} |
A, B and C | A, B and C |
{{Enum|A|B|C|}} |
A, B and C | A, B and C |
{{Enum|A|B|C|D}} |
A, B, C and D | A, B, C and D |
{{Enum|A|B|C|D|}} |
A, B, C and D | A, B, C and D |
"after" parameter
| Input | Main | Sandbox |
|---|---|---|
{{Enum|after=.}} |
||
{{Enum|after=.|}} |
||
{{Enum|after=.|A}} |
A. | A. |
{{Enum|after=.|A|}} |
A. | A. |
{{Enum|after=.|A|B}} |
A and B. | A and B. |
{{Enum|after=.|A|B|C}} |
A, B and C. | A, B and C. |
{{Enum|after=.|A|B|C|}} |
A, B and C. | A, B and C. |
{{Enum|after=.|A|B|C|D}} |
A, B, C and D. | A, B, C and D. |
{{Enum|after=.|A|B|C|D|}} |
A, B, C and D. | A, B, C and D. |
"and" parameter
| Input | Main | Sandbox |
|---|---|---|
{{Enum|and=+}} |
||
{{Enum|and=+|}} |
||
{{Enum|and=+|A}} |
A | A |
{{Enum|and=+|A|}} |
A | A |
{{Enum|and=+|A|B}} |
A+B | A+B |
{{Enum|and=+|A|B|C}} |
A, B+C | A, B+C |
{{Enum|and=+|A|B|C|}} |
A, B+C | A, B+C |
{{Enum|and=+|A|B|C|D}} |
A, B, C+D | A, B, C+D |
{{Enum|and=+|A|B|C|D|}} |
A, B, C+D | A, B, C+D |
"comma" parameter
| Input | Main | Sandbox |
|---|---|---|
{{Enum|comma=;}} |
||
{{Enum|comma=;|}} |
||
{{Enum|comma=;|A}} |
A | A |
{{Enum|comma=;|A|}} |
A | A |
{{Enum|comma=;|A|B}} |
A and B | A and B |
{{Enum|comma=;|A|B|C}} |
A;B and C | A;B and C |
{{Enum|comma=;|A|B|C|}} |
A;B and C | A;B and C |
{{Enum|comma=;|A|B|C|D}} |
A;B;C and D | A;B;C and D |
{{Enum|comma=;|A|B|C|D|}} |
A;B;C and D | A;B;C and D |
"comma" parameter with whitespace
{{Enum|comma=; }} |
||
{{Enum|comma=; |}} |
||
{{Enum|comma=; |A}} |
A | A |
{{Enum|comma=; |A|}} |
A | A |
{{Enum|comma=; |A|B}} |
A and B | A and B |
{{Enum|comma=; |A|B|C}} |
A; B and C | A; B and C |
{{Enum|comma=; |A|B|C|}} |
A; B and C | A; B and C |
{{Enum|comma=; |A|B|C|D}} |
A; B; C and D | A; B; C and D |
{{Enum|comma=; |A|B|C|D|}} |
A; B; C and D | A; B; C and D |