Board Thread:Support Requests - Getting Technical/@comment-1881961-20160426152158

This is a "it bugs me to not understand why", I have a workaround, but I want to be more clear on the tech/logic behind why my original didn't work.

I wanted to create a template to display a character icon which links to their article page. It accepts three parameters:
 * 1) image filename
 * 2) the character's name
 * 3) an optional link (to avoid disambig issues)

I tried this first: Thinking that the "link=" line would read like "If link is defined, then use that, otherwise use name.", but it doesn't work. I end up with no link at all. And I'm not sure why.

It even seems to conform to Wikipedia Parameter Default standards.

I came up with a workaround: But, I feel like I shouldn't need the parser function. The original should work, I can't get my head around why it didn't. :( 