Forum:Can't removed namespace from link created in template

I'm having touble getting my link to parse correctly from within my template. I've tried:

|

and

|

and neither one has worked.

Instead, it parses as

Recipe:Test Recipe

It isn't a link, just text.

If I remove the pipe before the closing brackets, the link parses just fine, but it also prints the namespace. I want to it to just say "Test recipe" and not "Recipe:Test recipe".

Can anyone help? BugNomster 06:36, July 12, 2012 (UTC)


 * I don't understand the logic of this template. Why is there a pipe before the closing ]] ? Do you not want the link to have a title? And what's up with the pipe inside the parameter? The parameter inside the link must not be optional. If the parameter were empty, there would be only


 * Can you explain what you tried to do? --


 * Here's what you need.

|
 * 07:01, July 12, 2012 (UTC)

@Matthew2602 Thanks! Looks long and ugly, but it did the trick! Never would have come up with that on my own. BugNomster 07:06, July 12, 2012 (UTC)
 * Yeah, wikicode never was pretty. For future reference, .  07:13, July 12, 2012 (UTC)