Template:Category handler: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(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:
| main = {{{main| {{{other| 1 }}} }}}
{{#ifeq: {{lc: {{{nocat|}}} }} | false
| <!--"nocat=false", force categorise, skip blacklist check-->
| talk = {{{talk| {{{other|}}} }}}
| user = {{{user| {{{other|}}} }}}
| {{cat handle/blacklist| page = {{{page|}}} }} <!--Check blacklist-->
}}
| wikipedia = {{{wikipedia| {{{other|}}} }}}
| <!--Blacklist returned "hide", don't categorise-->
| file = {{{file| {{{image| {{{other| 1 }}} }}} }}}
| {{namespace detect
| mediawiki = {{{mediawiki| {{{other|}}} }}}
| template = {{{template| {{{other|}}} }}}
| main = {{{main| {{{other| 1 }}} }}}
| help = {{{help| {{{other| 1 }}} }}}
| talk = {{{talk| {{{other|}}} }}}
| category = {{{category| {{{other| 1 }}} }}}
| user = {{{user| {{{other|}}} }}}
| portal = {{{portal| {{{other| 1 }}} }}}
| wikipedia = {{{wikipedia| {{{other|}}} }}}
| other = {{{other|}}} <!--Namespace special or a new namespace-->
| file = {{{file| {{{image| {{{other| 1 }}} }}} }}}
| mediawiki = {{{mediawiki| {{{other|}}} }}}
| page = {{{page|}}} <!--For testing and demonstration-->
| 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 03:50, November 15, 2009

Template:Cat handle/numbered