Template:Flex end

Revision as of 20:34, 10 May 2025 by Mango Stellaris (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
[view] [edit] Template documentation

Used to display elements next to each other, vertically aligned to the center. Supports up to 10 elements.

Parameters edit

Parameter Description Default Status
1 Items to display next to each other required
2-10 optional
margin Sets horizontal gap between flexbox items, 'px' included in template 6 optional
gap Sets horizontal and vertical gap between flexbox items, overrides the margin parameter 0px 6px optional
align Vertical alignment of the contents.
  • flex-start to align to top
  • flex-end to align to bottom
  • center to align to center
center optional
justify Horizontal alignment of the contents.
  • flex-start to align to left
  • flex-end to align to right
  • center to align to center
flex-start optional
wrap Set to wrap or yes to enable wrapping of flexbox items.
Set to nowrap or no to disable it.
nowrap optional
style Specifies additional style properties of the flexbox. optional
itemstyle Sets a style parameter for all items optional

Example edit

{{flex|Item 1|Item 2<br>Item3|Item 4|align=center}}

Item 1
Item 2
Item3
Item 4