lorem{{#if:true|#foo|bar}}ipsum
gives
lorem
- fooipsum
Special:ExpandTemplates test expands it as:
lorem
#fooipsum
Same with "lorem{{#if:true|*foo|bar}}ipsum" and "lorem{{#if:true|:foo|bar}}ipsum".
So it's impossible to have this kind of results of test as inline text (expected result for first case would be lorem#fooipsum).
While it's impossible to remove the newline, it's easy to add it to have #*: behave as list items.
Version: unspecified
Severity: normal