Vorlage:Category handler: Unterschied zwischen den Versionen

Aus skandinavien-wiki.net
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.)
imported>Davidgothberg
(Should be "category2" in two more places.)
Zeile 11: Zeile 11:
   | yes
   | yes
   | ¬  =  <!--Not defined-->
   | ¬  =  <!--Not defined-->
   | #default = dontcat  <!--"category = no/'defined but empty'/'anything'"-->
   | #default = dontcat  <!--"category2 = no/'defined but empty'/'anything'"-->
   }}{{#switch: {{lc: {{{subpage|}}} }}
   }}{{#switch: {{lc: {{{subpage|}}} }}
   | no =  
   | no =  
Zeile 33: Zeile 33:
     | {{#ifeq: {{lc: {{{categories|}}} }} | yes
     | {{#ifeq: {{lc: {{{categories|}}} }} | yes
       |  <!--Skip blacklist check-->
       |  <!--Skip blacklist check-->
       | {{#ifeq: {{lc: {{{category|}}} }} | yes
       | {{#ifeq: {{lc: {{{category2|}}} }} | yes
         |  <!--Skip blacklist check-->
         |  <!--Skip blacklist check-->
         | {{cat handler/blacklist| page = {{{page|}}} }}  <!--Check blacklist-->
         | {{cat handler/blacklist| page = {{{page|}}} }}  <!--Check blacklist-->

Version vom 2. Dezember 2009, 17:21 Uhr

Template-info.png Dokumentation für die Vorlage {{Category handler}}[Ansicht] [Bearbeiten] [Versionsgeschichte] [Aktualisieren]
Für die Vorlage {{Category handler}} gibt es noch keine Dokumentation. Du kannst sie aber anlegen.
Hinweise