Handling Line Breaks: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
No edit summary
 
No edit summary
Line 2: Line 2:
If your text contains nothing but single line breaks the Wiki will put everything in a single paragraph, like this:
If your text contains nothing but single line breaks the Wiki will put everything in a single paragraph, like this:
  <nowiki>This is an example for text that has no double line breaks. Single line breaks all along.</nowiki>
  <nowiki>This is an example for text that has no double line breaks. Single line breaks all along.</nowiki>
  <nowiki>Will this text be separated in any way. No it won't.</nowiki>
  <nowiki>Will this text be separated in any way? No it won't.</nowiki>
  <nowiki>Single line breaks all along the way.</nowiki>
  <nowiki>Single line breaks all along the way.</nowiki>
  <nowiki>Dumdidum.</nowiki>
  <nowiki>Dumdidum.</nowiki>
Line 9: Line 9:


This is an example for text that has no double line breaks. Single line breaks all along.
This is an example for text that has no double line breaks. Single line breaks all along.
Will this text be separated in any way. No it won't.
Will this text be separated in any way? No it won't.
Single line breaks all along the way.
Single line breaks all along the way.
Dumdidum.
Dumdidum.
Line 18: Line 18:


  <nowiki>This is an example for text that indeed has double line breaks.</nowiki>
  <nowiki>This is an example for text that indeed has double line breaks.</nowiki>
  <nowiki>Will this text be separated in any way. Yes it will right here.</nowiki>
  <nowiki>Will this text be separated in any way? Yes it will, right here.</nowiki>
   
   
  <nowiki>A shiny new paragraph! Remember to put '''double line breaks''' where you need it.</nowiki>
  <nowiki>A shiny new paragraph! Remember to put '''double line breaks''' where you need it.</nowiki>
Line 25: Line 25:


This is an example for text that indeed has double line breaks.
This is an example for text that indeed has double line breaks.
Will this text be separated in any way. Yes it will right here.
Will this text be separated in any way? Yes it will, right here.


A shiny new paragraph! Remember to put '''double line breaks''' where you need it.
A shiny new paragraph! Remember to put '''double line breaks''' where you need it.

Revision as of 08:14, 28 March 2007

Single line breaks will be ignored

If your text contains nothing but single line breaks the Wiki will put everything in a single paragraph, like this:

This is an example for text that has no double line breaks. Single line breaks all along.
Will this text be separated in any way? No it won't.
Single line breaks all along the way.
Dumdidum.
'''Single line breaks will be ignored'''.

And this is what it will look like:

This is an example for text that has no double line breaks. Single line breaks all along. Will this text be separated in any way? No it won't. Single line breaks all along the way. Dumdidum. Single line breaks will be ignored.

Placing double line breaks will do the trick

To force the paragraph to end, simply place a double line break in your text, like this:

This is an example for text that indeed has double line breaks.
Will this text be separated in any way? Yes it will, right here.

A shiny new paragraph! Remember to put '''double line breaks''' where you need it.
Dumdidum.

And this is what it will look like:

This is an example for text that indeed has double line breaks. Will this text be separated in any way? Yes it will, right here.

A shiny new paragraph! Remember to put double line breaks where you need it. Dumdidum.