You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Template:ContentGrid/doc

From Wikitech-static
Jump to navigation Jump to search

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