User talk:UltraOne

From Kerbal Space Program Wiki
Jump to: navigation, search

Broken tech tree

Hi, could you check if technology tree is now 'not' broken? I'm not exactly sure what caused it but placing the <noinclude> in the next line is not a good idea, because it causes the preceding newline to be included too.

For example if this is the template code:

Foo\n
<noinclude>bar</noinclude>

And you add it like this:

{{Template}}\n
Text

The actual source code looks like this:

Foo\n
\n
Text

(I added the \n only to visualize that there is a 'new line character'). Another problem could be that additional new lines 'after' the <noinclude>-block were added. This is why I added <onlyinclude> which marks which text is only included. But thank you for bringing that to my attention. I didn't really check if that template was fine after I modified it. — xZise [talk] 12:53, 13 September 2014 (CDT)