User:Geo Swan/working/Indentation primer

__NOINDEX__

How numbering works: a primer
The wikipedia markup system understands several codes that allow an author to create indented paragraphs.

Multiple markup codes cause multiple levels of indentation. Three colons will indent the paragraph three times as much as a single colon. The convention on talk pages is that each response should be indented one further level of indentation than the comment it is responsind to.

Different codes can be combined.

If a prefix contains one or more octothorps, but the octothorp is not the rightmost character in the prefix, then no paragraph number is rendered, but the rendering engine does not forget the current paragraph number.

So Renders as:
 * 1) Numbered Point 1
 * 2) Numbered point 2
 * 3) * a subpoint
 * 4) * another subpoint
 * 5) * a final subpoint
 * 6) Numbered point 3
 * 1) Numbered Point 1
 * 2) Numbered Point 2
 * 3) * a subpoint
 * 4) * another subpoint
 * 5) * a final subpoint
 * 6) Numbered point 3

When the markup rendering engine encounters a prefix of indentation codes that contains multiple octothorps, only the rightmost one is incremented...

So

Renders as:
 * 1) Numbered Point 1
 * 2) a second level Numbered point 2
 * 3) another second level Numbered point
 * 4) * a subpoint
 * 5) Numbered point 2
 * 6) a second level Numbered point 2
 * 7) another second level Numbered point
 * 8) * a subpoint
 * 9) * another subpoint
 * 10) * a final subpoint
 * 11) Numbered point 3
 * 1) Numbered Point 1
 * 2) a second level Numbered point 2
 * 3) another second level Numbered point
 * 4) * a subpoint
 * 5) Numbered Point 2
 * 6) a second level Numbered point 2
 * 7) another second level Numbered point
 * 8) * a subpoint
 * 9) * another subpoint
 * 10) * a final subpoint
 * 11) Numbered point 3

When some chooses to add comments into the middle of a numbered list they should make sure the indexing prefix they use has octothorps in the same place as the material they are responding to.

Geo Swan 20:50, 10 April 2007 (UTC)