Template:Category handler/testcases
< Template:Category handler
Jump to navigation
Jump to search
Revision as of 03:56, 15 November 2009 by imported>Davidgothberg (Testing {{cat handle/blacklist}}. Seems to work.)
| This is the template test cases page for the sandbox of Template:Category handler. Script error: No such module "Purge". 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: |
Testing {{cat handle/numbered}}
x{{cat handle/numbered}}x
x{{cat handle/numbered
| 1 = a
| 2 = b
| 3 = c
| data = 3
}}x
x{{cat handle/numbered
| 1 = a
| 2 = b
| 3 = c
| data = Somecat
}}x
x{{cat handle/numbered
| 1 = a
| 2 = b
| 3 = c
| data = [[Category:Test]]
}}x
xTemplate:Cat handle/numberedx
xTemplate:Cat handle/numberedx
xTemplate:Cat handle/numberedx
xTemplate:Cat handle/numberedx
Testing {{cat handle/blacklist}}
x{{cat handle/blacklist}}x
x{{cat handle/blacklist
| page = User talk:Example
}}x
x{{cat handle/blacklist
| page = User talk:Example/Archive 5
}}x
x{{cat handle/blacklist
| page = Wikipedia:Template messages/Wikipedia namespace
}}x
xTemplate:Cat handle/blacklistx
xTemplate:Cat handle/blacklistx
xTemplate:Cat handle/blacklistx
xTemplate:Cat handle/blacklistx
Testing {{cat handle}}
x{{cat handle}}x
x{{cat handle
| Somecat
}}x
x{{cat handle
| template = Somecat
}}x
x{{cat handle
| Somecat
| page = Somearticle
}}x
x{{cat handle
| Somecat
| page = File:Example/test
}}x
x{{cat handle
| Somecat
| page = File:Example/test
| nocat =
}}x
x{{cat handle
| Somecat
| page = File:Example/test
| nocat = true
}}x
x{{cat handle
| main = Category:Somecat1 Category:Somecat2
| 1 = Category:Somecat3 <!--For help, user and template space-->
| help = 1
| user = 1
| template = 1
| talk = <!--No categories on talk pages-->
| other = Category:Somecat4 <!--For all other namespaces-->
| nocat = {{{nocat|}}} <!--So "nocat=true/false" works-->
}}x
x{{cat handle
| main = Category:Somecat1 Category:Somecat2
| 3 = Category:Somecat3 <!--For help, user and template space-->
| help = 3
| user = 3
| template = 3
| talk = <!--No categories on talk pages-->
| other = Category:Somecat4 <!--For all other namespaces-->
| nocat = {{{nocat|}}} <!--So "nocat=true/false" works-->
}}x
x{{cat handle
| main = Category:Somecat1 Category:Somecat2
| 3 = Category:Somecat3 <!--For help, user and template space-->
| help = 3
| user = 3
| template = 3
| talk = <!--No categories on talk pages-->
| other = Category:Somecat4 <!--For all other namespaces-->
| nocat = {{{nocat|}}} <!--So "nocat=true/false" works-->
| page = Somearticle
}}x