[23:18:43] Hi, I'm not sure what is missing in the first half of the snippet, the wikitable created with a missing column, but when I move the "if" to new line it's working, why? [23:21:01] https://dpaste.org/bWPc [23:23:55] Guest85: leading/trailing whitespace inside of an if is stripped out [23:25:22] What have I missed? there is a new line between the "yes condition" of the "if" in the two wikitables codes? [23:27:21] it gets removed as part of parsing [23:27:41] But the second wikitable works, the only difference is before the "if" [23:27:42] let me tweak your paste a bit [23:29:43] Guest85: https://dpaste.org/0TXw [23:30:13] in other words, those newlines in the "yes/then" condition at the beginning and the end are removed [23:30:40] so the newlines either need to be added outside of the if, or you need to add something else in front so that the newline is no longer at the beginning [23:32:06] So because the "|-" and the other "|" has to be in different lines it's problematic? [23:32:43] yep [23:33:17] you may find Special:ExpandTemplates helpful in testing what works/doesn't work [23:33:22] I afraid that I'll get newlines (
) randomally in my table, what the common usage in this case? [23:34:19] Special:ExpandTemplates - looks great! [23:38:00] If I want to create a table with conditional rows, if I'm using the approach with writing the "if" in a newline, incase I'm have several rows that won't be reneder, the row before them will have many "empty lines" at the end [23:45:27] Found a solution, thanks! https://www.mediawiki.org/w/index.php?title=User:Bawolff/sandbox&action=edit