Template:SourceMod API

From AlliedModders Wiki
Revision as of 11:11, 15 October 2020 by Nosoop (talk | contribs) (Update template with docs)
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.