Teamplaid:Flowlist/documentation
This is a documentation subpage for Teamplaid:Flowlist. It contains usage information, categories and other content that is not part of the original teamplaid page. |
Ùsaid - Usage
deasaichIf 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}}.
Eisimpleirean - Examples
deasaich[[File:Bad Title Example.png|left|thumb|100px|Test image]] List of animals: {{Flowlist | * [[cat]] * [[cù]] * [[dealan-dé]] * [[easgann]] * [[tarbh-nathrach]] * [[cat-mara]] }}List of animals:
- Alternative syntax
[[File:Bad Title Example.png|left|thumb|100px|Test image]] List of animals: {{Flowlist}} * [[cat]] * [[cù]] * [[dealan-dé]] * [[easgann]] * [[tarbh-nathrach]] * [[cat-mara]] {{Endflowlist}}List of animals:
Paramadairean - Parameters
deasaich- 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
deasaichUsing 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
deasaichWill become
deasaichFaic cuideachd - Also see