2013-12-05 16:21:10 +00:00
|
|
|
created: 20131205160257619
|
2013-12-06 16:24:11 +00:00
|
|
|
modified: 20131206154613715
|
2013-12-05 16:21:10 +00:00
|
|
|
tags: wikitext
|
|
|
|
title: Lists in WikiText
|
|
|
|
type: text/vnd.tiddlywiki
|
|
|
|
|
2013-12-06 16:24:11 +00:00
|
|
|
! Unordered Lists
|
|
|
|
|
2013-12-05 16:21:10 +00:00
|
|
|
You can create unordered lists with `*` characters:
|
|
|
|
|
|
|
|
<<wikitext-example src:"* First list item
|
|
|
|
* Second list item
|
|
|
|
** A subitem
|
|
|
|
* Third list item
|
|
|
|
">>
|
|
|
|
|
2013-12-06 16:24:11 +00:00
|
|
|
! Ordered Lists
|
|
|
|
|
2013-12-05 16:21:10 +00:00
|
|
|
Ordered lists use `#` instead of `*`:
|
|
|
|
|
|
|
|
# First item
|
|
|
|
# Second item
|
|
|
|
# Third item
|
|
|
|
|
|
|
|
You can also mix ordered and unordered list items:
|
|
|
|
|
|
|
|
<<wikitext-example src:"* To do today
|
|
|
|
*# Eat
|
|
|
|
* To get someone else to do
|
|
|
|
*# This
|
|
|
|
*# That
|
|
|
|
*## And the other
|
|
|
|
">>
|
|
|
|
|
2013-12-06 16:24:11 +00:00
|
|
|
! CSS Classes
|
|
|
|
|
2013-12-05 16:21:10 +00:00
|
|
|
You can also assign a CSS class to an individual member of a list with this notation:
|
|
|
|
|
|
|
|
<<wikitext-example src:"* List One
|
|
|
|
*.MyClass List Two
|
|
|
|
* List Three
|
|
|
|
">>
|
|
|
|
|
2013-12-06 16:24:11 +00:00
|
|
|
! Mixing Lists and Block Quotes
|
|
|
|
|
|
|
|
Note that [[Block Quotes in WikiText]] can be mixed with lists. For example:
|
|
|
|
|
|
|
|
<<wikitext-example src:"* List One
|
|
|
|
** List Two
|
|
|
|
**> A quote
|
|
|
|
**> Another quote
|
|
|
|
* List Three
|
|
|
|
">>
|