Template:Flatlist
Jump to navigation
Jump to search
Documentation
{{flatlist}} creates a horizontal list of items separated by bullets ( • ), for example:
[purge]
Optional parameters
- class
- Adds a CSS class to the containing div.
- style
- Adds CSS styling to the containing div. Complex styles should not be used in articles but may be acceptable on user, project and talk pages.
- indent
- Indents the list by a number of standard indents, one indent being 1.6 em. (Useful in an indented discussion thread.)
Examples
<syntaxhighlight lang="moin">
</syntaxhighlight>
produces:
Using optional parameters
<syntaxhighlight lang="moin">
</syntaxhighlight>
produces:
Technical details
This template uses the .hlist
CSS class defined in MediaWiki:Common.css to generate horizontal lists. It causes ordinary html list items to be displayed inline (horizontally), where they would normally display as block elements (vertically). The class also generates the interpuncts between list items and parentheses around nested lists.