Template:Deprecated: Difference between revisions
Jump to navigation
Jump to search
m (Testing how Template deprecated looks with Template Ambox...) |
(Do no include help pages andon the Deprecated category) |
||
(22 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{MessageBox| | ||
bordercolorhex = FF0000 | | bordercolorhex = FF0000 | | ||
bgcolorhex = | 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.}} | | ||
subtext = {{ #if: {{{1|}}} | Please use [[{{{1}}}]] instead. {{{2|}}} }} | | |||
}} | }} | ||
<includeonly>[[Category:Deprecated]]</includeonly> | <includeonly>{{ #ifeq: {{NAMESPACE}}|Help||[[Category:Deprecated]] }}</includeonly> | ||
<noinclude> | |||
{{Template documentation|Use this template to mark 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.| | |||
<nowiki>{{Deprecated|alternativeFunctionOrEvent|more text}}</nowiki> | |||
* No mandatory parameters. | |||
* If there is an alternative for this function or event, please provide at least the first parameter. | |||
* Wiki pages attached to this template will be added to the [[:Category:Deprecated]].|}} | |||
</noinclude> |
Latest revision as of 11:12, 17 January 2016
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
Use this template to mark 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
{{Deprecated|alternativeFunctionOrEvent|more text}}
- No mandatory parameters.
- If there is an alternative for this function or event, please provide at least the first parameter.
- Wiki pages attached to this template will be added to the Category:Deprecated.