Template:ContentGrid

From OS-Tan Collections Wiki
Revision as of 15:22, 21 December 2023 by Halian (talk | contribs) (Created page with "<templatestyles src="ContentGrid/styles.css" /> <div class="tpl-contentgrid" style="grid-template-columns: repeat(auto-fit, minmax({{{grid-columns-min-max|300px}}}, 1fr)); grid-gap: {{{grid-gap|2em}}}; grid-auto-rows: minmax({{{grid-rows-min-max|100px}}}, auto); width: {{{width|auto}}};">{{{content}}}</div><noinclude> {{Documentation}} </noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
{{{content}}}
Documentation icon Template documentation[view] [edit] [history] [purge]

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.