Template:Category if exists/testcases
Appearance
This is the template test cases page for the sandbox of Template:Category if exists. 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: |
Red linked category with prefix
[edit]{{draft categories|{{Category if exists|Category:This category does not exist}}}}
This page will be placed in the following categories if it is moved to the article namespace.
Categories: {{Category if exists/sandbox}}
This page will be placed in the following categories if it is moved to the article namespace.
Categories: Red linked category without prefix
[edit]{{draft categories|{{Category if exists|This category does not exist}}}}
This page will be placed in the following categories if it is moved to the article namespace.
Categories: {{Category if exists/sandbox}}
This page will be placed in the following categories if it is moved to the article namespace.
Categories: Blue linked category with prefix
[edit]{{draft categories|{{Category if exists|Category:Writers}}}}
This page will be placed in the following categories if it is moved to the article namespace.
Categories: {{Category if exists/sandbox}}
This page will be placed in the following categories if it is moved to the article namespace.
Categories: Blue linked category without prefix
[edit]{{draft categories|{{Category if exists|Writers}}}}
This page will be placed in the following categories if it is moved to the article namespace.
Categories: {{Category if exists/sandbox}}
This page will be placed in the following categories if it is moved to the article namespace.
Categories: Blue linked, category redirect, prefix
[edit]{{draft categories|{{Category if exists|Category:Mosques completed in the 19th century}}}}
This page will be placed in the following categories if it is moved to the article namespace.
Categories: {{Category if exists/sandbox}}
This page will be placed in the following categories if it is moved to the article namespace.
Categories: Blue linked empty second parameter
[edit]{{draft categories|{{Category if exists|Writers|}}}}
This page will be placed in the following categories if it is moved to the article namespace.
Categories: {{Category if exists/sandbox}}
This page will be placed in the following categories if it is moved to the article namespace.
Categories: Blue linked, category redirect, no prefix
[edit]{{draft categories|{{Category if exists|Mosques completed in the 19th century}}}}
This page will be placed in the following categories if it is moved to the article namespace.
Categories: {{Category if exists/sandbox}}
This page will be placed in the following categories if it is moved to the article namespace.
Categories: Blue linked, category redirect, empty second parameter
[edit]{{draft categories|{{Category if exists|Mosques completed in the 19th century|}}}}
This page will be placed in the following categories if it is moved to the article namespace.
Categories: {{Category if exists/sandbox}}
This page will be placed in the following categories if it is moved to the article namespace.
Categories: Blue linked, category redirect, PAGENAME returns "wrong" result
[edit]{{draft categories|{{Category if exists|Category:Template:IPDB ID different from Wikidata}}}}
This page will be placed in the following categories if it is moved to the article namespace.
Categories: {{Category if exists/sandbox}}
This page will be placed in the following categories if it is moved to the article namespace.
Categories: Blue linked, category redirect, PAGENAME returns "wrong" result, no prefix
[edit]{{draft categories|{{Category if exists|Template:IPDB ID different from Wikidata}}}}
This page will be placed in the following categories if it is moved to the article namespace.
Categories: {{Category if exists/sandbox}}
This page will be placed in the following categories if it is moved to the article namespace.
Categories: