Template:Flex columns/doc: Difference between revisions
| [checked revision] | [checked revision] |
Content deleted Content added
Caleb Cooper (talk | contribs) Created page with "{{Documentation subpage}} {{high-use| 4800 }} {{Uses Lua|Module:Flex columns}} {{Uses TemplateStyles|Template:Flex columns/styles.css}} <!-- Please place template categories w..." |
Caleb Cooper (talk | contribs) No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
Line 1:
{{Documentation subpage}}
{{high-use
{{Uses Lua|Module:Flex columns}}
{{Uses TemplateStyles|Template:Flex columns/styles.css}}
Line 6:
This template creates a column layout, where contents within the columns will have the same height, with any extra whitespace distributed throughout the shorter columns contents. It is mainly intended for use in portals.
This sort of layout requires browsers to support [[Wikipedia:CSS Flexible Box Layout|CSS flexbox]]. For those that don't there is a fallback that will show a two column view, but without the heights being the same (a layout many portals used as at July 2018).
For narrow screens, e.g. mobile devices, the display reverts to a single column.
| |||