Yup, what I meant is I usually understood as a template something that is almost 99% HTML and with some {VARIABLES} in there that will get replaced when creating the final page.
Something like
{IMG_NAME}
That kind of templates would be easier to manage and would probably need less php editing from the end user (after having tried, I understand why all the galeries I've seen just have the default templates untouched :D)