<!-- IF {PHP|cot_plugin_active('tags')} AND {PHP|cot_plugin_active('pagelist')} -->
{PHP.tags|implode('","',$this)|pagelist('pagelist',5,'','page_id in (SELECT tag_item FROM `cot_tag_references` WHERE tag in ("$this"))','','system;archive','','pll',1)}
<!-- ENDIF -->
will work only in latest version from «trunk» and TAGS and PAGELIST plugins installed.