Template:Endflowlist: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Protected "Template:Endflowlist" ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))) |
(No difference)
|
Latest revision as of 04:18, 16 June 2023
This template uses TemplateStyles: |
Usage
If you have this problem of list bullets and numbers overlapping with a left floating image or Infobox, for example:
List of animals:then {{Flowlist}} enables lists to stay clear of these left floating objects. It effectively makes lists act as a block level element. It does however have a few side effects that you should take note of.
List of animals:This template can be used with or without {{endflowlist}}.
Examples
[[File:Books.png|left|thumb|100px|Animal Books]] List of animals: {{flowlist| * [[cat]] * [[dog]] * [[horse]] * [[cow]] * [[sheep]] * [[pig]] }}
- Alternative syntax
[[File:Books.png|left|thumb|100px|Animal Books]] List of animals: {{flowlist}} * [[cat]] * [[dog]] * [[horse]] * [[cow]] * [[sheep]] * [[pig]] {{endflowlist}}
Parameters
|class=
– adds a CSS class to the containing div.|style=
– adds CSS style options.
Side effects
Using this technique has a side effect. If your list is longer than the floated element, then the list will not flow around the image like normal, but instead be one block, leaving white space below the floated element. This goes for both left and right side of the list.
This
List of animals:Will become
List of animals:See Also
- {{Hlist}}
- {{Bulleted list}}
- {{Ordered list}}
TemplateData
Ends a flow list started by {{flowlist}}. It takes no parameters.
Parameter | Description | Type | Status | |||
---|---|---|---|---|---|---|
No parameters specified |