(anonymous guest) (logged out)

Copyright (C) by the contributors. Some rights reserved, license BY-SA.

Sponsored by the Wiki Symposium and the Nuveon GmbH.

 

Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-39) was last changed on 25-Oct-2007 15:55 by YvesPiguet  

This page was created on 27-Aug-2006 11:40 by Christoph

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 1 added 2 lines
Bold, italics, links, pre can be embedded in lists. Whitespace is optional before and after the - or # character. Also see [[lists reasoning]] for creole's decisions.
At line 3 changed one line
these list are usually also refered to as bullet lists, however this term is misleading because with css you can format it as bold dashes as well...
These lists are usually also refered to as bullet lists, however this term is misleading because with css you can format it as bold dashes as well...
At line 7 added one line
Creole:
At line 6 changed 3 lines
whitespace before not allowed
* unnumbered list (interferes with [Bold And Italics]
- unnumbered list (interferes with [Horizontal Line])
* Item 1
* Item 2
At line 13 added 12 lines
Recommended HTML:
{{{
<ul>
<li>Item 1</li>
<li>Item 2</li>
</ul>
}}}
Output:
* Item 1
* Item 2
At line 14 changed one line
consensus at [Wikisym 06].
Creole:
At line 16 changed one line
# number list
# Item 1
# Item 2
At line 19 changed one line
[WikiMatrix ordered list syntax comparison|http://www.wikimatrix.org/syntax.php?i=33]
Recommended HTML:
{{{
<ol>
<li>Item 1</li>
<li>Item 2</li>
</ol>
}}}
At line 21 changed one line
mixed lists ok
Output:
# Item 1
# Item 2
At line 23 changed 2 lines
----
Examples:
!!! Nesting
At line 26 changed one line
Good:
Lists can be nested:
Creole:
At line 28 changed 3 lines
- One
- Two
- Three
* Item 1
* Item 2
** Item 2.1
** Item 2.2
At line 57 added 2 lines
Recommended HTML:
At line 33 changed 5 lines
- One
-- One One
-- One Two
--- One Two One
-Two
<ul>
<li>Item 1</li>
<li>Item 2
<ul>
<li>Item 2.1</li>
<li>Item 2.2</li>
</ul>
</li>
</ul>
At line 70 added 12 lines
Output:
* Item 1
* Item 2
** Item 2.1
** Item 2.2
!!! Mixing
Nested lists can be mixed by repeating the list item character multiple times:
Creole:
At line 40 changed 5 lines
- One
## One One
## One Two
--- One Two One
- Two
* Item 1
* Item 2
## Item 2.1
## Item 2.2
At line 47 changed one line
Bad:
Recommended HTML:
At line 49 changed 2 lines
-- Zero One
- One
<ul>
<li>Item 1</li>
<li>Item 2
<ol>
<li>Item 2.1</li>
<li>Item 2.2</li>
</ol>
</li>
</ul>
At line 101 added 14 lines
Output:
* Item 1
* Item 2
## Item 2.1
## Item 2.2
!!! Leading Whitespace
People like Alex argued against allowing leading whitespace, citing the markup for [Headings] as a counter example. People like Christoph, Alain and Radomir however reported that users will indent lists. The output then confuses non-technical people and requires a certain amount of handholding.
Note that leading whitespace has no effect on the nesting of the list item. The number list item character repetitions determines the nesting level.
Creole:
At line 53 changed 2 lines
- One
# One
* Item 1
* Item 2
** Item 2.1
** Item 2.2
At line 121 added 2 lines
Recommended HTML:
At line 57 changed 2 lines
- One
--- One Zero Two
<ul>
<li>Item 1</li>
<li>Item 2
<ul>
<li>Item 2.1</li>
<li>Item 2.2</li>
</ul>
</li>
</ul>
At line 60 removed 4 lines
{{{
- One
-- One Two
}}}
At line 135 added 5 lines
Output:
* Item 1
* Item 2
** Item 2.1
** Item 2.2
At line 141 added 4 lines
!!! WikiMatrix
[WikiMatrix ordered list syntax comparison|http://www.wikimatrix.org/syntax.php?i=33]
At line 148 added 14 lines
== Related ==
* [[MultilineListItems]] and [[Talk.MultilineListItems]]
* [[List Markup Alternatives]] and [[Talk.ListMarkupAlternatives]]
* [[Bullet List]]
* [[List Markup Decision]] and [[Talk.ListMarkupDecision]]
* [[Bullet List On Wikipedia Research]]
* [[Hyphen List Markup Proposal]] and [[Talk.HyphenListMarkupProposal]]
* [[Engines Using Asterisks For Lists And Bold]]
* [[Require Space After Bullet Proposal]] and [[Talk.RequireSpaceAfterBulletProposal]]
* [[Lists Reasoning]]
* [[ListsAndHorizontalLinesSignaturesAmbiguity]]
* [[Edge Cases]]
* [[Bold And Lists Ambiguity]]
Version Date Modified Size Author Changes ... Change note
39 25-Oct-2007 15:55 2.906 kB YvesPiguet to previous Restore (vandalism)
38 25-Oct-2007 05:26 2.916 kB 81.201.58.55 to previous | to last
37 15-Oct-2007 17:38 2.906 kB YvesPiguet to previous | to last Restore (vandalism)
36 15-Oct-2007 17:36 2.925 kB 196.20.65.210 to previous | to last
35 26-Sep-2007 12:34 2.906 kB ChuckSmith to previous | to last restore
34 26-Sep-2007 06:10 2.966 kB 207.44.238.95 to previous | to last
33 26-Sep-2007 02:21 2.957 kB 161.200.255.162 to previous | to last
32 26-Sep-2007 02:21 2.945 kB 203.69.39.251 to previous | to last
31 26-Sep-2007 02:20 2.926 kB 203.69.39.251 to previous | to last
30 13-Mar-2007 22:00 2.906 kB RadomirDopieralski to previous | to last added related links
29 31-Jan-2007 16:56 2.309 kB ChuckSmith to previous | to last link to lists reasoning
28 11-Sep-2006 17:12 2.256 kB RadomirDopieralski to previous | to last changed - to * according to spec
27 07-Sep-2006 15:44 2.256 kB 80.254.169.243 to previous | to last fix html nesting
26 07-Sep-2006 15:41 2.25 kB 80.254.169.243 to previous | to last
25 07-Sep-2006 15:39 2.096 kB 80.254.169.243 to previous | to last
24 07-Sep-2006 15:36 1.822 kB 80.254.169.243 to previous | to last
23 07-Sep-2006 15:35 1.822 kB 80.254.169.243 to previous | to last
22 07-Sep-2006 15:35 1.822 kB 80.254.169.243 to previous | to last
21 07-Sep-2006 15:34 1.819 kB 80.254.169.243 to previous | to last Added nested and mixed lists to the recommendation
« This page (revision-39) was last changed on 25-Okt-2007 15:55 by YvesPiguet