Template:ContentGrid: Difference between revisions

Template page
(Added content grid)
 
m (Changed protection level for "Template:ContentGrid" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<templatestyles src="ContentGrid/styles.css" />
<templatestyles src="ContentGrid/styles.css" />
<div class="wiki-template-contentgrid" style="margin-{{dir|{{pagelang}}|left|right}}: 1em; grid-template-columns: repeat(auto-fit, minmax({{{grid-columns-min-max|300px}}}, 1fr)); grid-gap: {{{grid-gap|10px}}}; grid-auto-rows: minmax({{{grid-rows-min-max|100px}}}, auto); width: {{{width|auto}}};">{{{content}}}</div><noinclude>
<div class="wiki-template-contentgrid" style="margin-left: 1em; grid-template-columns: repeat(auto-fit, minmax({{{grid-columns-min-max|300px}}}, 1fr)); grid-gap: {{{grid-gap|10px}}}; grid-auto-rows: minmax({{{grid-rows-min-max|100px}}}, auto); width: {{{width|auto}}};">{{{content}}}</div><noinclude>
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 18:30, 1 July 2022

{{{content}}}