Template:ContentGrid/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Create doc page) |
m (2 revisions imported from mw:Template:ContentGrid/doc) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} |
{{Documentation subpage}} |
||
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> |
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> |
||
{{Uses TemplateStyles|Template:ContentGrid/styles.css}} |
|||
== Usage == |
== Usage == |
||
Line 68: | Line 69: | ||
}} |
}} |
||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| |
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| |
||
<!-- Categories go here and interwikis go in Wikidata. --> |
<!-- Categories go here and interwikis go in Wikidata. --> |
Latest revision as of 14:39, 10 June 2021
This is a documentation subpage for Template:Terminate sentence It contains usage information, categories and other content that is not part of the original template page. |
Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Uses TemplateStyles.tab.
Usage[edit source]
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