Template:Decat/doc

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

This template removes all categories within its input. It is mostly useful when providing preview versions of a template that adds one or more categories to the page, because adding categories to the template's page is usually not appreciated.

Usage

[edit]
{{decat
|1 =
}}

|1= is the text you want to decat.

Example

[edit]
{{decat|1=This is a test case [[Category:Test]]}}

Returns:

This is a test case