close
Sayahna Sayahna
Search

Difference between revisions of "User:RexxS/flatlist compact/doc"


(closing TFD)
 
m (1 revision)
 
(No difference)

Latest revision as of 06:48, 27 March 2014

Usage

Starts a horizontal list, such as:

The bottom margin is set to zero for use where display should be compact.

Syntax:

{{User:RexxS/flatlist compact}}
*[[cat]]
*[[dog]]
*[[horse]]
*[[cow]]
*[[sheep]]
*[[pig]]
{{endflatlist}}

Alternative syntax:

{{User:RexxS/flatlist compact |
*[[cat]]
*[[dog]]
*[[horse]]
*[[cow]]
*[[sheep]]
*[[pig]]
}}

Optional parameters

  • style, additional CSS style options. Example: style = border:solid 1px silver; background:lightyellow (complex styles should not be used in articles but may be acceptable on user, project and talk pages)
  • indent, add left indent by a number of em-spaces, particularly handy for inclusion in an indented discussion thread. Example: indent = 2

Examples

This template is particularly suitable for use in Navboxes. For an equivalent template to use in prose, see {{Flatlist}}

Flatlist:

Flatlist compact:

See also