Template:Deprecated template: Difference between revisions
mNo edit summary |
Fix the code: {{ARTICLESPACE}} uses the namespace of the *page it's transcluded on*, not the namespace of the template itself, so it would be problematic. |
||
| (14 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{Mbox | <includeonly>{{Mbox | ||
| icon = Icon-Deprecated.png | |||
| type = delete | | type = delete | ||
| text = [[ | | text = [[{{{1|{{ROOTPAGENAME}}}}}]] is deprecated. {{#if:{{{2|}}}|Please use [[{{{2}}}]] instead.}} | ||
{{#if: {{{details|}}} | '''Details:''' {{{details}}}}} | |||
| | |||
}} | }} | ||
{{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}} | |||
[[Category:Message boxes]] | |||
</noinclude> | |||
[[Category:Message boxes]]</noinclude> | |||