+{spc} | {name} |
+{spc} {type} |
+{spc} {columns} |
+{spc}
+
+%if {ref-table} %then
+ %if {split} %then
+ {ref-table}
+ %else
+ {ref-table}
+ %end
+%end
+
+ |
+
+%if ({type} != "FOREIGN KEY") %then
+ {spc} \ |
+ {spc} \ |
+%else
+ {spc} {upd-action} |
+ {spc} {del-action} |
+%end
+
+{spc}
+
+%if ({type} == "CHECK") %then
+ {expression}
+%end
+
+ |
+
+{spc} {comment} |
+{spc}
diff --git a/assets/schemas/datadict/html/datadict.sch b/assets/schemas/datadict/html/datadict.sch
new file mode 100644
index 0000000000..499e7be318
--- /dev/null
+++ b/assets/schemas/datadict/html/datadict.sch
@@ -0,0 +1,13 @@
+# Template code for data dictionary generation
+# CAUTION: Do not modify this file unless you know what you are doing.
+# Code generation can be broken if incorrect changes are made.
+
+@include "header"
+
+%if %not {split} %and {datadictidx} %then
+ {datadictidx}
+%end
+
+{objects}
+
+@include "footer"
diff --git a/assets/schemas/datadict/html/datadictidx.sch b/assets/schemas/datadict/html/datadictidx.sch
new file mode 100644
index 0000000000..da51fe5e87
--- /dev/null
+++ b/assets/schemas/datadict/html/datadictidx.sch
@@ -0,0 +1,43 @@
+# Template code for data dictionary generation
+# CAUTION: Do not modify this file unless you know what you are doing.
+# Code generation can be broken if incorrect changes are made.
+
+@include "header"
+
+%set {spc} \n \s
+
+\n [