The parser confuses the "|" characters in parser function syntax (e.g. {{#if:)
and in table syntax. You should either escape the pipes using a template like {{!}} on the
English Wikipedia, or use HTML syntax for tables.
More detailed information:
https://en.wikipedia.org/wiki/Wikipedia:Conditional_tables
--
Matma Rex