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

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
m (removed trailing spaces)
imported>Mr. Stradivarius
(rewrite test cases)
Line 1: Line 1:
{{Template testcases notice}}{{clear}}
+
{{Template testcases notice}}
  
== Sandbox version ==
+
{{collapsible test case|_title=Blank|_showcode=yes}}
 
+
{{collapsible test case|_title=One category|_showcode=yes|Foo}}
; {{bigger|No parameters}}
+
{{collapsible test case|_title=Two categories|_showcode=yes|Foo|Bar}}
{{{{BASEPAGENAME}}/sandbox}}
+
{{collapsible test case|_title=Three categories|_showcode=yes|Foo|Bar|Baz}}
 
+
{{collapsible test case|_title=Four categories|_showcode=yes|Foo|Bar|Baz|Qux}}
; {{bigger|One parameter}}
+
{{collapsible test case|_title=Label|_showcode=yes|Foo|LABEL=A label}}
{{{{BASEPAGENAME}}/sandbox|Hatnote templates}}
+
{{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}}
; {{bigger|Two parameters}}
+
{{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}}
{{{{BASEPAGENAME}}/sandbox|Hatnote templates|Hatnote templates}}
 
 
 
; {{bigger|Three parameters}}
 
{{{{BASEPAGENAME}}/sandbox|Hatnote templates|Hatnote templates|Hatnote templates}}
 
 
 
; {{bigger|Four parameters}}
 
{{{{BASEPAGENAME}}/sandbox|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates}}
 
 
 
; {{bigger|Too many parameters}}
 
{{{{BASEPAGENAME}}/sandbox|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates}}
 
 
 
{{clear}}
 
 
 
== Main template ==
 
 
 
; {{bigger|No parameters}}
 
{{ {{BASEPAGENAME}} }}
 
 
 
; {{bigger|One parameter}}
 
{{{{BASEPAGENAME}}|Hatnote templates}}
 
 
 
; {{bigger|Two parameters}}
 
{{{{BASEPAGENAME}}|Hatnote templates|Hatnote templates}}
 
 
 
; {{bigger|Three parameters}}
 
{{{{BASEPAGENAME}}|Hatnote templates|Hatnote templates|Hatnote templates}}
 
 
 
; {{bigger|Four parameters}}
 
{{{{BASEPAGENAME}}|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates}}
 
 
 
; {{bigger|Too many parameters}}
 
{{{{BASEPAGENAME}}|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates|Hatnote templates}}
 
 
 
{{clear}}
 

Revision as of 14:06, 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}}

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