Template:Category handler: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Davidgothberg More robust to use numbered instead of unnamed parameters for {{cat handle/numbered}}. |
meta>Davidgothberg 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--> | |||
}} | |||
}} | }} | ||
}} | }} |