I have been trying for a while to use MediaWiki:Talkpageheader to import this template on talkpages. However, I don't want the template to appear on talkpages with a subpage like "Archive". So I'm using this syntax to hide it from those pages:
However, a talkpage may contain several archive pages; like "Talk:Page/Archive 1, "Talk:Page/Archive 2", etc. So, I want to hide the template from those pages no matter what the number after the "Archive" word is. But, is this possible with parser functions, or I'll have to search for another way to do this?