Template:FlexContainer

From Dune: Awakening Community Wiki
Jump to navigation Jump to search


Usage Examples

Smuggler
Cosmetic TypeSwatch
Compatibility
  • All Garments
  • All Vehicles
  • All Weapons
House Atreides
Cosmetic TypeSwatch
CompatibilityAll

TemplateData

Convenience wrapper for applying the shared 'flex-container' layout class. Wraps content in a standardised responsive flex container with optional spacing and alignment overrides. Due to MediaWiki parsing limitations, wikitables should not be used inside this template. Instead, wrap tables manually in a <div class="flex-container">.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Content1

Content to be wrapped inside the flex container. Wikitables are not supported; wrap tables manually in a <div class="flex-container"> if needed.

Contentrequired
Gap (em)gap

Spacing between wrapped items, in 'em' units. Accepts decimal values. If omitted, the default value defined in Common.css is used.

Default
1
Numberoptional
Item alignmentalign_items

Vertical alignment of items within the flex container. If omitted, the default value defined in Common.css is used.

Suggested values
flex-end center stretch baseline
Default
flex-start
Stringoptional
Text alignmenttext_align

Alignment of inline content within the flex container. If omitted, the default value defined in Common.css is used.

Suggested values
left right justify
Default
center
Stringoptional