Hey YOU, yeah YOU! Esportspedia is recruiting more contributors! Join our Discord server and apply to become part of our team, and gain valuable experience within esports and earn some awesome rewards! Apply now! We know you won't regret it!

Template:Flatlist/doc

From League of Legends Wiki
Jump to: navigation, search

Usage

{{Flatlist}} starts a horizontal list, such as:

The bottom margin is inherited from the current container. Normally this will be 0.5em. This template can be used in tandem with {{endflatlist}}.

Parameters

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

  • indent – adds left indent by a number of em-spaces, particularly handy for inclusion in an indented discussion thread.
Example: Template:Para
  • style – adds CSS style options. Complex styles should not be used in articles but may be acceptable on user, project, and talk pages.
Example: Template:Para

See also

Adapted from Liquipedia