Temp-func-21012016

This is temporary page with examples for the question in Project:Support_desk.

On my local wiki I'm trying to make template which will show an icon near my text with options:
 * 1=Name (if written then it will be [Name.png] Name)
 * 2=Alternative_name (if written then it will be [Name.png] Alternative_Name)
 * 3=LinkToWiki (if written then it will be [Name.png] Alternative_Name-link)

I used this:
 * Help:Parser functions in templates
 * Help:Extension:ParserFunctions

but cannot solve the problem

Also I do not know what to do with this combination, where I need link without alternative name. I use this: Is there any simplier solution?



i also tried:



also:



What's wrong?