Vorlage:Category handler: Unterschied zwischen den Versionen
Vorlage:Category handler (Quelltext anzeigen)
Version vom 2. Dezember 2009, 17:14 Uhr
, vor 16 JahrenAdding "category2 =" support, to work around the "category" parameter name collision. Keeping "category =" support for some hours while fixing any usage out there.
imported>Davidgothberg (Adding "subpage=no/only".) |
imported>Davidgothberg (Adding "category2 =" support, to work around the "category" parameter name collision. Keeping "category =" support for some hours while fixing any usage out there.) |
||
| Zeile 8: | Zeile 8: | ||
| = dontcat <!--"category =", defined but empty--> | | = dontcat <!--"category =", defined but empty--> | ||
<!--Else "category = ¬/'not defined'/yes/'anything'"--> | <!--Else "category = ¬/'not defined'/yes/'anything'"--> | ||
}}{{#switch: {{lc: {{{category2|¬}}} }} | |||
| yes | |||
| ¬ = <!--Not defined--> | |||
| #default = dontcat <!--"category = no/'defined but empty'/'anything'"--> | |||
}}{{#switch: {{lc: {{{subpage|}}} }} | }}{{#switch: {{lc: {{{subpage|}}} }} | ||
| no = | | no = | ||