Forum:How do i make a template.when i do mine they never work

i can't get a template to work,i'v done everything to make it woerk but it allways turns up wrong

i included and image(on the side) to show what it keeps doing


 * Make sure that your Charcat template doesn't contain any references to itself. -- 02:41, June 6, 2010 (UTC)

i don't think it contains anything references to its self - tinyclaw
 * Where is your template located? Let me look at it. -- 02:48, June 6, 2010 (UTC)

it can be found here http://wsotf.wikia.com/wiki/Template:Charcat but its now doing something diffrent to befor -tinyclaw
 * Yes, it is referring to itself. Where did you get this template?  What did you want it to look like? -- 02:56, June 6, 2010 (UTC)

i got it from another wiki ,wich i wanted it to look like http://warriors.wikia.com/wiki/Adderfang
 * OK, you need to copy the code from the template page, not the article. I'll copy it over correctly this time so you get the idea. -- 03:01, June 6, 2010 (UTC)

ok thankyou - tinyclaw
 * No problem, let me know if you have any questions. -- 03:07, June 6, 2010 (UTC)


 * It also helps to have the associated doc page, so users can copy the list og input 'parwemeters' to paste into articles and know what input is required / optional. The doc is usually a sub page at templatename/doc and is called by which is placed at the bottom of the templates code. What you had original in your screen shot main part was actually part of the documentation page. (this appears on the template page) - see Help:transclusion for info.


 * After copying it (the templates doc page) update it to match any changes made to the original template, such as extra items added or different data required on your wiki.


 * the template called documentation is normally installed on new wikis now but if it shows up as a red link it is missing and needs copying from the templates wiki. (some wikis use other versions that may be more complex and needs lots of other templates to work). - BulldozerD11 20:57, June 7, 2010 (UTC)