Call Template without "getting" its categories

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Call Template without "getting" its categories

FreeAll Support
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
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Call Template without "getting" its categories

Reinhardt-2
see
http://bugzilla.wikimedia.org/show_bug.cgi?id=4407
exclude template's categories in certain pages

On Wed, 26 Apr 2006 13:50:44 +0200
 "FreeAll Support" <[hidden email]> 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

regards reinhardt [[user:gangleri]]
_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Call Template without "getting" its categories

Rotem Liss
In reply to this post by FreeAll Support
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
>[hidden email]
>http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>
>  
>

_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l