Template talk:Inuse

From LGPedia
Revision as of 01:24, 28 February 2007 by JayHenry (Talk | contribs)

Jump to: navigation, search


This is a small thing, but this page is in Category:Articles actively undergoing a major edit. Unless this template is currently undergoing a major edit, it shouldn't be in that category.--Jonpro 14:58, 27 February 2007 (CST)

uhhh, interesting... I hadn't noticed. Well, I think it's just happening because the templates are being used to demonstrate. That can be fixed. OwenIsCool 15:46, 27 February 2007 (CST)
pffft... I had every intention of fixing it... but when I looked at the code I didn't see what I had expected to see. Oh well... OwenIsCool 15:48, 27 February 2007 (CST)
The problem is that the template includes another template which includes the original template. The category-tag is marked correctly as "include only", but the page then includes Template:Inuse/doc, which in turn includes Template:Inuse for demonstration purposes - and since, on include, Inuse does include the category, both pages logically get categorized.
In other words: The template behaves exactly as it should do, and there's no way (and no reason) to fix that. Except, of course, removing the examples from the documentation.
Renegade 18:17, 27 February 2007 (CST)
Actually, it's a fast and easy fix. and exactly the sort of thing that the "Subst:" function exists for.--JayHenry 19:24, 27 February 2007 (CST)