Platonides wrote:
> Just write the table in the template. It's the same syntax.

AFAIK that doesn't work in all cases. It fails if you mix template
syntax and table syntax.

E.g.:
{{{1||foo}}} (for: if {{{1}}} is set then {{{1}}} else "|foo")

More realistic cases where this happens is with #if and other
ParserFunctions, e.g.:

{{#if: {{{1|}}}
  |
    {|
    | 1 is set
    |}
  | 1 isn't set
}}

A workaround is described in my other Email to this thread (in short:
use {{!}} instead of "|")

--Church of emacs

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to