Excerpt |
---|
Enables you to display data that is generated by SIL script in a table, great for reporting. |
...
- To add a TableScriptMacro, go to your page and click Insert more content.
- Click the Other macros > SIL table.
- In the displayed dialog, fill out the necessary fields:
- Enter the script name that you created.
- Enter the column names for the columns.
- Enter the input - space key and the page name where you want to display the variables.
- Define the separator. In our case we used comma as a separator, and you can define another symbol. For instance, in cases where a page contains commas in the name, you might want to use period as a separator.
- If the transposed checkbox is selected, the table columns will be transposed.
- Click Save to create a TableScriptMacro.
...
You have created CollectDescendants.sil script and a TableScriptMacro that is associated with this script.
Result
Every time you that update a page, the macro will display data generated by the selected SIL script in a table.
...