Template:F

From Kolmafia
Jump to navigation Jump to search

A simple way of linking to a function page, but displaying it with the parentheses.

For example,

{{f|to_string}}

produces: to_string().

You can link to a function page while using a different name (e.g. when discussing JavaScript versions of ASH functions) by specifying a second parameter.

For example,

{{f|to_string|toString}}

produces toString().