diff options
Diffstat (limited to 'stardoc/templates/markdown_tables/rule.vm')
-rw-r--r-- | stardoc/templates/markdown_tables/rule.vm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/stardoc/templates/markdown_tables/rule.vm b/stardoc/templates/markdown_tables/rule.vm new file mode 100644 index 0000000..567bc9f --- /dev/null +++ b/stardoc/templates/markdown_tables/rule.vm @@ -0,0 +1,20 @@ +<a name="#${ruleName}"></a> + +#[[##]]# ${ruleName} + +<pre> +${util.ruleSummary($ruleName, $ruleInfo)} +</pre> + +${ruleInfo.docString} + +**ATTRIBUTES** + +#if (!$ruleInfo.getAttributeList().isEmpty()) + +| Name | Description | Type | Mandatory | Default | +| :-------------: | :-------------: | :-------------: | :-------------: | :-------------: | +#foreach ($attribute in $ruleInfo.getAttributeList()) +| $attribute.name | #if(!$attribute.docString.isEmpty()) ${util.markdownCellFormat($attribute.docString)} #else - #end | ${util.attributeTypeString($attribute)} | ${util.mandatoryString($attribute)} | $attribute.defaultValue | +#end +#end |