Jump to content

Template:Flatlist/doc

From The Austrian Economics Wiki, the global repository of classical-liberal thought
Revision as of 13:46, 8 May 2011 by John James (talk | contribs) (Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> === Usage === Starts a horizontal list, such as: {{flatlist}} *cat *[[dog]...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

Starts a horizontal list, such as:

The bottom margin is inherited from the current container. Normally this will be 0.5em.

Syntax:

{{flatlist}}
*[[cat]]
*[[dog]]
*[[horse]]
*[[cow]]
*[[sheep]]
*[[pig]]
{{endflatlist}}

Alternative syntax:

{{flatlist |
*[[cat]]
*[[dog]]
*[[horse]]
*[[cow]]
*[[sheep]]
*[[pig]]
}}

Syntax for ordered lists:

{{flatlist}}
#[[first]]
#[[second]]
#[[third]]
#[[fourth]]
#[[fifth]]
#[[sixth]]
{{endflatlist}}

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 prose. For an equivalent template to use in Navboxes, see {{Flatlist compact}}

Flatlist:

Flatlist compact: Template:Flatlist compact

Template:Flatlist compact

Template:Flatlist compact

  1. first
  2. second
  3. third
  4. fourth
  5. fifth
  6. sixth

See also