Board Thread:Support Requests - Getting Technical/@comment-33878615-20160625053918

Hi. I’m working on a template.

Here is the part of the template I have a problem with:

Now, as you can see, the above code is what I tried and thought it could maybe work, but it didn’t.

I also tried  and several other things but to no avail.

The thing I’m trying to achieve is this: (Let’s just called the template “template,” for simplicity.) On the Lorem ipsum page,  results in   (the pagename). results in.

To sum it up: I want this template to show the pagename within the quotation marks if there are no parameters, and if there is a parameter, it shows whatever’s in the parameter, instead.

However, I can’t get it to work. I mean, not that I know what I’m doing; I just experimented and failed. I’d appreciate some help. There’s probably an easy solution, I’d presume.  