Jump to content

Template:oc-noun/documentation

From Wiktionary, the free dictionary
Documentation for Template:oc-noun. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

This template is designed for the lemma of all Occitan nouns.

Usage

[edit]

Only use this template for the noun's lemma entry (usually the singular). For non-lemma forms (plurals), use {{head|oc|plural}}.

This template should be placed in Occitan noun sections, immediately following the ===Noun=== section header. It provides the inflection line for the entry. The template also automatically categorizes the entry in Category:Occitan nouns.

As with other Wiktionary inflection templates, please do not use subst:.

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

Parameters

[edit]

This template requires one unnamed parameter. All nouns should have this unnamed parameter. Regular nouns may have only the one unnamed parameter, or they may include additional unnamed parameters (in sequence) or any of the named parameters (in any order) in addition to the unnamed parameter. Nouns with an irregular plural (not formed by adding -s), nouns with no plural form, nouns with more than one plural form, and compound nouns will require one or more of these additional parameters.

If in doubt abut the gender only, omit the first unnamed parameter. When parameter {{{1}}} is omitted, the entry is added to Category:Occitan nouns lacking gender. Someone else will then add the necessary parameters.

If in doubt about the plural, use {{head|oc|noun}} to generate the inflection line. Add {{attention|oc}} to identify the entry as needing attention from an Occitan speaker.

Unnamed parameters

[edit]

For all nouns, the following unnamed parameters are possible. Only parameter {{{1}}} is always required. The other parameters may be omitted when they do not apply :

{{{1}}} - gender of the noun; accepted values are m, f, c, and mf [1]
{{{2}}} - plural form of the noun [2]
{{{3}}} - alternative gender form of the noun [3]

Simple example : galina (hen) :

{{oc-noun|f}}
galina f (plural galinas)
  1. ^ The values c and mf are equivalent, and are used for nouns that are grammatically both masculine and feminine.
  2. ^ The template assumes the plural is formed by adding -s when {{{2}}} is omitted. For plurale tantum nouns, use "onlyplural" as the value. For uncountable nouns, use a dash ( - ). When there is a plural form, the named parameter {{{pl]}} may be used in place of {{{2}}}, which then may be omitted. (see examples below)
  3. ^ The parameters {{{3}}} and {{{4}}} work for entries of either gender, and are keyed according to the gender given in {{{1}}}. There are also named parameter options for entering these values. (see examples below)

Named parameters

[edit]

Most nouns do not require these parameters. Compound or irregular nouns, and nouns with more than one plural form, may require one or more named parameters, as follows:

{{{head}}}, {{{current}}}, {{{sg}}}} - replaces the initial headword form; may be used to link components of a compound noun
{{{pl}}} - plural form of the noun; replaces {{{2}}} when included
{{{pl2}}} - secondary plural form, when there is more than one plural form

For nouns that have a form in another gender, the following named parameters may be used for the singular form in the alternative gender. Each of these is considered equivalent to the others, and all function the in the same way as same as {{{3}}}. The gender is actually coded by {{{1}}} and not by the choice of parameter name:

{{{f}}} - to specify the feminine singular form (when the entry is masculine)
{{{m}}} - to specify the masculine singular form (when the entry is feminine)
{{{othergender}}} - to specify the alternative gender singular form (for an entry of either gender)

Adding f= to a masculine automatically also displays the feminine plural as well as the feminine singular, by adding an 's' to the feminine singular form. This can however by overridden:

{{{fpl}}} - to specify the feminine plural form (when the entry is masculine)
{{{mpl}}} - to specify the masculine plural form (when the entry is feminine)

Examples

[edit]
  1. Noun with regular plural - galina (hen) :
    {{oc-noun|f}}
    galina f (plural galinas)
    Simple situation with only the gender included. The plural is formed regularly.
  2. Noun with irregular plural - ors (bear) :
    {{oc-noun|m|orses}}
    ors m (plural orses)
    The plural is not formed by adding -s, and so must be specified. The plural may also be given like this:
    {{oc-noun|m|pl=orses}}
  3. Noun with no singular - bragas (trousers) :
    {{oc-noun|f|onlyplural}}
    bragas f (plurale tantum)
    The value onlyplural for {{{2}}} indicates the noun is inherently plural, with no singular form.
  4. Uncountable noun - acièr (steel) :
    {{oc-noun|m|-}}
    acièr m (uncountable)
    The value "-" for {{{2}}} indicates the noun is uncountable.
  5. Masculine noun with feminine form - catalan ((male) Catalonian) :
    {{oc-noun|m|f=catalana|fpl=catalanas}}
    catalan m (plural catalans, feminine catalana; feminine plural catalanas)
    The template may also be coded using unnamed parameters, but when this is done, parameters in between may not be skipped. That is, the plural form of the entry must be included explicitly:
    {{oc-noun|m|catalans|catalana|catalanas}}
  6. Feminine noun with masculine form - catalana ((female) Catalonian) :
    {{oc-noun|f|m=catalan|mpl=catalans}}
    catalana f (plural catalanas, masculine catalan; masculine plural catalans)
    The template may also be coded using unnamed parameters, but when this is done, parameters in between may not be skipped. That is, the plural form of the entry must be included explicitly:
    {{oc-noun|f|catalanas|catalan|catalans}}