Template:Deprecated/doc: Difference between revisions

imported>Ttv pedro270707
mNo edit summary
imported>Ttv pedro270707
mNo edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
This template adds a stub warning in the page to indicate that it is lacking much information. Not to be confused with {{tl|Template:Rewrite}}, which is used for pages with much content but low value.
This template adds a deprecation warning on templates that should not be used due to being outdated.


== Arguments ==
== Arguments ==
{| class="wikitable"
{| class="wikitable"
!Argument!!Value!!Note
!Argument!!Value!!Note
|-
|<code>1</code>||<code>1</code>||The template that should be used instead.
|<code>1</code>||<code>1</code>||The template that should be used instead.
|-
|-
|<code>category</code>||<code>y</code>, <code>n</code>||Defines if the page should be in [[:Category:Article stubs]].
|<code>category</code>||<code>y</code>, <code>n</code>||Defines if the page should be in [[:Category:Deprecated templates]].
|}
|}



Latest revision as of 16:38, 25 March 2023

This template adds a deprecation warning on templates that should not be used due to being outdated.

Arguments Edit

Argument Value Note
1 1 The template that should be used instead.
category y, n Defines if the page should be in Category:Deprecated templates.

Usage Edit

This template should generally be used in the header of the page or section.

{{deprecated|Crafting}} gives:

This template is deprecated.
The {{Crafting}} template should be used instead.