Forum:Double Documentation?

For some reason, whenever I save a template on, I get documentation added twice (in addition to what I add). It doesn't show in the Edit box. Screenshot. Thanks,Iggyvolz 23:01, December 9, 2011 (UTC)


 * That's not a screenshot, a screenshot would be an image file. That's your documentation page.
 * You've done something weird. The default documentation template is documentation, but you call it Template:Doc. The way you code that is wrong. It should be


 * 1) redirect:Template:Documentation
 * but you transclude Template:Documentation. If you replace the content of Template:Doc, I think that will fix your problem.
 * ForestMonthZero 07:35, December 10, 2011 (UTC)
 * My two cents? You put a second documentation in the documentation space. (you used /doc/doc)
 * Thus giving the documentation a loop back to itself, which is cut off automatically by mediawiki software.
 * Simply said: put the template on http://trackersinterface.wikia.com/wiki/Template:Putfor and the documentation (no template) on http://trackersinterface.wikia.com/wiki/Template:Putfor/doc and use behind the last line on your template.
 * Remove all content from http://trackersinterface.wikia.com/wiki/Template:Putfor/doc/doc
 * For some reason, that didn't fix Putfor/doc. I fixed Template:Doc, but it still included Documentation and Doc (even after I replaced Doc with Documentaion). I tried putting
 * For some reason, that didn't fix Putfor/doc. I fixed Template:Doc, but it still included Documentation and Doc (even after I replaced Doc with Documentaion). I tried putting


 * in the sandbox, but it came up with documentation twice again. Iggyvolz 15:00, December 10, 2011 (UTC)
 * I see where it went wrong. You refer in your doc template to documentation template. You put doc template in your page so it loops to documentation automatically, and thereby makes two pages before the loop is discovered by mediawiki software and blocked.
 * Best is to only use documentation template and NOT use doc template anymore, which should be removed to avoid confusion.
 * Sidenote:
 * Please also add your new comments at the END of the comment line on this page to keep clear in what order to read the messages to all people reading the page.


 * Ok, I think I see it, you have a weird template called Template:Includeonly which is definitely not doing what you want it to do. I suggest you delete that, and make your includeonly tags explicit. Anything that uses it is transcluding a documentation template.


 * is quite wrong. You've not got the doc wrapped in a noinclude for one thing, so it is being transcluded. You might be confusing includeonly with onlyinclude ? Since you don't have any documentation, I don't know what you want that thing to do.
 * And you have another weird template called Template:Authorizedtrackers which also transcludes the documentation template, but it uses includeonly ... so it actually transcludes the documentation template twice. If anything calls Authorizedtrackers, that will also transclude the documentation template twice. Since you don't have documentation for this template either, I don't know what you want to do with it.


 * Whatever it is, it is definitely wrong. You're making documentation be transcluded by anything that uses Authorizedtrackers. It should be wrapped in a noinclude section, but it isn't.
 * Template:Putfor/doc transcludes Authorizedtrackers, so that's where the double documentation is coming from
 * ForestMonthZero 10:37, December 11, 2011 (UTC)