[ticket/13419] Add the lowermost template event

PHPBB3-13419