Revision as of 17:19, 6 November 2024 by Muskit Gergous(talk | contribs)(Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{When on basepage|{{Uses TemplateStyles|Template:Flowlist/styles.css}}}} ===Usage=== If you have this problem of list bullets and numbers overlapping with a left floating image or Infobox, for example: left|thumb|100px|Test image List of animals: * cat * dog * horse * cow * sheep * pig {{clear}} then {{tl|Flowlist}} e...")
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.
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.
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
Test image
Test image
List of animals:
cat in a very long sentence that should collide with the image to the right
dog in a very long sentence that should collide with the image to the right
Will become
Test image
Test image
List of animals:
cat in a very long sentence that should collide with the image to the right
dog in a very long sentence that should collide with the image to the right