Template:columns: Difference between revisions

From Laenkea
Jump to navigation Jump to search
(Created page with "<includeonly>{{#if: {{{width|}}} | <div style="column-width: {{{width}}}; -webkit-column-width: {{{width}}}; -moz-column-width: {{{width}}};"> | {{#if: {{{number|}}} | <div style="column-count: {{{number}}}; -webkit-column-count: {{{number}}}; -moz-column-count: {{{number}}};"> | <div style="column-width: 20em; -webkit-column-width: 20em; -moz-column-width: 20em;"> }} }} {{{1}}} </div></includeonly><noinclude></noinclude>")
 
(Replaced content with "<includeonly>{{#invoke:columns|show}}</includeonly><noinclude>{{documentation}}</noinclude>")
Tag: Replaced
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{{#if: {{{width|}}} | <div style="column-width: {{{width}}}; -webkit-column-width: {{{width}}}; -moz-column-width: {{{width}}};"> |
<includeonly>{{#invoke:columns|show}}</includeonly><noinclude>{{documentation}}</noinclude>
{{#if: {{{number|}}} | <div style="column-count: {{{number}}}; -webkit-column-count: {{{number}}}; -moz-column-count: {{{number}}};"> |
<div style="column-width:  20em; -webkit-column-width: 20em; -moz-column-width:  20em;">
}}
}}
{{{1}}}
</div></includeonly><noinclude></noinclude>

Latest revision as of 16:44, 11 August 2023

TemplateDocumentation.svg Template documentation [view] [edit] [purge]

Usage

{{columns|ryn|fomíd|limaŗ|binúð|vepuíh|nai|aşúr}}

Automatically sorts the list alphabetically and produces:

Parameters

|1=
Language code
|2=, |3=, etc.
Terms in the language
|columns=
The number of columns (2 by default)
|tN=
Sets the gloss for a specific term in the list
|altN=
Sets the alternative link display text for a specific term in the list
|posN=
Sets the part of speech for a specific term in the list