Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
functions:creating_a_custom_function [2025/01/21 01:47] optrix |
functions:creating_a_custom_function [2025/01/21 05:36] (current) optrix |
||
---|---|---|---|
Line 19: | Line 19: | ||
^File Name^Purpose^ | ^File Name^Purpose^ | ||
|desc.html|HTML content to describe the function, provide examples etc.| | |desc.html|HTML content to describe the function, provide examples etc.| | ||
- | |pre_< | + | |script files|Python, batch or [[Formatting |
- | |< | + | |
===Info File Contents=== | ===Info File Contents=== | ||
Line 29: | Line 28: | ||
|name|The friendly name for the API function| | |name|The friendly name for the API function| | ||
|desc|A plain text description of the function| | |desc|A plain text description of the function| | ||
- | |method|The [[style]] | + | |method|The [[style|method]] used to return |
|folder|The organisational folder to place the API function into| | |folder|The organisational folder to place the API function into| | ||
|parameters|The parameters to the function| | |parameters|The parameters to the function| | ||
Line 37: | Line 36: | ||
{ | { | ||
" | " | ||
- | " | + | " |
" | " | ||
" | " | ||
Line 51: | Line 50: | ||
</ | </ | ||
- | This example describes a function called ' | + | This example describes a function called ' |
[[Parameter|Parameter options]] are described later - they are used to not only describe the parameters, but to power the user interface to help test/ | [[Parameter|Parameter options]] are described later - they are used to not only describe the parameters, but to power the user interface to help test/ |