I've recently found that the solution above causes errors when the template is transcluded onto another template:

Offending template: https://zh-yue.wikipedia.org/wiki/Template:Mergefrom

Any advice?

On 2 November 2017 at 20:37, Bartosz Dziewoński <matma.rex@gmail.com> wrote:
On 2017-11-02 20:27, Deryck Chan wrote:
I came across this template recently - https://zh-yue.wikipedia.org/wiki/Template:%E8%BB%9F%E5%BD%88

Any suggestions on how to fix this? This template forcefully prefixes a colon to make sure a link rather than an interwiki or a categorization or an image-load happens.

See my previous reply: https://lists.wikimedia.org/pipermail/wikitech-ambassadors/2017-September/001693.html

Bartosz Dziewoński