Template:Flatlist/doc

  creates a horizontal list of items separated by middots ( · ), for example:

New York

Paris

Hong Kong

It's handy for use inside navbox to format the link lists.

This template is a copy of Wikipedia's, except it doesn't support the alternative syntax.

Usage
New York

Paris

Hong Kong

produces:

New York

Paris

Hong Kong

For a numbered list:


 * 1) New York
 * 2) Paris
 * 3) Hong Kong

produces:


 * 1) New York
 * 2) Paris
 * 3) Hong Kong

Parameters

 * class adds a CSS class to the containing . Note: This class must exist in this wiki's CSS (both MediaWiki:Wikia.css AND MediaWiki:Common.css).
 * Example: If the link text contains spaces, use nowraplinks to prevent the link text from wrapping:
 * |class=nowraplinks


 * style adds inline CSS styles to the containing . Avoid this unless absolutely necessary.
 * Example:
 * |style=border:solid 1px silver; background:lightyellow


 * indent indents the list by a number of standard indents, one indent being 1.6em. (Useful in an indented discussion thread.)
 * Example:
 * |indent=2

Technical Details
This template requires that the  CSS class be implemented in the wiki's CSS and JavaScript. For the class code, see http://www.mediawiki.org/wiki/Snippets/Horizontal_lists. In the Deus Ex wiki, the code have been added to:
 * MediaWiki:Wikia.css - for the default Wikia skin (aka Oasis),
 * MediaWiki:Common.css - for the old Monobook skin (Wikipedia-like),
 * MediaWiki:Common.js - the IE8 CSS hack.

This template wraps an HTML list into a  block, which causes the items to be listed horizontally instead of vertically. The CSS automatically generates middots ( · ) between the items and parentheses around nested lists.

Note: Some of the CSS used is not compatible with all browsers, specifically Internet Explorer 6 and 7.