Category:Pages with deprecated template input - minecraft.fandom.com
Treść tej podstrony pochodzi z artykułu „Category:Pages with deprecated template input” w domenie minecraft.fandom.com na licencji CC BY-NC-SA 3.0
Pages with template input which is planned for removal. If a deprecated parameter or argument is being used, it should be switched to a non-deprecated parameter or argument, or removed.
A unique sortkey is recommended when adding this template so that the category is sorted by templates instead of pages.
To deprecate a parameter, the following has to be added at the end of the template:
One parameter:
{{#if: {{{parameter|}}} | [[Category:Pages with deprecated template input|Unique sortkey]] }}
Multiple parameters:
{{#if: {{{parameter1|}}}{{{parameter2|}}}{{{parameter3|}}} | [[Category:Pages with deprecated template input|Unique sortkey]] }}
To deprecate an argument, the following has to be added at the end of the template:
An argument:
{{#ifeq: {{{parameter|}}} | argument value | [[Category:Pages with deprecated template input|Unique sortkey]] }}
Make sure to add Category:Templates with deprecated input to the template in the noinclude, next to the documentation, so templates with deprecated input can be found.