Tim Starling wrote:
> The workarounds that come to mind for the line break issue are fairly
> obscure and complex. If I were you I'd just put the categories on the
> same line and be done with it.
>
I'll need the workaround, as this was a simplified example. My actual code
generates a long list of template parameters (also wanted one per line) and
up to 18 categories. All on one line is not so good....
Should invoking another function (perhaps called {{newline}}) at each point
preserve internal line breaks?
{{{{{subst|}}}#if:{{{par1|}}}
|{{{{{subst|}}}newline
|[[Category:{{{par1}}}{{{{{subst|}}}#if:{{{key1|}}}|{{{key1}}}}}]] <!--
bpar1 -->
}}
}}
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l