Template:Div col: Difference between revisions

From Vigyanwiki
Template>SatyrTN
(Instructions)
m (68 revisions imported from alpha:Template:Div_col)
 
(69 intermediate revisions by 25 users not shown)
Line 1: Line 1:
<includeonly><div style="-moz-column-count:2; column-count:2;{{#ifeq: {{lc:{{{small|}}}}} | yes | font-size:80%;|}}"></includeonly><noinclude>
<includeonly><templatestyles src="Div col/styles.css"/><!--
== Description ==
--><div class="div-col {{#ifeq:{{{small|}}}|yes|div-col-small}} {{#ifeq:{{{rules|}}}|yes|div-col-rules}} {{{class|}}}" <!--
This template is used to make a list into two columns, with the option of specifying a smaller font.
-->{{#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}}
</noinclude>


== Usage ==
[[Category:Lua-based templates]]
<pre>{{Div 2col}}
[[Category:Multi-column templates]]
* a
[[Category:Pages using div col with small parameter]]
* b
[[Category:Templates that add a tracking category]]
* c
[[Category:Templates using TemplateData]]
* d
[[Category:Templates using under-protected Lua modules]]
{{Div col end}}</pre>
[[Category:Wikipedia fully protected templates|Div col]]
 
;Produces:
<div style="-moz-column-count:2; column-count:2;{{#ifeq: {{lc:{{{small|}}}}} | yes | font-size:80%;|}}">
* a<br>
* b<br>
* c<br>
* d
</div>
</noinclude>

Latest revision as of 14:06, 12 December 2022

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