Template:Deprecated/doc: Difference between revisions

From BTA-Mirror
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
Line 4: Line 4:
{| class="wikitable"
{| class="wikitable"
!Argument!!Value!!Note
!Argument!!Value!!Note
|<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:Article stubs]].
Line 11: Line 12:
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]]

Revision as of 16:36, 25 March 2023

This template adds a stub warning in the page to indicate that it is lacking much information. Not to be confused with {{Rewrite}}, which is used for pages with much content but low value.

Arguments

Argument Value Note 1 1 The template that should be used instead.
category y, n 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.

{{deprecated|Crafting}} gives:

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