Lists
It is possible to create lists in the same way as in HTML by making use of the "ol", "ul" and "li" tags. The lists can be nested. The optional "class" parameter allows the use of a desired CSS class. The following examples demonstrate the usage of ordered and unordered lists.
Ordered lists
<ol [class=""] [custom_parameter="" [...] ]> <li [class=""] [custom_parameter="" [...] ]>Element 1</li> <li [class=""] [custom_parameter="" [...] ]>Element 2</li> <li [class=""] [custom_parameter="" [...] ]>Element 3</li> </ol>
Unordered lists
<ul [class=""] [custom_parameter="" [...] ]> <li [class=""] [custom_parameter="" [...] ]>Element 1</li> <li [class=""] [custom_parameter="" [...] ]>Element 2</li> <li [class=""] [custom_parameter="" [...] ]>Element 3</li> </ul>
The custom parameters are optional. In order to use them, their names must be specified using the "CustomAttributes[]" array in the [ol], [ul], [li] blocks within an override for the "content.ini" configuration file. When used, a custom parameter will be available as a template variable with the same name as it was specified in the tag itself.
Balazs Halasy (10/03/2005 11:47 am)
Svitlana Shatokhina (19/07/2007 10:09 am)
Comments