Template:fr-noun/documentation

This template is used for the headword line of French nouns. It uses Module:fr-headword as a back-end.

It should be used just under the 'Noun' header for French words. For example, on :

Multiword expressions
Multiword expressions use an intelligent algorithm to form the feminine and the plural. Specifically, if a known preposition is seen, the algorithm forms the feminine or plural only of the preceding word; otherwise, it forms the feminine or plural of the first and last word of the expression. (If multiple words precede a preposition, the algorithm forms the feminine or plural of the first and last such word.) The recognized prepositions are: Note that all prepositions must be preceded by a space to be recognized, and all except and  must be followed by a space.

An example is :

which produces

Note how the word before the preposition  is inflected automatically according to the default rules.

An example without a preposition is :

which produces

Here, the first and last word (i.e. both words, as there are only two) are inflected according to the default rules.

Some multiword terms inflect differently from the above rules. Use  to specify which word or words inflect in a multiword term:
 * Use  if only the first word inflects.
 * Use  if only the last word inflects.
 * Use  if the first and last word inflect.
 * Use  if all words inflect.
 * Use  if the first and second words inflect.
 * Use  if only the second word inflects.

Examples:

For, use :

which produces

For, use :

which produces

An example using such a spec for the feminine is :

which produces

In this case, an alternative which is shorter is to use  for the plural and   for the feminine:

which produces

Parameters

 * head; head2; ...
 * The head word(s), if different from the page name, or to link to individual words. Note that the default behavior with multiword and multipart pronouns is to split the pronoun intelligently and link the individual parts (see below), so this isn't normally needed.


 * 1 (or g); g2; ...
 * The gender(s), which should be one of,  ,   (gender can be either masculine or feminine),   (gender can be either masculine or feminine according to the natural gender of the word; categorizes into Category:French masculine and feminine nouns by sense),  ,  ,  ,.


 * 2; 3; 4; ...
 * The plural forms, if the noun is not already plural (as indicated in the gender). Some shortcuts can be used:
 * : explicitly request the default plural.
 * ,, etc.: specify how to pluralize multiword terms. See  above.
 * : if the plural is the same as the singular.
 * or : if the plural is formed by adding s or x.
 * If no plural forms are given, the first plural is formed according to default rules (see below). The first plural can also have some special values:
 * : if the noun is uncountable. The second and higher plural parameters can still be given, and indicate that the noun is usually uncountable, but can sometimes be pluralized.
 * : if the noun can be either countable or uncountable, depending on meaning. The countable plural(s) should be specified using the second and higher plural parameters; if not given, the default is the same as for countable nouns.
 * : if the plural is not attested.
 * : if you don't know the plural or are not sure if it even has a plural.


 * pqual; pqual2; ...
 * Qualifiers for the plurals; useful if different plurals have different uses (e.g. for different meanings of the word) or different connotations (e.g. some may be rare, some nonstandard, etc.). pqual corresponds to the first plural (specified by 2); pqual2 to the second plural (specified by 3); etc.


 * f; f2; ...
 * Feminine equivalent noun(s), if any. Some shortcuts can be used:
 * : request the default feminine (see below).
 * ,, etc.: specify how to form the feminine of multiword terms. See  above.
 * : if the feminine is the same as the masculine (but in this case, it's better to use a gender of  instead).
 * : if the feminine is formed by adding e (particularly in the default feminine would generate something else).


 * fqual; fqual2; ...
 * Qualifiers for the feminines; useful if different feminines have different uses or connotations.


 * m; m2; ...
 * Masculine equivalent noun(s), if any.


 * mqual; mqual2; ...
 * Qualifiers for the masculines; useful if different masculines have different uses or connotations.


 * dim; dim2; ...
 * Diminutive equivalent(s), if any.


 * dimqual; dimqual2; ...
 * Qualifiers for the diminutives; useful if different diminutives have different uses or connotations.


 * 1
 * Don't link individual words in the headword of a multiword term. Useful for foreign terms like and  where the expression functions as a whole in French but the individual parts are not French words.


 * 1
 * Indicate that automatic splitting and linking of words should split on hyphens in multiword expressions with spaces in them (splitting on hyphens is automatic if there are no spaces in the term). See below and Module:fr-headword.

Suffixes
If the term begins with a hyphen, it is assumed to be a suffix rather than a base form, and is categorized into Category:French suffixes and Category:French noun-forming suffixes rather than Category:French nouns.

Autosplitting
The template uses an intelligent algorithm to split and link words in multiword expressions. Individual words of a multiword expression like will be linked, as will individual words in a hyphenated expression like  and parts of words with apostrophes in them, like  (linked as  ). See Module:fr-headword for more details.

Rules for forming the default plural
fa:الگو:اسم-فر