Thread:Project:Support desk/How to add a different icon after the link according to interwiki link

How to add a different icon after the link according to interwiki link? Like icone after standard links according to the files extensions (pdf, jpg,...)