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.


 * As Monchoman45 said earlier, you need to redirect Template:Hogwarts staff infobox to Template:Hogwarts Staff Infobox. That means, go to Template:Hogwarts staff infobox and replace all the contents with the following statement:""You can just cut and paste that statement. — Spike Toronto  7:36PM EDT, June 20, 2011


 * I put the redirect in. Since Template:Hogwarts staff infobox wasn't protected it seemed like it would save time. Complain here if that wasn't what you wanted. -- Fandyllic (talk &middot; contr) 20 Jun 2011 5:01 PM Pacific