Template:columns/documentation: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
{{uses lua|Module:columns}} | {{uses lua|Module:columns}} | ||
{{shortcut|Template:col}} | |||
==Usage== | ==Usage== | ||
{{tempn|columns|ryn|fomíd|limaŗ|binúð|vepuíh|nai|aşúr}} | {{tempn|columns|ryn|fomíd|limaŗ|binúð|vepuíh|nai|aşúr}} | ||
Automatically sorts the list alphabetically and produces: | |||
{{columns|ryn|fomíd|limaŗ|binúð|vepuíh|nai|aşúr}} | {{columns|ryn|fomíd|limaŗ|binúð|vepuíh|nai|aşúr}} | ||
Line 18: | Line 19: | ||
; {{para|columns}} | ; {{para|columns}} | ||
: The number of columns (2 by default) | : The number of columns (2 by default) | ||
; {{para|t<var>N</var>}} | |||
: Sets the gloss for a specific term in the list | |||
; {{para|alt<var>N</var>}} | |||
: Sets the alternative link display text for a specific term in the list | |||
; {{para|pos<var>N</var>}} | |||
: Sets the part of speech for a specific term in the list |
Latest revision as of 11:37, 5 September 2023
Uses Lua: |
Shortcut
{{col}} |
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