User blog:Caesar213/Help with some templates

I'm trying to make a template like the one that Wikipedia has at the beginning of an episode list page. Somehow I made the template, but there's a loop detected. I have no idea how to fix it. Any suggestions, or if possible, give me a template that's worth using.