Template:Function
From NWNWiki
This template allows for uniform formatting of function declarations.
{{{returns}}} {{{name}}} ()
This template takes the following parameters:
- name — The name of the function.
- returns — The type of value returned by the function.
- param1 — The first parameter, including the type. Optional
- param1default — The default value of the first parameter. Optional
- param1desc — A description of the first parameter. Optional
- …
- param12 — The twelfth parameter, including the type. Optional
- param12default — The default value of the twelfth parameter. Optional
- param12desc — A description of the twelfth parameter. Optional
Support for additional parameters can be added as needed.
