Difference between revisions of "Template:Category link/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Anthony Appleyard
m (Anthony Appleyard moved page Template:Cl/testcases to Template:Category link/testcases without leaving a redirect)
imported>Plastikspork
(Simplify using meta testcase template)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
  
 
== Empty ==
 
== Empty ==
* {{Tld|Cl}} produces: {{Cl}}
+
{{inline test case}}
* {{Tld|Cl/sandbox}} produces: {{Cl/sandbox}}
 
  
 
== Cat name ==
 
== Cat name ==
* {{Tld|Cl|Wikipedia templates}} produces: {{Cl|Wikipedia templates}}
+
{{inline test case|Wikipedia templates}}
* {{Tld|Cl/sandbox|Wikipedia templates}} produces: {{Cl/sandbox|Wikipedia templates}}
 
  
 
== Cat name & alt text ==
 
== Cat name & alt text ==
* {{Tld|Cl||Wikipedia templates|"Wikipedia templates" category}} produces: {{Cl|Wikipedia templates|"Wikipedia templates" category}}
+
{{inline test case|Wikipedia templates|"Wikipedia templates" category}}
* {{Tld|Cl|/sandbox|Wikipedia templates|"Wikipedia templates" category}} produces: {{Cl/sandbox|Wikipedia templates|"Wikipedia templates" category}}
 
  
 
== Cat name & count w/types ==
 
== Cat name & count w/types ==
* {{Tld|Cl|Wikipedia templates|count{{=}}yes}} produces: {{Cl|Wikipedia templates|count=yes}}
+
{{inline test case|Wikipedia templates|count=yes}}
** {{Tld|Cl|Wikipedia templates|count{{=}}yes|count_type{{=}}ALL}} produces: {{Cl|Wikipedia templates|count=yes|count_type=ALL}}
+
{{inline test case|Wikipedia templates|count=yes|count_type=ALL}}
** {{Tld|Cl|Wikipedia templates|count{{=}}yes|count_type{{=}}PAGES}} produces: {{Cl|Wikipedia templates|count=yes|count_type=PAGES}}
+
{{inline test case|Wikipedia templates|count=yes|count_type=PAGES}}
** {{Tld|Cl|Wikipedia templates|count{{=}}yes|count_type{{=}}SUBCATS}} produces: {{Cl|Wikipedia templates|count=yes|count_type=SUBCATS}}
+
{{inline test case|Wikipedia templates|count=yes|count_type=SUBCATS}}
** {{Tld|Cl|Wikipedia templates|count{{=}}yes|count_type{{=}}FILES}} produces: {{Cl|Wikipedia templates|count=yes|count_type=FILES}}
+
{{inline test case|Wikipedia templates|count=yes|count_type=FILES}}
* {{Tld|Cl/sandbox|Wikipedia templates|count{{=}}yes}} produces: {{Cl/sandbox|Wikipedia templates|count=yes}}
 
** {{Tld|Cl/sandbox|Wikipedia templates|count{{=}}yes|count_type{{=}}ALL}} produces: {{Cl/sandbox|Wikipedia templates|count=yes|count_type=ALL}}
 
** {{Tld|Cl/sandbox|Wikipedia templates|count{{=}}yes|count_type{{=}}PAGES}} produces: {{Cl/sandbox|Wikipedia templates|count=yes|count_type=PAGES}}
 
** {{Tld|Cl/sandbox|Wikipedia templates|count{{=}}yes|count_type{{=}}SUBCATS}} produces: {{Cl/sandbox|Wikipedia templates|count=yes|count_type=SUBCATS}}
 
** {{Tld|Cl/sandbox|Wikipedia templates|count{{=}}yes|count_type{{=}}FILES}} produces: {{Cl/sandbox|Wikipedia templates|count=yes|count_type=FILES}}
 
  
 
== Cat name & count w/types w/backlog of 100 ==
 
== Cat name & count w/types w/backlog of 100 ==
* {{Tld|Cl|Wikipedia templates|count{{=}}yes|backlog{{=}}100}} produces: {{Cl|Wikipedia templates|count=yes|backlog=100}}
+
{{inline test case|Wikipedia templates|count=yes|backlog=100}}
** {{Tld|Cl|Wikipedia templates|count{{=}}yes|backlog{{=}}100|count_type{{=}}ALL}} produces: {{Cl|Wikipedia templates|count=yes|backlog=100|count_type=ALL}}
+
{{inline test case|Wikipedia templates|count=yes|backlog=100|count_type=ALL}}
** {{Tld|Cl|Wikipedia templates|count{{=}}yes|backlog{{=}}100|count_type{{=}}PAGES}} produces: {{Cl|Wikipedia templates|count=yes|backlog=100|count_type=PAGES}}
+
{{inline test case|Wikipedia templates|count=yes|backlog=100|count_type=PAGES}}
** {{Tld|Cl|Wikipedia templates|count{{=}}yes|backlog{{=}}100|count_type{{=}}SUBCATS}} produces: {{Cl|Wikipedia templates|count=yes|backlog=100|count_type=SUBCATS}}
+
{{inline test case|Wikipedia templates|count=yes|backlog=100|count_type=SUBCATS}}
** {{Tld|Cl|Wikipedia templates|count{{=}}yes|backlog{{=}}100|count_type{{=}}FILES}} produces: {{Cl|Wikipedia templates|count=yes|backlog=100|count_type=FILES}}
+
{{inline test case|Wikipedia templates|count=yes|backlog=100|count_type=FILES}}
* {{Tld|Cl/sandbox|Wikipedia templates|count{{=}}yes|backlog{{=}}100}} produces: {{Cl/sandbox|Wikipedia templates|count=yes|backlog=100}}
 
** {{Tld|Cl/sandbox|Wikipedia templates|count{{=}}yes|backlog{{=}}100|count_type{{=}}ALL}} produces: {{Cl/sandbox|Wikipedia templates|count=yes|backlog=100|count_type=ALL}}
 
** {{Tld|Cl/sandbox|Wikipedia templates|count{{=}}yes|backlog{{=}}100|count_type{{=}}PAGES}} produces: {{Cl/sandbox|Wikipedia templates|count=yes|backlog=100|count_type=PAGES}}
 
** {{Tld|Cl/sandbox|Wikipedia templates|count{{=}}yes|backlog{{=}}100|count_type{{=}}SUBCATS}} produces: {{Cl/sandbox|Wikipedia templates|count=yes|backlog=100|count_type=SUBCATS}}
 
** {{Tld|Cl/sandbox|Wikipedia templates|count{{=}}yes|backlog{{=}}100|count_type{{=}}FILES}} produces: {{Cl/sandbox|Wikipedia templates|count=yes|backlog=100|count_type=FILES}}
 

Latest revision as of 16:50, 28 April 2020

Template:Testcases page

Empty

  • {{Category link}} → [[:Category:{{{1}}}|Category:{{{1}}}]]
  • {{Category link/sandbox}} → [[:Category:{{{1}}}|Category:{{{1}}}]]

Cat name

Cat name & alt text

Cat name & count w/types

Cat name & count w/types w/backlog of 100