Jump to content

User:Dbiel/ScratchPad/test4

From Wikipedia, the free encyclopedia

{{helpme}}

Trying to resolve the problem of this template {{:Education by country}} adding categories to every page that uses it.

This page uses the following code:

<noinclude>{{:Education by country}}</noinclude>

Note this code has been changed to: {{:Education by country|categories=no}}

But it is still added to two separate categories The colon adds Category:Education lists while the base template adds Category:Education by country

The problem with the first category is that you're transcluding an article. Transcluding an article also transcludes all of the categories that article uses. There isn't a way to transclude an article without also gaining its categories; you could WP:SUBST the article instead and then edit the categories out of the substed copy if you want.
As for the category added by {{Education by country}}, I think that was a deliberate in the coding of that template; if you wanted some way to turn it off, you'd have to edit that template to add one.
Hope that helps! --ais523 16:44, 6 October 2007 (UTC)