Below is the sample page that you should expect from your own test.rbx.
Test Name | Test | Expected Output |
<?tmpl.file name="include_tmpl.tmpl" ?> | A non-recursive included file | A non-recursive included file |
<?tmpl.file name="include_docs.tmpl" relative="yes" ?> | A non-recursive included file (file in docs directory) | A non-recursive included file (file in docs directory) |
<?tmpl.file name="non_existent_file.tmpl" ?> | File "non_existent_file.tmpl" does not exist in the path ".:./tmpl" | File "non_existent_file.tmpl" does not exist in the path ".:./tmpl" |
<?tmpl.file name="non_existent_file.tmpl" error_msg="file not found" ?> | file not found | file not found |
<?tmpl.file name="include_recursive.tmpl" ?> | ##1st FILE ## ##BEGIN 2ND INCLUDE##--2nd FILE--##END 2ND INCLUDE## | ##1st FILE ## ##BEGIN 2ND INCLUDE##--2nd FILE--##END 2ND INCLUDE## |
<?tmpl.file name="include_widget.tmpl" ns='' ?> | Basic widget that is color blue | Basic widget that is color blue |
<?tmpl.file name="include_widget.tmpl" ns='top' ?> | Basic widget that is color green | Basic widget that is color green |
<?tmpl.file name="include_widget.tmpl" ns='bottom' ?> | Basic widget that is color red | Basic widget that is color red |