My understanding is that a web page Template is a unique full page structure. For example, a horizontal header, followed by a two column layout (A Column = 80% width + B Column = 20% width) finished with a horizontal footer is a Template. This means that I can insert numerous objects within A Column (e.g. a search bar, a news feed, a table etc) across many instances of this Template and it is, by definition, still one template. This also means that a 50 page website may only need 5 templates and you may have a design contract that charges on a per-Template basis.
The problem I'm finding is that each Content Management System (CMS) tends to have their own definition of what a Template is and this makes any discussion with a designer very confusing.
Is a Template defined on a project-by-project basis? Or is there a global rule that defines what a web page template is?
Please address both Mobile and Desktop websites.