I'm looking for a way that a user may specify a table - i.e. by specifying it in MediaWiki syntax - to a template. The template should then put this table in the context of some larger output provided by the template.
A simple example. Is there a way a user could specify something like this:
{{MyTemplate
|FooBar
|{| class="wikitable"
| Something
|-
| Useful
|}
}}
and then the template outputs somewhere the specified data
and the table?FooBar
If this doesn't work, is there some alternative way of doing this? i.e. by specifying some arbitrary (!) CSV data and outputting it in a formatted way?