User:RexxS/flatlist compact
Appearance
Usage
[edit]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
[edit]- 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
[edit]This template is particularly suitable for use in Navboxes. For an equivalent template to use in prose, see {{Flatlist}}
Flatlist:
Flatlist compact:
See also
[edit]- {{endflatlist}}
- {{nowrap begin}}/{{nowrap end}}
- {{multi-column numbered list}}
- {{pagelist}}
<includeonly> <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> [[Category:Typing-aid templates|{{PAGENAME}}]] [[Category:Wikipedia list formatting templates|{{PAGENAME}}]] </includeonly>