Difference between revisions of "Template talk:Inuse"

From LGPedia
Jump to: navigation, search
(Just thought I'd elaborate a little)
Line 5: Line 5:
 
: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.  [[User:OwenIsCool|OwenIsCool]] 15:46, 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.  [[User:OwenIsCool|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...  [[User:OwenIsCool|OwenIsCool]] 15:48, 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...  [[User:OwenIsCool|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.
 +
::::[[User:Renegade|Renegade]] 18:17, 27 February 2007 (CST)

Revision as of 00:17, 28 February 2007

Category

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)