Template:FunctionEmbed

From Kolmafia
Revision as of 07:29, 22 December 2020 by Philmasterplus (talk | contribs)
Jump to navigation Jump to search


Generates a brief description of a function's signature(s). Used to embed function signatures in function list pages.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Function page name1

Must be a new-style function page

Page namerequired
Show function descriptions?desc

If "yes", also show function descriptions.

Lineoptional

Examples

{{FunctionEmbed|visit_url}}

buffer visit_url()

buffer visit_urlstring, boolean?, boolean? )

{{FunctionEmbed|visit_url|desc=yes}}

buffer visit_url()

Returns the original HTML source of the page being overridden inside a relay override script.

buffer visit_urlstring, boolean?, boolean? )

Visits a web page and returns its HTML source.