Template:SourceMod API

From AlliedModders Wiki
Revision as of 11:16, 15 October 2020 by Nosoop (talk | contribs) (Avoid breaking lines after the end of the template)
Jump to: navigation, search

{{{function}}}

This generates a link to the SourceMod Scripting API reference entry.

Usage

{{SourceMod API|file=datapack|class=DataPack|function=Reset}}

produces

DataPack.Reset

Parameters

file
the source file that contains the function.
class
optional. The methodmap class associated with a method. If this is present, the link will be displayed as Class.Method.
function
the function / method / other identifier.