Template:FlexContainer
Usage Examples
| Smuggler | |
|---|---|
![]() | |
| Cosmetic Type | Swatch |
| Compatibility |
|
| House Atreides | |
|---|---|
![]() | |
| Cosmetic Type | Swatch |
| Compatibility | All |
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">.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Content | 1 | Content to be wrapped inside the flex container. Wikitables are not supported; wrap tables manually in a <div class="flex-container"> if needed. | Content | required |
| Gap (em) | gap | Spacing between wrapped items, in 'em' units. Accepts decimal values. If omitted, the default value defined in Common.css is used.
| Number | optional |
| Item alignment | align_items | Vertical alignment of items within the flex container. If omitted, the default value defined in Common.css is used.
| String | optional |
| Text alignment | text_align | Alignment of inline content within the flex container. If omitted, the default value defined in Common.css is used.
| String | optional |


