Template:Flexbox/doc

From The Soulbreach Algorithm
Revision as of 14:39, 24 August 2024 by mirahaze>Legroom
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Mbox

Description

This template creates a flexbox which can be used as mobile adaptive container for things like images, tables and other block elements, for example, on wiki's main page, as alternative to gallery, etc. It doesn't have any dependencies and uses inline CSS.

Syntax

Type: {{flexbox|<content>}}

Usage example

Bellow is an example of template's code being used as a gallery container for embed YouTube videos (with Template:YouTube):

{{flexbox|
{{YouTube|uxSIGaMIZDI}}
{{YouTube|c85Dmlm-6-w}}
{{YouTube|0tlMPZwb9jw}}}}

The result: