Board Thread:Support Requests - Getting Technical/@comment-3279282-20190824165224/@comment-3279282-20190824185517

CosmotheChocobo wrote: Don't add a link for the condition of the #switch function. Also, remove the second

You also forgot the result for the #if condition if it's empty. #default= is not mandatory for switches.

Try this code:

That removes the though, so now there's nothing shown in the infobox and the category isn't added either. And the link needs to be there because that's how the data is added in the article. Like this: |release= Blabla.

Maybe the explanation of my goal was a little confusing, let me try again: I have an infobox for a song. The editor can add the album this song was released on, via |release= Album. I want to add a function that automatically adds one category (or more) depending on which album was added like that.