Thread:Kyletheobald/@comment-4135357-20130610151227/@comment-3361105-20130610152839

Have a look at Template:A.

Basically, what you need is something like this:

Unfortunately, you need to add a bunch of code like we have in our template, in order to remove the square brackets from it, and go directly to the pagename.

Alternatively, you could make a template that does this:

While that LOOKS complicated, the and the  represent the variables you would enter into the template.

So, if you were to enter

It would DO this: Salad AND add the appearance category without having to use a bunch of complicated #explode functions.

... then anything you wrap that template around will be added to the appearance category AND put square brackets around itself (so you don't have to).

Ours is more complicated, because it does things like check to see if it's been filled out wrong, removes the brackets automatically, and adds previous and next appearance arrow... things.

That's why all of our appearances have wrapped around them, instead of manually adding categories.