Collect template informations from MediaWiki markup