Template:Legacy: Difference between revisions

Template page
m Whoops
Make the template put legacy features into a category
Line 1: Line 1:
<includeonly>{{Note|This article describes a feature marked as legacy—this usually means there's a newer, better alternative. Legacy features might not be removed but they will not be updated, and the [[Resonite Team|team]] will not provide any support for them.|warning}}</includeonly>
<includeonly>
{{Note|This article describes a feature marked as legacy—this usually means there's a newer, better alternative. Legacy features might not be removed but they will not be updated, and the [[Resonite Team|team]] will not provide any support for them.|warning}}
<!-- The page will be added to the category unless `nocat` is specified. -->
{{#ifeq: {{{1|}}} | nocat
||[[Category:Legacy Features]]
}}
</includeonly>
<noinclude>
<noinclude>
== Usage ==
== Usage ==
<code><nowiki>{{Legacy}}</nowiki></code>
<pre><nowiki>{{Legacy}}</nowiki></pre>
{{Legacy}}
Use this template on legacy components or nodes, these usually have 'Legacy' in the name.
Use this template on legacy components or nodes, these usually have 'Legacy' in the name.
{{Legacy|nocat}}
-----
<pre><nowiki>{{Legacy|nocat}}</nowiki></pre>
<code>nocat</code> may be specified to prevent the template from putting the page into [[:Category:Legacy Features]].
</noinclude>
</noinclude>

Revision as of 01:54, 7 April 2025


Usage

{{Legacy}}

Use this template on legacy components or nodes, these usually have 'Legacy' in the name.

This article describes a feature marked as legacy—this usually means there's a newer, better alternative. Legacy features might not be removed but they will not be updated, and the team will not provide any support for them.



{{Legacy|nocat}}

nocat may be specified to prevent the template from putting the page into Category:Legacy Features.