Template:DeprecatedAPI/documentation: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:


==Usage==
==Usage==
This template requires two parameters:
This template has no parameters.
 
:1 - Indicate whether it is a method or property.
 
:2 - Add the link to the new or recommended method/property.
 
 
For example, the following code will generate a template for a deprecated ''method'' that has been replaced with the ''Repository.Model.GetAllModels'' method:
 
<pre>
 
{{Template:DeprecatedAPI|method|[[Repository.Model.GetAllModels]]}}
 
</pre>
 
The output appears as follows:
 
{{Template:DeprecatedAPI|method|[[Repository.Model.GetAllModels]]}}
 
 




</div>
</div>

Revision as of 20:32, 22 October 2015


Template Documentation

This is a boilerplate template for Synthesis API methods and properties that have been deprecated (i.e., marked for removal in future versions of the API).

Usage

This template has no parameters.