Forum:Template loop Detected?

Ok so I got a code from a friend on Wikia and it has a name. But I dont know how to put it in. Everytime i try (ethier the whole code itself or the template: and name) I get bolded bright red words saying "Template Loop Detected". What does that mean and how can I fix it.

Someone told me I was trying to call the template from inside the template itslef but i dont know what that mean ethier. Oh and it is already used on another wiki but was givin to me since we are frineds and I asked them.