FEATURE: inline_template function