[MediaWiki-l] [Templates] Displaying a multi-instance template as a table

Ed edward.hoo at gmail.com
Sat Dec 12 21:55:31 UTC 2015


Hi everyone,

I would like to display a multi-instance template as a table so that the
multiple columns are aligned.  I'm using Semantic Forms and Cargo.  I
tried  echoing the <tr><td>...</td></tr> from the multi instance template
and the <table>...</table> from the main template, but the first <table> is
somehow filtered out and doesn't output.

    <noinclude><pre>
    {{Main
    MultiParm=
    }}
    </pre></noinclude>

    <includeonly>
    ...
    <table>
    {{{MultiParm}}}
    </table>
    </includeonly>

What is the proper way to do it?

Thanks!


More information about the MediaWiki-l mailing list