Difference between revisions of "Template:Grid"
Jump to navigation
Jump to search
(Created page with "<noinclude> === Parameters === '''type(required):''' begin / div / end ("nl" can be used instead of div, if you want a newline in the grid) '''cols(default 3):''' number of c...") |
Tag: Reverted |
||
Line 51: | Line 51: | ||
{{#var:startdivs}}|}}<!-- | {{#var:startdivs}}|}}<!-- | ||
-->{{#ifeq:{{{type}}}|end|{{#var:enddivs}}}} | -->{{#ifeq:{{{type}}}|end|{{#var:enddivs}}}} | ||
{{{center|}}} |
Revision as of 12:04, 2 August 2021
Parameters
type(required): begin / div / end ("nl" can be used instead of div, if you want a newline in the grid)
cols(default 3): number of columns on widest screen. If set to 0, width/number columns is not defined.
ignoreminwidth(default false): columns will have no minimum width
border(default false): whether the box should have a border
background(default transparent): the background of the grid cell. Defaults to white if border is true.
center(default false): center the text in the div
nomargin(default false): Overrides all margins and padding to 0
Templates: {{Grid|type=|cols=}}
{{Grid|type=|cols=|border=|background=|center=}}