User blog comment:Nightfern/Templates and Such/@comment-2106481-20101210235006/@comment-429401-20101211235608

Nightfern what you have is not the template code its what you place in the article you what to use it in, as it call template Userbox.

To copy templates you need to do it in edit mode to get the actual template code.

That code can be placed in a custom template to make adding it to article easy but it must be called something other than "userbox" as the template is calling a template of the name "userbox" and trying to pass it the other info to display (the bits after the = signs).

eg call it userbox-admin or Admin-userbox then you just add template:admin-userbox to the page each time to use it. But you need to also create the core userbox template that that one uses. (The templates wiki has a std userbox template on it i think that you then build custom ones from like the code you have currently)

(edit) i've moved it to a seperate template and added the core userbox code from the templates wiki. You need to add the image called for within the admin-userbox template (or change it to use existing one on your wiki).

you can then create custom versions easily using the core userbox code.