Template:Category handler/testcases

From blackwiki
< Template:Category handler
Revision as of 03:56, 15 November 2009 by imported>Davidgothberg (Testing {{cat handle/blacklist}}. Seems to work.)
Jump to navigation Jump to search

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

xTemplate:Cat handlex

xTemplate:Cat handlex

xTemplate:Cat handlex

xTemplate:Cat handlex

xTemplate:Cat handlex

xTemplate:Cat handlex

xTemplate:Cat handlex


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

xTemplate:Cat handlex

xTemplate:Cat handlex

xTemplate:Cat handlex