Jump to content

Template:Category redirect/testcases

From Wikipedia, the free encyclopedia

No parameters

[edit]
{{Category redirect}}

{{Category redirect}}

{{Category redirect/sandbox}}

Just a target (standard usage)

[edit]

With category prefix

[edit]
{{Category redirect|Category:Example}}

{{Category redirect}}

{{Category redirect/sandbox}}

Without category prefix

[edit]
{{Category redirect|Example}}

{{Category redirect}}

{{Category redirect/sandbox}}

With a different namespace prefix

[edit]
{{Category redirect|Template:IPDB different from Wikidata}}

{{Category redirect}}

{{Category redirect/sandbox}}

With two namespace prefixes

[edit]
{{Category redirect|Category:Template:IPDB different from Wikidata}}

{{Category redirect}}

{{Category redirect/sandbox}}

nocat = yes

[edit]
{{Category redirect|Category:Example|nocat=yes}}

{{Category redirect}}

{{Category redirect/sandbox}}

keep = yes

[edit]
{{Category redirect|Category:Example|keep=yes}}

{{Category redirect}}

{{Category redirect/sandbox}}

As Rcat shell

[edit]
{{Category redirect|Category:Example|{{R from category navigation}}}}

{{Category redirect}}

{{Category redirect/sandbox}}

As Rcat shell with keep = yes

[edit]
{{Category redirect|Category:Example|{{R from category navigation}}|keep=yes}}

{{Category redirect}}

{{Category redirect/sandbox}}