Template talk:Imagelink
Automation
I don't know how well this would work because I don't know how the template is used in the Wiki, but how about automating the third parameter by replacing {{#if: {{{link|}}}| {{{3|{{{2}}}}}}|{{#if: {{{3|}}} | [[{{{2}}}{{!}}{{{3}}}]] | [[{{{2}}}]]}}}}
with {{#if: {{{link|}}}|{{#if:{{#titleparts:{{{2}}}|1|2}}|{{translation/{{#titleparts:{{{2}}}|1|2}}|{{#titleparts:{{{2}}}|1|1}}}}|{{{2}}}}}|[[{{{2}}}{{!}}{{#if:{{#titleparts:{{{2}}}|1|2}}|{{translation/{{#titleparts:{{{2}}}|1|2}}|{{#titleparts:{{{2}}}|1|1}}}}|{{{2}}}}}]]}}
so that the name written behind the icon ist always in the language the icon is linking to. The idea came up, when I was working on fuel/de when I saw that many names were not corret, but if they were taken from the translation-template, they could have been correct and that in the whole Wiki. I would be glad to get some response. -- RobbiRobb (talk) 12:27, 23 April 2017 (UTC)