Template:columns/documentation: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{documentation subpage}} {{uses lua|Module:columns}} ==Usage== {{tempn|columns|ryn|fomíd|limaŗ|binúð|vepuíh|nai|aşúr}} Produces: {{columns|ryn|fomíd|limaŗ|binúð|vepuíh|nai|aşúr}}") |
No edit summary |
||
(3 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}} | ||
===Parameters=== | |||
; {{para|1}} | |||
: Language code | |||
; {{para|2}}, {{para|3}}, etc. | |||
: Terms in the language | |||
; {{para|columns}} | |||
: 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