Template:Deprecated template: Difference between revisions

Fredg999 (talk | contribs)
Created page with "<includeonly><div style=" margin:4px 10%; border:2px #b32424 solid; background-color:#f8f9fa; text-align:center; padding: 1em;">[[Template:{{old}}]] is deprecated. {{#if:{{{ne..."
 
Fredg999 (talk | contribs)
m Fix noinclude range
Line 6: Line 6:
padding: 1em;">[[Template:{{old}}]] is deprecated. {{#if:{{{new|}}}|Please use [[{{{new}}}]] instead.}} {{{details|}}}</div>
padding: 1em;">[[Template:{{old}}]] is deprecated. {{#if:{{{new|}}}|Please use [[{{{new}}}]] instead.}} {{{details|}}}</div>
{{#ifeq:Template:{{ucfirst:{{{old|}}}}}|{{FULLPAGENAME}}|[[Category:Deprecated templates]]|[[Category:Pages using deprecated templates]]}}</includeonly>
{{#ifeq:Template:{{ucfirst:{{{old|}}}}}|{{FULLPAGENAME}}|[[Category:Deprecated templates]]|[[Category:Pages using deprecated templates]]}}</includeonly>
The <nowiki>{{</nowiki>'''Deprecated template'''<nowiki>}}</nowiki> template notifies users that a given template has been replaced by a different one or ones, or simply deprecated (advised to no longer be used) without a replacement. Whenever possible, it should replace the deprecated template's content entirely, so that someone using the template will see only the message.
<noinclude>The <nowiki>{{</nowiki>'''Deprecated template'''<nowiki>}}</nowiki> template notifies users that a given template has been replaced by a different one or ones, or simply deprecated (advised to no longer be used) without a replacement. Whenever possible, it should replace the deprecated template's content entirely, so that someone using the template will see only the message.


== Usage ==
== Usage ==
Line 30: Line 30:
* [[:Category:Pages with deprecated templates]]
* [[:Category:Pages with deprecated templates]]


<noinclude>[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>