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

Flexbox: Difference between revisions

From PGN Classic
lotr>Alistair3149
No edit summary
 
m 1 revision imported
 
(No difference)

Latest revision as of 03:12, 21 May 2025

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