[Mediawiki-l] Unexpected <p> and <br /> from a template

Emanuele D'Arrigo manu3d at gmail.com
Thu Aug 30 18:19:26 UTC 2007

Hi everybody!

Given the following template use:

|2=Manu.d birthday (1974)
|9=Goofy.g birthday (1932)
|15=Mickey.m birthday (1928)
|17=Siggraph start
|24=Siggraph ends

and given the following template code:


I obtain the following HTML:



</td><td>Manu.d birthday (1974)
<p><br />

which all looks nice and dandy except for that

<p><br />

I have no idea where those tags come from.
I mean, they come from:


because they are not there if I remove that snippet.
But why 1 and 3 don't do the same?

Is it because I'm using numerical parameter names
and there's an ambiguity between parameter "4" and
the fourth parameter? Are there workarounds?


More information about the MediaWiki-l mailing list