Template:Deprecated template: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
Ganaram inukshuk (talk | contribs)
try to add category handler
Line 3: Line 3:
| type = delete
| type = delete
| text = [[{{ARTICLESPACE}}:{{{1|{{ROOTPAGENAME}}}}}]] is deprecated. {{#if:{{{2|}}}|Please use [[{{{2}}}]] instead.}} {{{details|}}}
| text = [[{{ARTICLESPACE}}:{{{1|{{ROOTPAGENAME}}}}}]] is deprecated. {{#if:{{{2|}}}|Please use [[{{{2}}}]] instead.}} {{{details|}}}
}}{{#ifeq: {{ARTICLESPACE}}:{{ucfirst:{{{1|}}}}}|{{ARTICLEROOTPAGENAME}}|[[Category:Deprecated templates]]|[[Category:Pages with deprecated templates]]}}{{#ifeq: {{lc: {{ARTICLEROOTPAGENAME}}}}|template:deprecated template||[[Category:Deprecated templates]]}}</includeonly><noinclude>
}}
{{Category handler
| {{#ifeq: {{NAMESPACE}} | Template
    | {{#ifeq: {{lc:{{ARTICLEROOTPAGENAME}}}} | template:deprecated template
        | <!-- Don't categorize self -->
        | Deprecated templates
      }}
    | Pages with deprecated templates
  }}
| {{{debug|}}}
}}</includeonly><noinclude>
{{documentation}}
{{documentation}}


[[Category:Message boxes]]
[[Category:Message boxes]]
</noinclude>
</noinclude>