Difference between revisions of "Template:Cat handler"
From Self-sufficiency
(More robust to use numbered instead of unnamed parameters for {{cat handle/numbered}}.) |
(Added blacklist check.) |
||
Line 13: | Line 13: | ||
| 10 = {{{10|}}} | | 10 = {{{10|}}} | ||
| data = | | data = | ||
− | {{namespace detect | + | {{#if: |
− | + | {{#ifeq: {{lc: {{{nocat|}}} }} | false | |
− | + | | <!--"nocat=false", force categorise, skip blacklist check--> | |
− | + | | {{cat handle/blacklist| page = {{{page|}}} }} <!--Check blacklist--> | |
− | + | }} | |
− | + | | <!--Blacklist returned "hide", don't categorise--> | |
− | + | | {{namespace detect | |
− | + | | main = {{{main| {{{other| 1 }}} }}} | |
− | + | | talk = {{{talk| {{{other|}}} }}} | |
− | + | | user = {{{user| {{{other|}}} }}} | |
− | + | | wikipedia = {{{wikipedia| {{{other|}}} }}} | |
− | + | | file = {{{file| {{{image| {{{other| 1 }}} }}} }}} | |
− | + | | mediawiki = {{{mediawiki| {{{other|}}} }}} | |
+ | | template = {{{template| {{{other|}}} }}} | ||
+ | | help = {{{help| {{{other| 1 }}} }}} | ||
+ | | category = {{{category| {{{other| 1 }}} }}} | ||
+ | | portal = {{{portal| {{{other| 1 }}} }}} | ||
+ | | other = {{{other|}}} <!--Namespace special or a new namespace--> | ||
+ | | page = {{{page|}}} <!--For testing and demonstration--> | ||
+ | }} | ||
}} | }} | ||
}} | }} |
Revision as of 04:50, 15 November 2009
[edit]
Documentation