Difference between revisions of "Template:Category handler"
From Ava Zinn Wiki
[unchecked revision] | [unchecked revision] |
(Should be "category2" in two more places.) |
Aeverinezinn (talk | contribs) m (26 revisions from wikipedia:Template:Category handler) |
||
(12 intermediate revisions by 7 users not shown) | |||
Line 4: | Line 4: | ||
}}{{#ifeq: {{lc: {{{categories|}}} }} | no | }}{{#ifeq: {{lc: {{{categories|}}} }} | no | ||
| dontcat | | dontcat | ||
− | |||
− | |||
− | |||
− | |||
}}{{#switch: {{lc: {{{category2|¬}}} }} | }}{{#switch: {{lc: {{{category2|¬}}} }} | ||
| yes | | yes | ||
Line 42: | Line 38: | ||
| #default = | | #default = | ||
<!--Check if any namespace parameter is defined--> | <!--Check if any namespace parameter is defined--> | ||
− | {{#ifeq: h0#384!5nea+w9 | {{{all| {{{main| {{{talk| {{{user| {{{wikipedia| {{{file| {{{mediawiki| {{{template| {{{help| {{{category| {{{portal| {{{other| h0#384!5nea+w9 }}} }}} }}} }}} }}} }}} }}} }}} }}} }}} }}} }}} | + | {{#ifeq: h0#384!5nea+w9 | {{{all| {{{main| {{{talk| {{{user| {{{wikipedia| {{{file| {{{mediawiki| {{{template| {{{help| {{{category| {{{portal| {{{book| {{{other| h0#384!5nea+w9 }}} }}} }}} }}} }}} }}} }}} }}} }}} }}} }}} }}} }}} |
| <!--No namespace parameters fed, basic usage--> | | <!--No namespace parameters fed, basic usage--> | ||
{{namespace detect | {{namespace detect | ||
Line 50: | Line 46: | ||
| category = {{{1|}}} | | category = {{{1|}}} | ||
| portal = {{{1|}}} | | portal = {{{1|}}} | ||
+ | | book = {{{1|}}} | ||
| page = {{{page|}}} <!--For testing and demonstration--> | | page = {{{page|}}} <!--For testing and demonstration--> | ||
}} | }} | ||
Line 80: | Line 77: | ||
| category = {{{category| {{{other|}}} }}} | | category = {{{category| {{{other|}}} }}} | ||
| portal = {{{portal| {{{other|}}} }}} | | portal = {{{portal| {{{other|}}} }}} | ||
+ | | book = {{{book| {{{other|}}} }}} | ||
| other = {{{other|}}} <!--Namespace special or a new namespace--> | | other = {{{other|}}} <!--Namespace special or a new namespace--> | ||
| page = {{{page|}}} <!--For testing and demonstration--> | | page = {{{page|}}} <!--For testing and demonstration--> |
Latest revision as of 06:29, 15 March 2016
Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |