Mailing List Archive

problems with links in templates
Hi there,

I need help with creating/using templates. I tried to made one for
navigation purpose inserting a title and a changing number into a link set
in the template like

{{template:navbit|title of the page|01}}

and template looking like this

[[{{{1}}} Chapter {{{2}}}|Chapter {{{2}}}]]

Problem is there is automatically added the "edit"-option to the link and
that way the link (though correct and page existing) always leads to the
editing-function (with the pagetext appearing in the window).

Can someone please help me with this? How can I suppress the edit-option
or how else can I fix this??

Thanks,
ED
Re: problems with links in templates [ In reply to ]
Evil Demon wrote:
> {{template:navbit|title of the page|01}}
>
> and template looking like this
>
> [[{{{1}}} Chapter {{{2}}}|Chapter {{{2}}}]]
>
> Problem is there is automatically added the "edit"-option to the link
> and that way the link (though correct and page existing) always leads to
> the editing-function (with the pagetext appearing in the window).

This is a known bug, using a variable interpolation as part of a link
doesn't work properly.

Honestly, if it's that short I'm not sure what you're saving by using a
template.

-- brion vibber (brion @ pobox.com)