File:Seal of the Commonwealth of Maresia.svg and Template:Endflowlist: Difference between pages
m (Insui moved page File:Seal of the State of Milan.svg to File:Seal of the Commonwealth of Milan.svg) |
m (1 revision imported) |
||
Line 1: | Line 1: | ||
<noinclude><div></noinclude></div><noinclude> | |||
{{documentation|Template:Flowlist/doc}} | |||
</noinclude> |
Latest revision as of 20:59, 31 August 2021
Lua error: bad argument #1 to "get" (not a valid title).
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:Bad Title Example.png|left|thumb|100px|Test image]] List of animals: {{flowlist | * [[cat]] * [[dog]] * [[horse]] * [[cow]] * [[sheep]] * [[pig]] }}List of animals:
- Alternative syntax
[[File:Bad Title Example.png|left|thumb|100px|Test image]] List of animals: {{flowlist}} * [[cat]] * [[dog]] * [[horse]] * [[cow]] * [[sheep]] * [[pig]] {{endflowlist}}List of animals:
Parameters
- class – adds a CSS class to the containing div.
- style – adds CSS style options. Complex styles should not be used in articles (per wp:deviations) but may be acceptable on user, project, and talk pages.
- Example:
|style=border:solid 1px silver; background:lightyellow
- Example:
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
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 22:53, 29 November 2023 | 512 × 512 (170 KB) | Insui (talk | contribs) | ||
22:28, 29 November 2023 | 512 × 512 (124 KB) | Insui (talk | contribs) | |||
22:37, 28 July 2021 | 512 × 512 (80 KB) | Insui (talk | contribs) |
You cannot overwrite this file.
File usage
The following 9 pages use this file: