The behavior you're seeing makes sense if you have the <noinclude>
tag on separate line from the template itself.
Try using something like
[[{{{1}}} by {{{2}}}|{{{1}}}]]<noinclude>
{{documentation}}
</noinclude>
And if you can, provide full source for the template(s) or link to
the template itself.
--Jeremy
On Sep 4, 2008, at 2:05 PM, The Gadget Doctor wrote:
I've just noticed something odd.
I only get this issue when the template "Book link" has got a
<noinclude></noinclude> section (with documentation). I really don't
understand now!
On Thu, Sep 4, 2008 at 1:42 PM, The Gadget Doctor <
mediawiki(a)thegadgetdoctor.com> wrote:
> Is there a simple way to do the following?
> I have a template called Book link:
> [[{{{1}}} by {{{2}}}|{{{1}}}]]
>
> If I try to call that from elsewhere as a section heading:
>
> =={{Book link|Title of the book|John Author}}==
>
> Then the heading breaks and renders both the "==" directly on the
> page. Is
> there some way to get templates to expand inside section headings
> properly?
>
> If I manually replace that with:
>
> ==[[Title of the book by John Author|Title of the book]]==
>
> all is fine.
>
>
> GD