screenshot
I used {{main}} at mediawiki, and the <translation> tags are exposed.
Eg. https://www.mediawiki.org/wiki/Topic:S1szxoujbqo2b733 shows this markup:
<translate> Main {{<tvar|ifeq1>#ifeq:|</>|article|page}}{{<tvar|if1>#if:</>|s}}:</translate> foocode1>{{</>[[<tvar|link>Template:main</>|main]]<tvar
on trello as https://trello.com/c/1d7TO2pd/
Version: unspecified
Severity: normal
Attached: