Make new multi-part transclusions always put newlines between each transclusion (default whitespace of \n)
Closed, ResolvedPublic

Description

Some tables built from complex templates assume that there will be line breaks between the templates, so that this works:

{{tabletop}}
{{tablerow}}
{{tablerow}}
{{tablerow}}
{{tableend}}

but this does not:

{{tabletop}}{{tablerow}}{{tablerow}}{{tablerow}}{{tableend}}

There's another problem with transclusions containing content, which can be seen by opening the transclusion at https://en.wikipedia.org/wiki/Kilt#See_also in VisualEditor. The template lines are fine, but the "Content" sections must always start with a blank line, to make up for the absence of line breaks at the end of the templates.

The solution for both of these is probably the same: Complex transclusions should always have line breaks after the templates. I haven't been able to find any (in my quick search) that would break if this were implemented.


Version: unspecified
Severity: enhancement

Details

Reference
bz67268
bzimport set Reference to bz67268.

I'm not entirely certain that there aren't multi-part templates that this is the wrong call for, but in general this is certainly a sensible tactic.

TTO added a comment.Jul 15 2014, 7:30 AM

Pretty sure this is a dupe?

  • This bug has been marked as a duplicate of bug 50166 ***

Add Comment