Template:Deprecated: Difference between revisions
Jump to navigation
Jump to search
m (Added template) |
(Improved template with optional arguments) |
||
Line 3: | Line 3: | ||
bgcolorhex = FFBFBF | | bgcolorhex = FFBFBF | | ||
image = File:Emblem-important.png | | image = File:Emblem-important.png | | ||
message = This {{#ifeq: {{padleft:|2|{{lc:{{PAGENAME}}}}}}|on|event|function}} is deprecated. This means that its use is discouraged and that it might not exist in future versions, but there should be | message = This {{#ifeq: {{padleft:|2|{{lc:{{PAGENAME}}}}}}|on|event|function}} is deprecated. This means that its use is discouraged and that it might not exist in future versions{{#if: {{{1|}}}.|, but there should be a more generic way to perform what it does.}} | {{#if: {{{1|}}} | ||
subtext = Please use [[{{{1}}}]] instead. {{{2|}}}|||}} | |||
}} | }} | ||
<includeonly>[[Category:Deprecated]]</includeonly><noinclude> | <includeonly>[[Category:Deprecated]]</includeonly><noinclude> | ||
{{ | {{Deprecated|alternativeFunction|more text}} | ||
{{Template documentation|Functions and events that are being deleted from MTA because there is a more generic way and might not exist in the future.| | |||
<syntaxhighlight lang="lua",N><nowiki>{{Deprecated}}</nowiki></syntaxhighlight> | |||
* No parameters | {{Template documentation|Functions and events that are being deleted from MTA because there is a more generic way to perform what they do and might not exist in the future.| | ||
* If there is an alternative for this function or event please | <syntaxhighlight lang="lua",N><nowiki>{{Deprecated|alternativeFunction|more text}}</nowiki></syntaxhighlight> | ||
* Wiki pages attached to this template will be added to the [[:Category:Deprecated]]| | * No mandatory parameters. | ||
* If there is an alternative for this function or event, please provide at least the ''alternativeFunction'' parameter. | |||
* Wiki pages attached to this template will be added to the [[:Category:Deprecated]].|}} | |||
}} | |||
</noinclude> | </noinclude> |
Revision as of 08:57, 26 June 2014
This function is deprecated. This means that its use is discouraged and that it might not exist in future versions, but there should be a more generic way to perform what it does. | |
This function is deprecated. This means that its use is discouraged and that it might not exist in future versions, but there should be a more generic way to perform what it does. | |
Template Documentation
Functions and events that are being deleted from MTA because there is a more generic way to perform what they do and might not exist in the future.
Usage
<nowiki>{{Deprecated|alternativeFunction|more text}}</nowiki>
- No mandatory parameters.
- If there is an alternative for this function or event, please provide at least the alternativeFunction parameter.
- Wiki pages attached to this template will be added to the Category:Deprecated.