Manual:Newlines and spaces/Examples
Appearance
See phab:T14974.
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
|
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.* |