Topic on Project:Support desk

Linebreak after template

5
73.183.172.9 (talkcontribs)

Hi,

I am getting line breaks after each use of a template, even though the template itself doesn't include any line breaks at all.

That is a problem for me because I sometimes want to use two templates in a row or even just have some text after a template.

Any ideas why this is happening or any solutions?

121.214.107.188 (talkcontribs)

You have a line break in the template, probably before the .

121.214.107.188 (talkcontribs)

<noinclude>

CayceP (talkcontribs)

I had the same issue and line break before <noinclude> were the cause in my case, so 121.214.107.188 answer solution/worked for me...

Bawolff (talkcontribs)

y time you include a template, an extra line break is added. Usually this is no big deal, as mediawiki will ignore line breaks unless there are two in a row. But if the template has a line break, then the one in the template plus the extra one combine to be two causing a real line break.

So as other's said, make sure the template has no line breaks at the end of it (potenitally using <noinclude> at end of template)n

Reply to "Linebreak after template"