diff options
Diffstat (limited to 'stardoc/templates/markdown_tables/func.vm')
-rw-r--r-- | stardoc/templates/markdown_tables/func.vm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/stardoc/templates/markdown_tables/func.vm b/stardoc/templates/markdown_tables/func.vm new file mode 100644 index 0000000..221bb62 --- /dev/null +++ b/stardoc/templates/markdown_tables/func.vm @@ -0,0 +1,20 @@ +<a name="#${funcInfo.functionName}"></a> + +#[[##]]# ${funcInfo.functionName} + +<pre> +${util.funcSummary($funcInfo)} +</pre> + +${funcInfo.docString} + +**PARAMETERS** + +#if (!$funcInfo.getParameterList().isEmpty()) + +| Name | Description | Default Value | +| :-------------: | :-------------: | :-------------: | +#foreach ($param in $funcInfo.getParameterList()) +| $param.name | #if(!$param.docString.isEmpty()) ${util.markdownCellFormat($param.docString)} #else <p align="center"> - </p> #end | #if(!$param.getDefaultValue().isEmpty()) <code>$param.getDefaultValue()</code> #else none #end| +#end +#end |