Hi,
in your own template, which is extending from on of the default themes (Bare, Responsive), you should only do, yeah, template stuff Also see the dev docs
A plugin extends the functionality of shopware. So this is the right place for your extension. Read Developing plugins for further information.
Best regards
Michael Telgmann