Parameters are passed when they should not be
this wiki
Forum page
This Forum has been archived
Visit the new ForumsTo contact staff directly or to report bugs, please use Special:Contact.
I have a template called w:c:ChristianMusic:Template:Box Set Indexer that calls w:c:ChristianMusic:Template:Box Set Volume Cell and w:c:ChristianMusic:Template:Box Set Disc Cell. Both subtemplates call w:c:ChristianMusic:Template:Box Set Link Builder. (Look for the shortcut "BSlb".) In my test calls in w:c:ChristianMusic:Template:Box Set Indexer#Testing, I am NOT passing a pair of parameters called "Volumes Are Named" and "Discs Are Named". The subtemplates should be passing them on exactly as they received them to BSlb. However, BSlb acts at though they were passed (any non blank value is enough).
What is going on? The best way to tell which case is true is to look at the links that display as just numbers. If the link's URL includes something like vX or dX where X is a number, it is working correctly. However, if you see something like "/2" or "/1/2" in the URL, there is a problem. Please note that the links that appear as a song name at the bottom of the box are working properly for me. (That is, those URLs include "/v1/d2/".) Will (talk -- contribs) 00:56, 10 October 2006 (UTC)
- Never mind. Those parameters were not being defaulted in the main template. Problem solved. Now if I can get the parameter to work... See Forum:Need help with for-type situation for more information on that problem. Will (talk -- contribs) 03:41, 10 October 2006 (UTC)