Template:Category redirect/testcases

From Wikipedia, the free encyclopedia

No parameters

[edit]
{{Category redirect}}

{{Category redirect}}

{{Category redirect/sandbox}}

{{category redirect/core/sandbox|target={{{1}}}|redirect_categories=|keep=|nocat={

Just a target (standard usage)

[edit]

With category prefix

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

{{Category redirect}}

{{Category redirect/sandbox}}

{{category redirect/core/sandbox|target=Example|redirect_categories=|keep=|nocat={

Without category prefix

[edit]
{{Category redirect|Example}}

{{Category redirect}}

{{Category redirect/sandbox}}

{{category redirect/core/sandbox|target=Example|redirect_categories=|keep=|nocat={

With a different namespace prefix

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

{{Category redirect}}

{{Category redirect/sandbox}}

{{category redirect/core/sandbox|target=Template:IPDB different from Wikidata|redirect_categories=|keep=|nocat={

With two namespace prefixes

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

{{Category redirect}}

{{Category redirect/sandbox}}

{{category redirect/core/sandbox|target=Template:IPDB different from Wikidata|redirect_categories=|keep=|nocat={

nocat = yes

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

{{Category redirect}}

{{Category redirect/sandbox}}

{{category redirect/core/sandbox|target=Example|redirect_categories=|keep=|nocat={

keep = yes

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

{{Category redirect}}

{{Category redirect/sandbox}}

{{category redirect/core/sandbox|target=Example|redirect_categories=|keep=yes|nocat={

As Rcat shell

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

{{Category redirect}}

{{Category redirect/sandbox}}

{{category redirect/core/sandbox|target=Example|redirect_categories=

  • From category navigation: This is a redirect from a category that is used as a navigational aid to the target category, via a category navigation template such as {{Category series navigation}} or similar.
    • Please do not remove the tag that generates this text (unless the need to use this category directly has been demonstrated) nor delete this page.
    • This template should only be used on categories which have also been soft-redirected via {{Category redirect}}.

|keep=|nocat={

As Rcat shell with keep = yes

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

{{Category redirect}}

{{Category redirect/sandbox}}

{{category redirect/core/sandbox|target=Example|redirect_categories=

  • From category navigation: This is a redirect from a category that is used as a navigational aid to the target category, via a category navigation template such as {{Category series navigation}} or similar.
    • Please do not remove the tag that generates this text (unless the need to use this category directly has been demonstrated) nor delete this page.
    • This template should only be used on categories which have also been soft-redirected via {{Category redirect}}.

|keep=yes|nocat={