Difference between revisions of "Template:Deprecated"

From Kolmafia
Jump to navigation Jump to search
(Created page with "<includeonly> <div style="border: solid 1px red; margin: 0.2em; padding: 1em; background-color: #fff8dc; text-align: center;"> '''This function is deprecated{{#if: {{mafiaref|...")
 
 
Line 4: Line 4:
 
{{#if: {{more_info|}}|<p>{{{more_info}}}</p>}}
 
{{#if: {{more_info|}}|<p>{{{more_info}}}</p>}}
 
</div>
 
</div>
 +
[[Category:Deprecated Functions]]
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>

Latest revision as of 19:23, 2 October 2022


This template can be used on a function page (outside of the FunctionPage template) to indicate that the function is deprecated. The mafiaref parameter can be used to indicate which KoLmafia version the function was deprecated in. The more_info parameter can be used to provide more details, such as an alternative function that can be used instead.

Example

{{Deprecated|
mafiaref=31337|
more_info=Use this other function instead.}}

This renders as:


This function is deprecated in KoLmafia 31337.

Use this other function instead.