Template:Deprecated/doc: Difference between revisions
imported>Ttv pedro270707 (Created page with "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. == Arguments == {| class="wikitable" !Argument!!Value!!Note |- |<code>category</code>||<code>y</code>, <code>n</code>||Defines if the page should be in Category:Article stubs. |} == Usage == This template should generally be used in the header of the page or section....") |
imported>Ttv pedro270707 mNo edit summary |
||
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
This template adds a | This template adds a deprecation warning on templates that should not be used due to being outdated. | ||
== Arguments == | == Arguments == | ||
Line 5: | Line 5: | ||
!Argument!!Value!!Note | !Argument!!Value!!Note | ||
|- | |- | ||
|<code>category</code>||<code>y</code>, <code>n</code>||Defines if the page should be in [[:Category: | |<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:Deprecated templates]]. | |||
|} | |} | ||
Line 11: | Line 13: | ||
This template should generally be used in the header of the page or section. | This template should generally be used in the header of the page or section. | ||
<code><nowiki>{{deprecated}}</nowiki></code> gives: | <code><nowiki>{{deprecated|Crafting}}</nowiki></code> gives: | ||
{{deprecated|category=n}} | {{deprecated|Crafting|category=n}} | ||
[[Category:Article management templates]] | [[Category:Article management 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: