Board Thread:Support Requests - Getting Technical/@comment-184822-20170701084013

So, I'm a bit confused. What I'm trying to do is create a template that checks the pagename against a list, then displays one of two canned reults by way of a quasi-"if X, goto [line] Y"-style method (If there is already a goto function, then I apologize for the ignorance... I'm still relatively new to wikicode). The main page for the Template (http://castle-cats-pocapp.wikia.com/wiki/Template:LTO) seems to show the call-again-with-modified-variable concept working perfectly fine, with no errors (a visible oddity, though, but the pages the template would be used on would only display one of the two, instead of both, so I'm not too worried about said oddity). However, the template suddenly breaks into "Template Loop Detected" when placed on other pages (see http://castle-cats-pocapp.wikia.com/wiki/Kenshin for example). I can, of course, manually apply the canned results to every line or make and call a second template that prints said results... but I was hoping for a. .. simpler, single-template method, if possible. The nature of this concept–Limited Time Offers in a game, which just re-released prior LTO items–could result in much larger amounts of future editing than desired, if such an event reoccurs in the future.

So... my two starting questions:

Does a template page display the template result without "calling" the template itself, therefore ignoring the loop-detection alorithm?

Is there even a legitimate way to do this kind of thing without creating a spare template to print the result? 