Modèle:ContentGrid

De Wikitechnia
Révision datée du 29 janvier 2022 à 19:52 par https://www.mediawiki.org/w/api.php>Stang (Reverted edits by 101.10.9.225 (talk) to last version by APaskulin (WMF): reverting vandalism)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Aller à la navigation Aller à la recherche
{{{content}}}
Documentation du modèle

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