Anonymous user
Template:Category handler: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
More efficient code for the "category" parameter. No change in functionality.
(Adding support for "category=empty/no/not defined/¬/yes" for backwards compatibility, to ease deployment. Unfortunately bloating the code.) |
(More efficient code for the "category" parameter. No change in functionality.) |
||
Line 4:
}}{{#ifeq: {{lc: {{{categories|}}} }} | no
| dontcat <!--"categories=no", don't categorize-->
}}{{#
| no <!--"category =
|
▲ | <!--"category = yes" or has other data-->
| <!--Don't categorise (result was "dontcat" or "dontcatdontcat" and so on)-->
| <!--If "data" is a number, return the corresponding
|