Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Flexbox

Template page
Revision as of 13:53, 28 December 2024 by Buzzworth (talk | contribs) (Created page with "<includeonly>{{#invoke:Flexbox|flexbox}}</includeonly><noinclude> Flexbox is used to layout a list of items. It is powered by Module:Flexbox. == Usage == === Simple columns === <pre> {{Flexbox |columns = 3 |content1 = Gollum |content2 = Is |content3 = Precious }} </pre> gives {{Flexbox |columns = 3 |content1 = Gollum |content2 = Is |content3 = Precious }} === Simple row === <pre> {{Flexbox |rows = 3 |content1 = Gollum |content2 = Is |content3 = Precious }} </pre>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Flexbox is used to layout a list of items. It is powered by Module:Flexbox.

Usage

Simple columns

{{Flexbox
|columns = 3
|content1 = Gollum
|content2 = Is
|content3 = Precious
}}

gives

Gollum
Is
Precious


Simple row

{{Flexbox
|rows = 3
|content1 = Gollum
|content2 = Is
|content3 = Precious
}}

gives

Gollum
Is
Precious

Item span

{{Flexbox
|columns = 4
|content1 = Gollum
|span2 = 2
|content2 = Is
|content3 = Precious
}}

gives

Gollum
Is
Precious