More actions
That extra ":" was doing something strange |
Add text adaptation based on namespace in which the template is used. |
||
| Line 1: | Line 1: | ||
{{Color box|color=#723913|border=#d16d2a|'''This article is deprecated and no longer in use.''' <!-- | {{Color box | ||
-->{{#if: {{{newinfo|}}} |Please visit {{{newinfo}}} for current info.|There is no replacement information available.}} <!-- | |color= #723913 | ||
|border= #d16d2a | |||
|width= 85% | |||
|align= center | |||
|'''This <noinclude><article / file / template / category / page></noinclude><includeonly>{{#switch: {{NAMESPACENUMBER}} | |||
| 0= article | |||
| 6= file | |||
| 10= template | |||
| 14= category | |||
| #default= page | |||
}}</includeonly> is deprecated and no longer in use.''' <!-- | |||
-->{{#if: {{{1|}}} | |||
|<br>Please visit {{{1}}} for current info. | |||
|{{#if: {{{newinfo|}}} | |||
|<br>Please visit {{{newinfo}}} for current info. | |||
|There is no replacement information available. | |||
}} | |||
}} <!-- | |||
-->{{#if: {{{user|}}} |User: {{{user|}}}|}} | -->{{#if: {{{user|}}} |User: {{{user|}}}|}} | ||
}} | }} | ||
<includeonly>[[Category:Deprecated pages]]</includeonly><noinclude> | <includeonly>{{#ifeq: {{NAMESPACENUMBER}}|10|[[Category:Deprecated templates]]|[[Category:Deprecated pages]]}}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||