Creates a table from the specified template contents.
Returns eOk if successful. Otherwise, returns eInvalidInput.