[ticket/11628] Create base template class with common functions

E.g. assign_vars

PHPBB3-11628