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 with these links: |
Empty
{{Category link}}
→ [[:Category:{{{1}}}|Category:{{{1}}}]]{{Category link/sandbox}}
→ Error: expandTemplate: template "Category link/sandbox" does not exist
Cat name
{{Category link|Wikipedia templates}}
→ Category:Wikipedia templates{{Category link/sandbox|Wikipedia templates}}
→ Error: expandTemplate: template "Category link/sandbox" does not exist
Cat name & alt text
{{Category link|Wikipedia templates|"Wikipedia templates" category}}
→ "Wikipedia templates" category{{Category link/sandbox|Wikipedia templates|"Wikipedia templates" category}}
→ Error: expandTemplate: template "Category link/sandbox" does not exist
Cat name & count w/types
{{Category link|Wikipedia templates|count=yes}}
→ Category:Wikipedia templates ( 0 ){{Category link/sandbox|Wikipedia templates|count=yes}}
→ Error: expandTemplate: template "Category link/sandbox" does not exist
{{Category link|Wikipedia templates|count=yes|count_type=ALL}}
→ Category:Wikipedia templates ( 0 ){{Category link/sandbox|Wikipedia templates|count=yes|count_type=ALL}}
→ Error: expandTemplate: template "Category link/sandbox" does not exist
{{Category link|Wikipedia templates|count=yes|count_type=PAGES}}
→ Category:Wikipedia templates ( 0 ){{Category link/sandbox|Wikipedia templates|count=yes|count_type=PAGES}}
→ Error: expandTemplate: template "Category link/sandbox" does not exist
{{Category link|Wikipedia templates|count=yes|count_type=SUBCATS}}
→ Category:Wikipedia templates ( 0 ){{Category link/sandbox|Wikipedia templates|count=yes|count_type=SUBCATS}}
→ Error: expandTemplate: template "Category link/sandbox" does not exist
{{Category link|Wikipedia templates|count=yes|count_type=FILES}}
→ Category:Wikipedia templates ( 0 ){{Category link/sandbox|Wikipedia templates|count=yes|count_type=FILES}}
→ Error: expandTemplate: template "Category link/sandbox" does not exist
Cat name & count w/types w/backlog of 100
{{Category link|Wikipedia templates|backlog=100|count=yes}}
→ Category:Wikipedia templates ( 0 ){{Category link/sandbox|Wikipedia templates|backlog=100|count=yes}}
→ Error: expandTemplate: template "Category link/sandbox" does not exist
{{Category link|Wikipedia templates|backlog=100|count=yes|count_type=ALL}}
→ Category:Wikipedia templates ( 0 ){{Category link/sandbox|Wikipedia templates|backlog=100|count=yes|count_type=ALL}}
→ Error: expandTemplate: template "Category link/sandbox" does not exist
{{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}}
→ Error: expandTemplate: template "Category link/sandbox" does not exist
{{Category link|Wikipedia templates|backlog=100|count=yes|count_type=SUBCATS}}
→ Category:Wikipedia templates ( 0 ){{Category link/sandbox|Wikipedia templates|backlog=100|count=yes|count_type=SUBCATS}}
→ Error: expandTemplate: template "Category link/sandbox" does not exist
{{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}}
→ Error: expandTemplate: template "Category link/sandbox" does not exist