Last modified: 2011-04-14 15:11:25 UTC
For example, the following code: {{Archive|info= Hello, [[http://en.wikipedia.org/wiki/Welcome Welcome] to Wikipedia! }} outputs the following text: {{Archive|info= Hello, [Welcome to Wikipedia! }} and "welcome" is linked to English Wikipedia. However, the template is not used when a link is not properly opened and closed.
To clarify when the problem occurs, the following all work: {{template| ]] }} {{template| [ }} {{template| [http://example.com }} {{template| ] }} {{template| [[ }}, however, does not. Neither does {{template| [[[[]] }}, or as far as I can see anything whatsoever that results in double opening brackets that aren't correctly closed within the parameter itself. This is an issue for, e.g., enwiki's [[Template:Otheruses4]], where it restricts the possible output: "For X, see [[Y]] and [[Z]]" is impossible to output because "Y]] and [[Z" is an invalid parameter.
A possible workaround - if someone really wants to give a double bracket as parameter value - is to use {{template| [<noinclude />[ }}. However, this is ugly and maybe the preprocessing could be improved, so that templates are given precedence over links.