You are close to the final solution. "Parse" is the magic word to 'execute' appropriate content assigned to template variable and template content. You may parse piece of template content or whole template it depends to what part of template is parsed.
Be aware, BOX templates are a piece of main-global template :(