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

Ed edward.hoo at gmail.com
Sat Dec 12 22:03:05 UTC 2015


Opps.  Never mind, The <td>'s were out of synch in the multi instance
template and somehow that threw off the html generation.  It is working
now :)

On Sat, Dec 12, 2015 at 4:55 PM, Ed <edward.hoo at gmail.com> wrote:

> 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