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

From blackwiki
Jump to navigation Jump to search
imported>Plastikspork
(Fix)
imported>Plastikspork
(Simplify using meta testcase template)
 
Line 11: Line 11:
  
 
== Cat name & count w/types ==
 
== Cat name & count w/types ==
* {{Tld|{{BASEPAGENAME}}|Wikipedia templates|count{{=}}yes}} produces: {{{{BASEPAGENAME}}|Wikipedia templates|count=yes}}
+
{{inline test case|Wikipedia templates|count=yes}}
** {{Tld|{{BASEPAGENAME}}|Wikipedia templates|count{{=}}yes|count_type{{=}}ALL}} produces: {{{{BASEPAGENAME}}|Wikipedia templates|count=yes|count_type=ALL}}
+
{{inline test case|Wikipedia templates|count=yes|count_type=ALL}}
** {{Tld|{{BASEPAGENAME}}|Wikipedia templates|count{{=}}yes|count_type{{=}}PAGES}} produces: {{{{BASEPAGENAME}}|Wikipedia templates|count=yes|count_type=PAGES}}
+
{{inline test case|Wikipedia templates|count=yes|count_type=PAGES}}
** {{Tld|{{BASEPAGENAME}}|Wikipedia templates|count{{=}}yes|count_type{{=}}SUBCATS}} produces: {{{{BASEPAGENAME}}|Wikipedia templates|count=yes|count_type=SUBCATS}}
+
{{inline test case|Wikipedia templates|count=yes|count_type=SUBCATS}}
** {{Tld|{{BASEPAGENAME}}|Wikipedia templates|count{{=}}yes|count_type{{=}}FILES}} produces: {{{{BASEPAGENAME}}|Wikipedia templates|count=yes|count_type=FILES}}
+
{{inline test case|Wikipedia templates|count=yes|count_type=FILES}}
* {{Tld|{{BASEPAGENAME}}/sandbox|Wikipedia templates|count{{=}}yes}} produces: {{{{BASEPAGENAME}}/sandbox|Wikipedia templates|count=yes}}
 
** {{Tld|{{BASEPAGENAME}}/sandbox|Wikipedia templates|count{{=}}yes|count_type{{=}}ALL}} produces: {{{{BASEPAGENAME}}/sandbox|Wikipedia templates|count=yes|count_type=ALL}}
 
** {{Tld|{{BASEPAGENAME}}/sandbox|Wikipedia templates|count{{=}}yes|count_type{{=}}PAGES}} produces: {{{{BASEPAGENAME}}/sandbox|Wikipedia templates|count=yes|count_type=PAGES}}
 
** {{Tld|{{BASEPAGENAME}}/sandbox|Wikipedia templates|count{{=}}yes|count_type{{=}}SUBCATS}} produces: {{{{BASEPAGENAME}}/sandbox|Wikipedia templates|count=yes|count_type=SUBCATS}}
 
** {{Tld|{{BASEPAGENAME}}/sandbox|Wikipedia templates|count{{=}}yes|count_type{{=}}FILES}} produces: {{{{BASEPAGENAME}}/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|{{BASEPAGENAME}}|Wikipedia templates|count{{=}}yes|backlog{{=}}100}} produces: {{{{BASEPAGENAME}}|Wikipedia templates|count=yes|backlog=100}}
+
{{inline test case|Wikipedia templates|count=yes|backlog=100}}
** {{Tld|{{BASEPAGENAME}}|Wikipedia templates|count{{=}}yes|backlog{{=}}100|count_type{{=}}ALL}} produces: {{{{BASEPAGENAME}}|Wikipedia templates|count=yes|backlog=100|count_type=ALL}}
+
{{inline test case|Wikipedia templates|count=yes|backlog=100|count_type=ALL}}
** {{Tld|{{BASEPAGENAME}}|Wikipedia templates|count{{=}}yes|backlog{{=}}100|count_type{{=}}PAGES}} produces: {{{{BASEPAGENAME}}|Wikipedia templates|count=yes|backlog=100|count_type=PAGES}}
+
{{inline test case|Wikipedia templates|count=yes|backlog=100|count_type=PAGES}}
** {{Tld|{{BASEPAGENAME}}|Wikipedia templates|count{{=}}yes|backlog{{=}}100|count_type{{=}}SUBCATS}} produces: {{{{BASEPAGENAME}}|Wikipedia templates|count=yes|backlog=100|count_type=SUBCATS}}
+
{{inline test case|Wikipedia templates|count=yes|backlog=100|count_type=SUBCATS}}
** {{Tld|{{BASEPAGENAME}}|Wikipedia templates|count{{=}}yes|backlog{{=}}100|count_type{{=}}FILES}} produces: {{{{BASEPAGENAME}}|Wikipedia templates|count=yes|backlog=100|count_type=FILES}}
+
{{inline test case|Wikipedia templates|count=yes|backlog=100|count_type=FILES}}
* {{Tld|{{BASEPAGENAME}}/sandbox|Wikipedia templates|count{{=}}yes|backlog{{=}}100}} produces: {{{{BASEPAGENAME}}/sandbox|Wikipedia templates|count=yes|backlog=100}}
 
** {{Tld|{{BASEPAGENAME}}/sandbox|Wikipedia templates|count{{=}}yes|backlog{{=}}100|count_type{{=}}ALL}} produces: {{{{BASEPAGENAME}}/sandbox|Wikipedia templates|count=yes|backlog=100|count_type=ALL}}
 
** {{Tld|{{BASEPAGENAME}}/sandbox|Wikipedia templates|count{{=}}yes|backlog{{=}}100|count_type{{=}}PAGES}} produces: {{{{BASEPAGENAME}}/sandbox|Wikipedia templates|count=yes|backlog=100|count_type=PAGES}}
 
** {{Tld|{{BASEPAGENAME}}/sandbox|Wikipedia templates|count{{=}}yes|backlog{{=}}100|count_type{{=}}SUBCATS}} produces: {{{{BASEPAGENAME}}/sandbox|Wikipedia templates|count=yes|backlog=100|count_type=SUBCATS}}
 
** {{Tld|{{BASEPAGENAME}}/sandbox|Wikipedia templates|count{{=}}yes|backlog{{=}}100|count_type{{=}}FILES}} produces: {{{{BASEPAGENAME}}/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