[Mediawiki-l] Call Template without "getting" its categories

Rotem Liss mail at rotemliss.com
Wed Apr 26 13:29:33 UTC 2006


Workaround: http://bugzilla.wikimedia.org/show_bug.cgi?id=4407#c8


FreeAll Support wrote:

>Hello All!
>
>I have a little editing problem:
>
>I have some templates that use the following syntax:
>
> Bla bla
> Bla bla
> <includeonly> [[category:Bla Pages]] </includeonly>
>
>Well, what happens is that the template itself does not belong to any
>category, but, let say, a page called The Bla, and if it calls the template
>{{bla}}, it gets immediately belongs to the category Bla Pages.
>
>So far so good.
>
>Now, lets say that I have some help page (Help:Bla), and in the help page I
>would like to demonstrate the template Bla.
>Therefore, what I do is
> <nowiki>{{Bla}}</nowiki> will show {{Bla}}.
>What happens now, and here is the problem, is that the page called Help:Bla
>is now categorized in Bla Pages, and that is the thing I would like to avoid
>from.
>
>Any idea how?
>
>Is there a thing such as calling the template without its categories?
>
>Thanks!
>
>Peleg.
>www.freeall.org
>
>
>
>_______________________________________________
>MediaWiki-l mailing list
>MediaWiki-l at Wikimedia.org
>http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>
>  
>


More information about the MediaWiki-l mailing list