Diferencia entre revisiones de «Plantilla:Deprecated template»

De Familia Sanchez Arjona
Saltar a: navegación, buscar
(The purpose of nocat was to avoid categorizing non-template namespace pages that use this template. But not to avoid detection of their transclusions. Although I admit it is taking a chance.)
(Undid revision 587337114 by Debresser (talk) Obviously hadn't thought this through.)
Línea 10: Línea 10:
 
   | {{[[{{{4|Template}}}:{{{1|{{PAGENAME}}}}}]]}} is [[:Category:Deprecated templates|deprecated]].
 
   | {{[[{{{4|Template}}}:{{{1|{{PAGENAME}}}}}]]}} is [[:Category:Deprecated templates|deprecated]].
 
   }}
 
   }}
}}{{#ifeq:{{ARTICLESPACE}}|Template
+
}}{{#if:{{{4|}}}|[[Category:Dovid]]}}{{#if:{{{5|}}}|[[Category:Dovid]]}}{{#ifeq:{{{nocat|}}}|true
    |{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}<!--Don't categorise /doc pages -->
+
  ||{{#ifeq:{{ARTICLESPACE}}|Template
        |{{#ifeq:{{PAGENAME}}|{{ucfirst:{{{1}}}}}<!-- only for the deprecated template itself -->
+
      |{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}<!--Don't categorise /doc pages -->
          |{{#ifeq:{{{nocat|}}}|true||{{DMC|Deprecated templates|from|{{{date|}}}}}}}
+
        |{{#ifeq:{{PAGENAME}}|{{ucfirst:{{{1}}}}}<!-- only for the deprecated template itself -->
        }}
+
            |{{DMC|Deprecated templates|from|{{{date|}}}}}
      }}
+
          }}
 +
        }}
 
       |[[Category:Pages using deprecated templates]]
 
       |[[Category:Pages using deprecated templates]]
 +
    }}
 
   }}<noinclude>
 
   }}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revisión del 08:55 23 dic 2013

50px Template documentation[create]