Template:Deprecated: Difference between revisions
make it meaner |
No edit summary |
||
| Line 9: | Line 9: | ||
| #default = article | | #default = article | ||
}} is deprecated''' and should no longer be used. [[Special:WhatLinksHere/{{FULLPAGENAMEE}}|Existing uses]] should be updated. {{{1}}} | }} is deprecated''' and should no longer be used. [[Special:WhatLinksHere/{{FULLPAGENAMEE}}|Existing uses]] should be updated. {{{1}}} | ||
</div></div></div></div>| <span class="error">Error: Signature is required. <span style="font-size: smaller">Use {{tlx|Deprecated|~~<nowiki/>~~}} instead.</span></span> | </div></div></div></div>| <span class="error">Error: Signature is required. <span style="font-size: smaller">Use {{tlx|Deprecated|~~<nowiki/>~~}} instead.</span></span>{{clear}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
Revision as of 15:00, 21 February 2026
{{deprecated|~~~~}}
A hatnote notice that a template or module is deprecated and should no longer be used. To be used at the top of documentation subpages, underneath the {{Documentation subpage}} template. Can also be used directly on template pages inside a <noinclude> tag, for templates which have no documentation subpage.
When adding this hatnote to a page, your signature (i.e. ~~~~) must be in the first parameter. This lets others know who's working on what. Additional information about the state of the work can be included before the signature if desired.
When used in template documentation, automatically adds Category:Deprecated templates to the template being documented.
- If using {{Documentation}} and a
/docsubpage, place the hatnote on the documentation subpage, underneath the {{documentation subpage}} hatnote. - Otherwise, include the hatnote directly in the template page inside a
<noinclude>tag.
Examples
{{deprecated|~~~~}}
Note: The ~~~~ is substituted for your signature and the current date/time when saving the page.
{{deprecated|Use the corresponding Lua module instead. ~~~~}}