I don't think this is possible, sorry. Why not have a special template for use on special pages? Making code more complicated just to avoid "duplication" sounds like something we discuss in software development all the time – and typically try to avoid.
The two templates can still share most of their code, e.g. the special one can call the normal one and add the mentioned mw-parser-output wrapper. Kind regards Thiemo _______________________________________________ Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/