Үлгі:Endflatlist/doc

Уикипедия — ашық энциклопедиясынан алынған мәлімет
Навигацияға өту Іздеуге өту

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 works 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: |indent=2
  • style – adds CSS style options. Complex styles should not be used in articles but may be acceptable on user, project and talk pages.
Example: |style=border:solid 1px silver; background:lightyellow

Examples[қайнарын өңдеу]

{{Flatlist |
*[[cat]]
*[[dog]]
*[[horse]]
*[[cow]]
*[[sheep]]
*[[pig]]
}}
{{Flatlist |
*[[kitten]]
*[[puppy]]
*[[foal]]
*[[calf]]
*[[lamb]]
*[[piglet]]
}}
{{flatlist}}
#[[first]]
#[[second]]
#[[third]]
#[[fourth]]
#[[fifth]]
#[[sixth]]
{{endflatlist}}

See also[қайнарын өңдеу]