The standard way is to create Template:! that only has | and no spaces
or return characters before your <noinclude> tag
and Template:!! that is the same except it has || instead.
Then you have
{{Test|Contenido=
{{{!}} class="wikitable"
{{!}} bla
{{!}} bla bla
{{!}}-
{{!}} hola
{{!}}
hola hola
{{!}}}
}}
or
{{Test|Contenido=
{{{!}} class="wikitable"
{{!}} bla {{!!}} bla bla
{{!}}-
{{!}} hola {{!!}}hola hola
{{!}}}
}}
On 2/13/2012 1:39 PM, david wrote:
Hi;
I need a method or workaround to allow users to put contents with
wikitext tables inside template parameters.
The users use Open/Libre-Office MediaWiki export to generate the
wikitext and it is preferable that they do not have to add any extra
wikitext or codes.
This is my testing page:
http://www.eoi.es/wiki/index.php/Usuario:Dvdgmz/pruebas
If I write this the template (well the table) crashes:
{{Test|Contenido=
{| class="wikitable"
| bla
| bla bla
|-
| hola
|hola hola
|}
}}
Using Pipe Escape don't crashes but I don't want to ask users to write
it:
{{Test|Contenido=
{{#!:
{| class="wikitable"
| bla
| bla bla
|-
| hola
|hola hola
|}
}}
}}
I tried to put the Pipe Escape tags inside the template but seems to be
ignored.
David.