{header} {if msg}
{msg}{endif msg}
{contents}
{footer}