Template:Flexbox/doc: Difference between revisions

From The Soulbreach Algorithm
mirahaze>Legroom
mNo edit summary
 
m (1 revision imported)
 
(No difference)

Latest revision as of 16:46, 18 September 2024

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: