nakohdo wrote:
> I'm also struggling with nested templates and especially nesting
> <includeonly> tags. I want to create templates using another template like
> so:
>
> {{Template1 | Parameter }}
>
> As Template1 also creates a category where the newly created template
> shouldn't be part of this template call has to be surrounded by
> <includeonly> tags:
>
> <includeonly>{{Template1 | Parameter }}</includeonly>
>
> I haven't found a way yet to include those<includeonly> tags in Template1
> itself.
> I found the following resources which illustrate the problem and give some
> hints but no final solution AFAIS.
You could do the category inclusion inside <includeonly> only if the
namespace ({{NAMESPACE}}) is not template (use parserfunctions).
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l