You can minimize the effect by putting the main common sections (doctype, head, masthead and logo, footer, etc) in chunks so that they are all in one place for editing.
Quite true - I actually have my main template down to about 40 lines, and I’m still trying to compress it further. This is certainly a viable option, I was just wondering if there is a better way.
Alternatively, you could use TVs for the gallery, and hide them from the editor users. They can be placed in the template where you want them, left empty for the default, and then the admin user can edit them to place the gallery snippet calls as appropriate for each resource.
The way I understand it, a template variable is designed to allow different
content on each page for the same element (e.g., a sidebar, meta tags, etc.). Since we’re dealing here with an element that’s going to be the same on every page, the only benefit I can see to using a template variable vs. putting the snippet call directly in the template is that it enables the admin to control whether or not the element in question appears on a particular page at all without changing the template. I can’t see where using a TV gives the admin any more control over the positioning of the element, unless I’m misunderstanding something (very possible.)
(BTW, you mention "hiding" the TV’s from the editor users. I see an option on the TV edit screen under access permissions to
Select the Resource Groups that are allowed to modify the content or value of this Template Variable
Trouble is, I can’t uncheck the box - any idea why this would be?)
Back on the original topic, would it be correct to say that the structure (i.e., positional aspects) of the page should always be determined by the template? And that any variation in the structure of a particular page requires a separate template? I suppose that’s what I’m really asking.