Template:Deprecated: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Fix?)
(Do no include help pages andon the Deprecated category)
 
(4 intermediate revisions by 2 users not shown)
Line 6: Line 6:
   subtext = {{ #if: {{{1|}}} | Please use [[{{{1}}}]] instead. {{{2|}}} }} |
   subtext = {{ #if: {{{1|}}} | Please use [[{{{1}}}]] instead. {{{2|}}} }} |
}}
}}
 
<includeonly>{{ #ifeq: {{NAMESPACE}}|Help||[[Category:Deprecated]] }}</includeonly>
<includeonly>[[Category:Deprecated]]</includeonly><noinclude>
<noinclude>
{{Deprecated|alternativeFunction|more text}}
{{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>
 
{{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.|
<nowiki>{{Deprecated|alternativeFunction|more text}}</nowiki>
* No mandatory parameters.
* No mandatory parameters.
* If there is an alternative for this function or event, please provide at least the first parameter.
* 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]].|}}
* Wiki pages attached to this template will be added to the [[:Category:Deprecated]].|}}
</noinclude>
</noinclude>

Latest revision as of 11:12, 17 January 2016

Emblem-important.png 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.


Applications-office.pngTemplate 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.