Wiki-Syntax Lists | |
In Tiki Wiki pages and other contexts that support Wiki formatting (including articles, forums, and blogs), you can easily create bulleted, numbered, and definition lists. In numbered lists, Tiki numbers the items automatically. You can also create nested lists. The following sections explain the details; see the Quick Reference for an overview. Scroll down to Help! if something goes wrong. In this page: |
Quick Reference | ||||||||||||
If you forget which character to use while you're editing, click the Wiki Quick Help tab. |
Creating a Bulleted List | |
If you type an asterisk (*) at the beginning of a line, Tiki places a bullet (a black dot) at the beginning of the line. The line is indented and formatted with a hanging indent, so that second and subsequent lines are indented and aligned with the first line. To create a bulleted list, do the following:
Example :
|
Creating a Numbered List | |
If you type a hash mark (#) at the beginning of a line, Tiki numbers the line and indents it from the left margin. The item's text is formatted with a hanging indent, so that second and subsequent lines are indented and aligned with the first line. To create a numbered list, do the following:
If you place more than one numbered list in a page, the items are separately numbered. |
Multilevel style numbering | |
Since Tiki18 one can make numbered lists output unique numbers for each sub-item instead of reseting the counter to 1. For example, when it is wrapped in a PluginDiv with Copy to clipboard
The output should be something like this image: How it is rendered on this page:
Tip Enable "Multilevel style numbering for ordered lists" preference ( wiki_make_ordered_list_items_display_unique_numbers ) on the "Editing and Plugins" control panel to apply this globally on all ordered lists rendered in Tiki.
If you want to opt-out some list from this formatting, you can then wrap it in a div with class |
Creating a Nested List | |
A nested list is a bulleted or numbered list that has more than one level — that is, some items have "sub-items". To create a nested list, type two or more asterisks (bulleted lists) or hash marks (numbered lists) at the beginning of the line, as shown in the following examples: * Level 1 (bulleted list) # Level 1 (numbered list) |
Creating an Outline Numbered List | |
You can add some custom CSS to a page by using the (PluginHTML|HTML Plugin). Copy to clipboard
The following Copy to clipboard
Will show as
|
Bullet list example: | |
In a bulleted list, you can create additional sub-levels beyond the third level, but Tiki doesn't use distinctive bullets beyond Level 3. |
Numbered list example: | |
Here's a numbered list with nested levels:
You can create deeper levels of nesting, but doing so might prove confusing to your readers. |
Combined Bullet and Numbered list example: | |
Syntax: Copy to clipboard
Result:
|
Adding Hidden Details | |
An expandable area allows you to display the major items in your list by default. Every item is still there, but it needs to be expanded to become visible. An expandable area is created by adding a minus - character after the star * characters.
Expandable areas work with Bulleted and Numbered lists. |
Multi-line Items | |
Text can be forced to continue at the same indentation level in a list without having a bullet or a Number assigned to it. This is accomplished by having a Plus + character start each line. The number of Plus characters controls the indentation level.
Expandable areas work with Bulleted and Numbered lists. |
Creating a Definition List | |
A definition list displays a term that is aligned flush left; the term's definition is positioned on the subsequent line and indented. Here's an example:
To create a definition list, do the following:
Better definition lists can be created using the DL plugin. |
Creating a Table of Contents List | |||||||||||||||||||||
Use the {maketoc} plugin to automatically create a table of contents, based on the headings on the current wiki page. For example, using {maketoc} on this page will produce: {maketoc} You can use the following options to customize the table of contents list:
|
Remarks | |
{maketoc:box} produces a table of contents without respect to the hierarchical order. |
Related pages | |