Template:Deprecated

From Kolmafia
Revision as of 19:05, 2 October 2022 by QuietMisdreavus (talk | contribs) (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|...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


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.