Template:ContentGrid: Difference between revisions

Nothing to hide, but nothing to show you either.
Jump to navigation Jump to search
Content added Content deleted
(factor out grid from Good first bugs to be reusable)
 
m (9 revisions imported from mw:Template:ContentGrid)
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<templatestyles src="ContentGrid/styles.css" />
<div id="adjectives" style="padding: 10px; margin-{{dir|{{pagelang}}|left|right}}: 1em; margin-bottom: 1em; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); grid-gap: 10px; grid-auto-rows: minmax(100px, auto);">{{{content}}}</div>
<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>
{{Documentation}}
</noinclude>

Latest revision as of 14:39, 10 June 2021

{{{content}}}