Newline through parser functions
From Wikipedia!
See bugzilla:12974.
Contents |
Examples of the problem [edit]
Semicolon [edit]
The tuples include A1, A2; B1, B2{{#if:IncludeC|; C1, C2}}.
|
gives |
The tuples include A1, A2; B1, B2
|
See also Newline in style.
Colon [edit]
Look{{#if:Detail|: bird}}!
|
gives |
Look
|
Hashmark [edit]
He said this is dumb.<sup>{{#if: UseHashmark|#|*}}</sup>
|
gives |
He said this is dumb. |
Asterisk [edit]
He said this is dumb.<sup>{{#if: UseAsterisk|*|#}}</sup>
|
gives |
He said this is dumb. |
…and tables [edit]
But those are the least of the problem, because you don’t encounter {| elsewhere too often.
Workaround [edit]
The tuples include A1, A2; B1, B2{{#if:IncludeC|<nowiki/>; C1, C2}}.
|
gives |
The tuples include A1, A2; B1, B2; C1, C2. |
The tuples include A1, A2; B1, B2{{#if:IncludeC|; C1, C2}}.
|
gives |
The tuples include A1, A2; B1, B2; C1, C2. |
Look{{#if:Detail|: bird}}!
|
gives |
Look: bird! |
He said this is dumb.<sup>{{#if: UseHashmark|#|*}}</sup>
|
gives |
He said this is dumb.# |
He said this is dumb.<sup>{{#if: UseAsterisk|*|#}}</sup>
|
gives |
He said this is dumb.* |
Workaround failure [edit]
Workarounds are not possible for things like {{PAGENAME}} on a page like *foo.