Forum:Hogwarts Staff Infobox Loop

On the Hogwarts Roleplay Wiki, when you try to use the Hogwarts Staff Infobox, it says there is a Template Loop. How do you fix it? Thanks, Head.Boy.Hog (Talk To Me)  10:41, June 20, 2011 (UTC)


 * Close, but not quite - the template with the problem is Template:Hogwarts staff infobox. It gives you a template loop because if you look at the code, you'll notice that the template being translcuded is also . Thus, the template is being translcuded in itself - which creates an infinite loop. I think what you meant to do was have it redirect to Template:Hogwarts Staff Infobox, which you can do by just capitalizing the name.


 * So, all I do is move Template:Hogwarts staff Infobox to Template:Hogwarts Staff Infobox? Thanks, Head.Boy.Hog (Talk To Me)  21:52, June 20, 2011 (UTC)


 * No, you're transcluding Template:Hogwarts staff infobox in itself, when what (I think) you meant to do was transclude Template:Hogwarts Staff Infobox. Template:Hogwarts Staff Infobox has all the template code, whereas Template:Hogwarts staff infobox has only the template call, and nothing else.