සැකිල්ල:Div col end
(සැකිල්ල:Colend වෙතින් යළි-යොමු කරන ලදි)
This template is used to make a list into columns, with the option of specifying a smaller font. It has the advantage over other column templates (i.e. {{col-begin}}) that it automatically breaks each column to an equal space, so you do not manually have to find the "half way" point on two columns, for instance.
This template can create multiple columns in web browsers which support one of the following CSS properties:
- -moz-column-count (for Mozilla/Gecko based browsers such as Firefox)
- -webkit-column-count (for WebKit based browsers such as Safari and Google Chrome)
- column-count (for CSS3 compliant browsers; see CSS3 module: Multi-column layout)
Therefore, the template does not work in browsers such as Internet Explorer and Opera (see Template:Reflist#Browser support for columns).
භාවිතය
සංස්කරණය- තීරුව =
- තීරු ගණන කියැ වේ. පෙරනිමිය 2 ය.
- තීරුපළල =
- Can be used instead of cols to set the number of columns based on width instead. colwidth=200px will result in more columns being shown on wider displays, while colwidth=33% will result in three columns.
- කුඩා =
- Specifies small font size (90%) if set to yes.
උදාහරණ
සංස්කරණය{{Div col}} * අ * ආ * ඇ * ඈ * ඉ * ඊ * උ * ඌ {{Div col end}}
- Produces
- අ
- ආ
- ඇ
- ඈ
- ඉ
- ඊ
- උ
- ඌ
{{Div col|cols=3}} * අ * ආ * ඇ * ඈ * ඉ * ඊ * උ * ඌ {{Div col end}}
- Produces
- අ
- ආ
- ඇ
- ඈ
- ඉ
- ඊ
- උ
- ඌ
{{div col|colwidth=10em}} * අ * ආ * ඇ * ඈ * ඉ * ඊ * උ * ඌ {{Div col end}}
- Produces
- අ
- ආ
- ඇ
- ඈ
- ඉ
- ඊ
- උ
- ඌ
{{Div col|small=yes}} * අ * ආ * ඇ * ඈ * ඉ * ඊ * උ * ඌ {{Div col end}}
- Produces
- අ
- ආ
- ඇ
- ඈ
- ඉ
- ඊ
- උ
- ඌ
See also
සංස්කරණය- {{multicol}}
- {{col-begin}}
- {{columns-list}}