Template:Div col: Difference between revisions

From Vigyanwiki
Template>Waldyrious
(Now both Chrome and Firefox give precedence to colcount: when both are set, colwidth acts as min-col-width. Updating to reflect this. Detailed changes will be posted to talk page.)
m (68 revisions imported from alpha:Template:Div_col)
 
(34 intermediate revisions by 13 users not shown)
Line 1: Line 1:
<includeonly><div class="{{#if:{{{cols|{{{1|}}}}}}|column-count column-count-{{{cols|{{{1}}}}}}}} {{#if:{{{colwidth|{{{2|}}}}}}|column-width}}" style="{{#if:{{{colwidth|{{{2|}}}}}}|{{column-width|{{{colwidth|{{{2|{{#if:{{{cols|{{{1|}}}}}}||10em}}}}}}}}}}}} {{#if:{{{cols|{{{1|}}}}}}|{{column-count|{{{cols|{{{1|{{#if:{{{colwidth|{{{2|}}}}}}||2}}}}}}}}}}}} {{#ifeq:{{lc:{{{small|}}}}}|yes|font-size:90%;}}"></includeonly><noinclude>
<includeonly><templatestyles src="Div col/styles.css"/><!--
--><div class="div-col {{#ifeq:{{{small|}}}|yes|div-col-small}} {{#ifeq:{{{rules|}}}|yes|div-col-rules}} {{{class|}}}" <!--
-->{{#if:{{{colwidth|}}}{{{gap|}}}{{{style|}}}|<!--
-->style="{{#if:{{{colwidth|}}}|column-width: {{{colwidth}}};}}{{#if:{{{gap|}}}|column-gap: {{{gap}}};}}{{#if:{{{style|}}}|{{{style}}}}}"<!--
-->}}><!--
-->{{#if:{{{content|}}}|{{{content}}}</div>}}<!-- Inventory how many pages use small=yes
-->{{#ifeq:{{{small|}}}|yes|}}<!--
--></includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|}}|preview=Page using [[Template:Div col]] with unknown parameter "_VALUE_"; use colwidth= to specify column size |ignoreblank=y | class | colwidth | content | gap | rules | small | style }}<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>
[[Category:Lua-based templates]]
[[Category:Multi-column templates]]
[[Category:Pages using div col with small parameter]]
[[Category:Templates that add a tracking category]]
[[Category:Templates using TemplateData]]
[[Category:Templates using under-protected Lua modules]]
[[Category:Wikipedia fully protected templates|Div col]]

Latest revision as of 14:06, 12 December 2022

Lua error in Module:TNT at line 182: Missing Commons dataset I18n/Module:TNT.tab.