[ticket/12662] Remove linklist container and update template events

PHPBB3-12662