Difference between revisions of "Template:Category see also/testcases"
Jump to navigation
Jump to search
imported>Mr. Stradivarius (add tests for categories starting with lower case) |
imported>Mr. Stradivarius (add tests with "Category:" prefix) |
||
| Line 11: | Line 11: | ||
{{collapsible test case|_title=Project code, one category|_showcode=yes|Foo|project=fr}} | {{collapsible test case|_title=Project code, one category|_showcode=yes|Foo|project=fr}} | ||
{{collapsible test case|_title=Project code, two categories|_showcode=yes|Foo|Bar|project=fr}} | {{collapsible test case|_title=Project code, two categories|_showcode=yes|Foo|Bar|project=fr}} | ||
| + | {{collapsible test case|_title=Category namespace, one category|_showcode=yes|Category:Foo}} | ||
| + | {{collapsible test case|_title=Category namespace, two categories|_showcode=yes|Category:Foo|Category:Bar}} | ||
{{collapsible test case|_title=Different namespace, one category|_showcode=yes|Template:Foo}} | {{collapsible test case|_title=Different namespace, one category|_showcode=yes|Template:Foo}} | ||
{{collapsible test case|_title=Different namespace, two categories|_showcode=yes|Template:Foo|Template:Bar}} | {{collapsible test case|_title=Different namespace, two categories|_showcode=yes|Template:Foo|Template:Bar}} | ||
{{collapsible test case|_title=Lots of categories|_showcode=yes|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|31|32|33|34|35|36|37|38|39|40|41|42|43|44|45|46|47|48|49|50}} | {{collapsible test case|_title=Lots of categories|_showcode=yes|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|31|32|33|34|35|36|37|38|39|40|41|42|43|44|45|46|47|48|49|50}} | ||
Latest revision as of 06:08, 15 May 2017
Template:Template testcases notice
| Blank |
|---|
{{Category see also}}
Error: at least one parameter required (Template:Category see also) Error: at least one parameter required (Template:Category see also) |
| One category |
|---|
{{Category see also|Foo}}
|
| Two categories |
|---|
{{Category see also|Foo|Bar}}
|
| Three categories |
|---|
{{Category see also|Foo|Bar|Baz}}
|
| Four categories |
|---|
{{Category see also|Foo|Bar|Baz|Qux}}
|
| One category starting with lower case |
|---|
{{Category see also|foo}}
|
| Two categories starting with lower case |
|---|
{{Category see also|foo|bar}}
|
| Label |
|---|
{{Category see also|Foo|LABEL=A label}}
|
| Project code, one category |
|---|
{{Category see also|Foo|project=fr}}
|
| Project code, two categories |
|---|
{{Category see also|Foo|Bar|project=fr}}
|
| Category namespace, one category |
|---|
{{Category see also|Category:Foo}}
|
| Category namespace, two categories |
|---|
{{Category see also|Category:Foo|Category:Bar}}
|
| Different namespace, one category |
|---|
{{Category see also|Template:Foo}}
|
| Different namespace, two categories |
|---|
{{Category see also|Template:Foo|Template:Bar}}
|
| Lots of categories |
|---|
{{Category see also|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|31|32|33|34|35|36|37|38|39|40|41|42|43|44|45|46|47|48|49|50}}
|