This is the template test cases page for the sandbox of Template:Category link. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Empty
edit{{Category link}}
→ [[:Category:|Category:]]{{Category link/sandbox}}
→ [[:Category:{{{1}}}|Category:]]
Cat name
edit{{Category link|Wikipedia templates}}
→ Category:Wikipedia templates{{Category link/sandbox|Wikipedia templates}}
→ Category:Wikipedia templates
{{Category link|Category:Wikipedia templates}}
→ Category:Wikipedia templates{{Category link/sandbox|Category:Wikipedia templates}}
→ Category:Wikipedia templates
Cat name and alt text
edit{{Category link|Wikipedia templates|"Wikipedia templates" category}}
→ "Wikipedia templates" category{{Category link/sandbox|Wikipedia templates|"Wikipedia templates" category}}
→ "Wikipedia templates" category
{{Category link|Category:Wikipedia templates|"Wikipedia templates" category}}
→ "Wikipedia templates" category{{Category link/sandbox|Category:Wikipedia templates|"Wikipedia templates" category}}
→ "Wikipedia templates" category
Cat name and count with types
edit{{Category link|Wikipedia templates|count=yes}}
→ Category:Wikipedia templates ( 26 ){{Category link/sandbox|Wikipedia templates|count=yes}}
→ Category:Wikipedia templates ( 26 )
{{Category link|Wikipedia templates|count=yes |count_type=ALL}}
→ Category:Wikipedia templates ( 26 ){{Category link/sandbox|Wikipedia templates|count=yes |count_type=ALL}}
→ Category:Wikipedia templates ( 26 )
{{Category link|Wikipedia templates|count=yes |count_type=PAGES}}
→ Category:Wikipedia templates ( 0 ){{Category link/sandbox|Wikipedia templates|count=yes |count_type=PAGES}}
→ Category:Wikipedia templates ( 0 )
{{Category link|Wikipedia templates|count=yes |count_type=SUBCATS}}
→ Category:Wikipedia templates ( 26 ){{Category link/sandbox|Wikipedia templates|count=yes |count_type=SUBCATS}}
→ Category:Wikipedia templates ( 26 )
{{Category link|Wikipedia templates|count=yes |count_type=FILES}}
→ Category:Wikipedia templates ( 0 ){{Category link/sandbox|Wikipedia templates|count=yes |count_type=FILES}}
→ Category:Wikipedia templates ( 0 )
{{Category link|Wikipedia templates|count=yes |count_type=FILES}}
→ Category:Wikipedia templates ( 0 ){{Category link/sandbox|Wikipedia templates|count=yes |count_type=FILES}}
→ Category:Wikipedia templates ( 0 )
Cat name and count with types and backlog of 100
edit{{Category link|Wikipedia templates|backlog=100 |count=yes}}
→ Category:Wikipedia templates ( 26 ){{Category link/sandbox|Wikipedia templates|backlog=100 |count=yes}}
→ Category:Wikipedia templates ( 26 )
{{Category link|Wikipedia templates|backlog=100 |count=yes |count_type=ALL}}
→ Category:Wikipedia templates ( 26 ){{Category link/sandbox|Wikipedia templates|backlog=100 |count=yes |count_type=ALL}}
→ Category:Wikipedia templates ( 26 )
{{Category link|Wikipedia templates|backlog=100 |count=yes |count_type=PAGES}}
→ Category:Wikipedia templates ( 0 ){{Category link/sandbox|Wikipedia templates|backlog=100 |count=yes |count_type=PAGES}}
→ Category:Wikipedia templates ( 0 )
{{Category link|Wikipedia templates|backlog=100 |count=yes |count_type=SUBCATS}}
→ Category:Wikipedia templates ( 26 ){{Category link/sandbox|Wikipedia templates|backlog=100 |count=yes |count_type=SUBCATS}}
→ Category:Wikipedia templates ( 26 )
{{Category link|Wikipedia templates|backlog=100 |count=yes |count_type=FILES}}
→ Category:Wikipedia templates ( 0 ){{Category link/sandbox|Wikipedia templates|backlog=100 |count=yes |count_type=FILES}}
→ Category:Wikipedia templates ( 0 )
Cat name and count with types and backlog of 1
edit{{Category link|Wikipedia templates|backlog=1 |count=yes}}
→ Category:Wikipedia templates ( 26 ){{Category link/sandbox|Wikipedia templates|backlog=1 |count=yes}}
→ Category:Wikipedia templates ( 26 )
{{Category link|Wikipedia templates|backlog=1 |count=yes |count_type=ALL}}
→ Category:Wikipedia templates ( 26 ){{Category link/sandbox|Wikipedia templates|backlog=1 |count=yes |count_type=ALL}}
→ Category:Wikipedia templates ( 26 )
{{Category link|Wikipedia templates|backlog=1 |count=yes |count_type=PAGES}}
→ Category:Wikipedia templates ( 0 ){{Category link/sandbox|Wikipedia templates|backlog=1 |count=yes |count_type=PAGES}}
→ Category:Wikipedia templates ( 0 )
{{Category link|Wikipedia templates|backlog=1 |count=yes |count_type=SUBCATS}}
→ Category:Wikipedia templates ( 26 ){{Category link/sandbox|Wikipedia templates|backlog=1 |count=yes |count_type=SUBCATS}}
→ Category:Wikipedia templates ( 26 )
{{Category link|Wikipedia templates|backlog=1 |count=yes |count_type=FILES}}
→ Category:Wikipedia templates ( 0 ){{Category link/sandbox|Wikipedia templates|backlog=1 |count=yes |count_type=FILES}}
→ Category:Wikipedia templates ( 0 )