Diferencia entre revisiones de «Plantilla:Deprecated template»
De Familia Sanchez Arjona
(Add detection for parameters that will soon be deprecated.) |
(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.) |
||
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 | |
− | + | |{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}<!--Don't categorise /doc pages --> | |
− | + | |{{#ifeq:{{PAGENAME}}|{{ucfirst:{{{1}}}}}<!-- only for the deprecated template itself --> | |
− | + | |{{#ifeq:{{{nocat|}}}|true||{{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:39 23 dic 2013
40px | Template:Deprecated template is deprecated. Please use [[Template:{{{2}}}]] instead. |
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. |