Template:ContentGrid/doc

From wizzypedia
Revision as of 14:50, 6 July 2022 by Mwazir (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

[[Category:Template documentation pages{{#translation:}}]]

Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Uses TemplateStyles.tab.

Usage

A responsive grid of page elements. Populate the content parameter with grid elements separated by a new line.

For example:

{{ContentGrid
|content=

Text A

Text B

Text C
}}

Produces:

Text A

Text B

Text C


This template works well with other templates, like Template:Colored box.

For example:

{{ContentGrid
|content=

{{Colored box
|title = Title
|content = Content
}}

{{Colored box
|title =
|content = 
}}

}}

Produces:

Title

Content

Title

Content