Difference between revisions of "Gridless"
From Titan's Teeth
Dicemonger (talk | contribs) |
Dicemonger (talk | contribs) |
||
Line 12: | Line 12: | ||
-->{{#ifeq: {{#var:cols}}|4|{{#vardefine:width|25%}}{{#vardefine:minwidth|262}}}}<!-- | -->{{#ifeq: {{#var:cols}}|4|{{#vardefine:width|25%}}{{#vardefine:minwidth|262}}}}<!-- | ||
− | -->{{#ifeq:{{{type}}}|begin|<div style="display:inline-table;width:{{#var:width}};min-width:{{#var:minwidth}} | + | -->{{#ifeq:{{{type}}}|begin|<div style="display:inline-table;width:{{#var:width}};min-width:{{#var:minwidth}};padding:10px;">|}}<!-- |
-->{{#ifeq:{{{type}}}|div|</div><div style="display:inline-table;width:{{#var:width}};min-width:{{#var:minwidth}};padding:10px;">|}}<!-- | -->{{#ifeq:{{{type}}}|div|</div><div style="display:inline-table;width:{{#var:width}};min-width:{{#var:minwidth}};padding:10px;">|}}<!-- | ||
-->{{#ifeq:{{{type}}}|end|</div>|}} | -->{{#ifeq:{{{type}}}|end|</div>|}} |
Revision as of 10:06, 14 July 2019
Parameters
type(required): begin / div / end
cols(default 3): number of columns on widest screen