Template:lt-select-by-number/documentation

From Wiktionary, the free dictionary
Jump to navigation Jump to search
Documentation for Template:lt-select-by-number. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

Purpose

[edit]

Selects a template to display a Lithuanian noun's declension table. The selected template's parameters must be the same as those of {{lt-decl-noun}}. The selection is based on whether to display both singular and plural, just the singular (as for singularia tantum), or just the plural (as for pluralia tantum).

Parameters

[edit]
|1= (optional)
Which number to display: 's' for singular, 'p' for plural or 'sp' for singular and plural. Defaults to 'sp'. An unrecognised or blank value is treated the same as 'sp'.

Effect

[edit]

To display the singular only, {{lt-noun-so}} is selected, which in turn calls {{lt-decl-noun-unc}}.

To display the plural only, {{lt-noun-po}} is selected, which in turn passes the plural forms on to {{lt-decl-noun-unc}} along with an extra parameter to indicate that these forms are plural, not singular.

To display both singular and plural, {{lt-decl-noun}} is selected.