Added base template.
Added complete example.