Difference between revisions of "Template:Category see also/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Mr. Stradivarius
(rewrite test cases)
imported>Mr. Stradivarius
(add namespace test)
Line 9: Line 9:
 
{{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=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=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}}

Revision as of 14:11, 12 May 2017

Template:Template testcases notice

Blank
{{Category see also}}

{{Category see also}}

Error: at least one parameter required (Template:Category see also)

{{Category see also/sandbox}}

Error: at least one parameter required (Template:Category see also)

One category
{{Category see also|Foo}}

{{Category see also}}

{{Category see also/sandbox}}

Two categories
{{Category see also|Foo|Bar}}

{{Category see also}}

{{Category see also/sandbox}}

Three categories
{{Category see also|Foo|Bar|Baz}}

{{Category see also}}

{{Category see also/sandbox}}

Four categories
{{Category see also|Foo|Bar|Baz|Qux}}

{{Category see also}}

{{Category see also/sandbox}}

Label
{{Category see also|Foo|LABEL=A label}}

{{Category see also}}

{{Category see also/sandbox}}

Project code, one category
{{Category see also|Foo|project=fr}}

{{Category see also}}

{{Category see also/sandbox}}

Project code, two categories
{{Category see also|Foo|Bar|project=fr}}

{{Category see also}}

{{Category see also/sandbox}}

Different namespace, one category
{{Category see also|Template:Foo}}

{{Category see also}}

{{Category see also/sandbox}}

Different namespace, two categories
{{Category see also|Template:Foo|Template:Bar}}

{{Category see also}}

{{Category see also/sandbox}}

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}}

{{Category see also}}

{{Category see also/sandbox}}