Anonymous user
Template:Hlist/doc: Difference between revisions
→Parameters: Performed minor cleanup.
en>Paine Ellsworth m (update /doc) |
en>DocWatson42 (→Parameters: Performed minor cleanup.) |
||
Line 26: | Line 26: | ||
== Parameters == | == Parameters == | ||
* Positional parameters (<code>1</code>, <code>2</code>, <code>3</code>...) | * Positional parameters (<code>1</code>, <code>2</code>, <code>3</code>...): these are the list items. If no list items are present, the module will output nothing. | ||
* <code>class</code> | * <code>class</code>: a custom class for the {{tag|div}} tags surrounding the list, e.g. <code>plainlinks</code>. | ||
* <code>style</code> | * <code>style</code>: a custom CSS style for the {{tag|div}} tags surrounding the list, e.g. <code>font-size: 90%;</code>. | ||
* <code>list_style</code> | * <code>list_style</code>: a custom CSS style for the {{tag|ul}} tags around the list. The format is the same as for the {{para|style}} parameter. | ||
* <code>item_style</code> | * <code>item_style</code>: a custom CSS style for all of the list items (the {{tag|li}} tags). The format is the same as for the {{para|style}} parameter. | ||
* <code>item1_style</code>, <code>item2_style</code>, <code>item3_style</code>... | * <code>item1_style</code>, <code>item2_style</code>, <code>item3_style</code>...: custom CSS styles for each of the list items. The format is the same as for the {{para|style}} parameter. | ||
* <code>indent</code> | * <code>indent</code>: this parameter indents the list. The value must be a number, e.g. <code>2</code>. The indent is calculated in [[Em (typography)|em]], and is 1.6 times the value specified. If no indent is specified, the default is zero. | ||
== Examples == | == Examples == |