Template:Deprecated template: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(new template)
 
(namespace detection)
 
Line 1: Line 1:
{{Ambox
{{Ambox
|type=notice
|type=notice
|text='''This template is deprecated.''' <br> '''Reason:''' ''{{{reason|<span style="color:red; font-weight:bold; font-size:90%">No reason given</span>}}}'' <br> <small>The template might work as originally intended, so unless errors occur, it does not need to be replaced. If you detect that the template doesn't work, please try fixing it or contact an administrator.</small>
|text='''This template is deprecated.''' <br> '''Reason:''' ''{{{reason|<span style="color:red; font-weight:bold; font-size:90%">No reason given</span>}}}'' <br> <small>The template might work as originally intended, so unless errors occur, it does not need to be replaced. If you detect that the template doesn't work, please try fixing it or contact an administrator.</small> {{#ifeq: {{{includecat|<noinclude>no</noinclude>}}}|no| |{{Namespace|template=|others= <hr> <span style="color:red; font-weight: bold; font-size:75%">This template is only intended to be used on a template page. Please consider removing this template from this page or ignore the namespace error using the parameter "includecat".</span> [[Category:Pages with templates in wrong namespace]]}}}}
|mini = {{{mini|}}}
|mini = {{{mini|}}}
|category = Deprecated templates
|category = Deprecated templates

Latest revision as of 11:12, 4 April 2024


Template Documentation
Used to inform editors that a template should no longer be used but should still remain functional. Only to be used on template pages, do not include into the template itself!

Deprecated templates may remain on the pages that transclude them already, but new transclusion should be avoided. If deprecation is due to being replaced by another, more functional template, tell the readers which one so that it can be found. Categorize pages with a deprecated template with Category:Pages with deprecated templates by including that category within the deprecated template.

Basic usage:

{{Deprecated template|reason= }}
Give the reason for the deprecation using reason parameter.