Handle interaction between linktrail and template

arwiki/%D9%86%D8%B4%D9%8A%D8%AF_%D8%A7%D9%84%D8%AA%D9%82%D8%AF%D9%8A%D8%B3

Bug: 60752
Change-Id: I8c70d6f680dcf9509f80619430d89ad97a785555