« Modèle:ContentGrid/doc » : différence entre les versions
Aller à la navigation
Aller à la recherche
mw|https://www.mediawiki.org/wiki/$1|0|https://www.mediawiki.org/w/api.php>Clump m (Reverted edits by 83.34.51.89 (talk) to last version by Tacsipacsi) |
m (1 version importée) |
(Aucune différence)
|
Version actuelle datée du 24 juin 2023 à 15:40
Fichier:OOjs UI icon book-ltr.svg | This is a documentation subpage for Modèle:ContentGrid. It contains usage information, categories and other content that is not part of the original Modèle page. |
Fichier:Farm-Fresh css add.svg | This template uses TemplateStyles: |
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