Author: mail
Description:
I have the following template, named "Highlight":
<div style="border: 1px solid #0080FF;">
{{{1}}}
</div>
If I try to include the template with an table in that way
{{Highlight|
some cell | some cell | some cell |
some cell | some cell | some cell |
}}
everything is fine. But if I add a additional attribute to the table, tr or td tag, the page is not rendered properly, only showing "{{{1}}}" as content of the div element defined in Template:Highlight.
{{Highlight|
<table class="wikitable">
<tr>
<td>some cell</td>
<td>some cell</td>
<td>some cell</td>
</tr><tr>
<td>some cell</td>
<td>some cell</td>
<td>some cell</td>
</tr>
</table>
}}
This shouldn't be the expected behaviour. BTW: Why is it impossible to match nested template inclusions against a regular pattern, so that the pipe hiding ("|" to e.g. {{!}}) is not neccessary? I would wish that something like that is possible in a near future version of MediaWiki:
{{someTemplate|
{|
+ some table |
- |
content |
content |
- |
} |
}}
Version: 1.16.x
Severity: major