Template:sw-noun

Definition from Wiktionary, the free dictionary
Jump to: navigation, search

sw-noun (needs class)


The following documentation is located at Template:sw-noun/documentation. [edit]


Usage[edit]

This template creates headword lines for Swahili nouns; it should be functional for every type of noun in Swahili. It takes two unnamed parameters, the first of which is required and the second of which is optional, as well as head=.

First parameter

This is where you specify the class that the noun is in. Noun classes are either designated by the prefix of the plural form (like vy), or by the prefixes of the singular and plural hyphenated together (like m-wa) if they differ.

Second parameter

This serves a few purposes. It can be fed with plural if the noun is only plural, like maji. It can be fed with - if there is no plural, like umoja. Finally, the plural can be given if it is not correctly predicted by the template. This is necessary in irregular cases like mwanamke and when the plural starts with a capital letter, like at Mkenya.

This template contains the necessary meta-data to allow users who are using accelerated editing to create any grammatical forms semi-automatically.

See also[edit]