Template:da-noun: difference between revisions

From Wiktionary, the free dictionary
Jump to navigation Jump to search
Content deleted Content added
fix missing plural category
Line 27: Line 27:
-->|{{#if:{{{1|}}}|{{#ifeq:{{{2}}}|-||plural indefinite}}}}<!--
-->|{{#if:{{{1|}}}|{{#ifeq:{{{2}}}|-||plural indefinite}}}}<!--
-->|<!--
-->|<!--
-->{{#switch:{{{2}}}<!--
-->{{#switch:{{{2}}}<!-- if you change this make sure to change the #ifexist at the bottom of the page
-->|e|r|er={{{stem|{{{base|{{PAGENAME}}}}}}}}{{#ifeq:{{{dc|}}}|1|{{#invoke:string|pos|{{PAGENAME}}|-1}}}}{{{2}}}<!--
-->|e|r|er={{{stem|{{{base|{{PAGENAME}}}}}}}}{{#ifeq:{{{dc|}}}|1|{{#invoke:string|pos|{{PAGENAME}}|-1}}}}{{{2}}}<!--
-->|s={{{base|{{PAGENAME}}}}}{{{2}}}<!--
-->|s={{{base|{{PAGENAME}}}}}{{{2}}}<!--
Line 47: Line 47:
-->}}<!--
-->}}<!--


--><includeonly><!--
--><includeonly>{{#if:{{NAMESPACE}}||{{#ifexist:{{{plural|{{{2|{{PAGENAME}}}}}}}}||[[Category:Missing Danish plurals]]}}}}</includeonly><noinclude>{{documentation}}</noinclude>
-->{{#if:{{NAMESPACE}}<!--
-->|<!--
-->|<!--
-->{{#ifexist:<!--
-->{{#switch:{{{2|}}}<!--
-->|e|r|er={{{stem|{{{base|{{PAGENAME}}}}}}}}{{#ifeq:{{{dc|}}}|1|{{#invoke:string|pos|{{PAGENAME}}|-1}}}}{{{2}}}<!--
-->|s={{{base|{{PAGENAME}}}}}{{{2}}}<!--
-->|#default={{#if:{{{2|}}}|{{{2}}}|{{{base|{{PAGENAME}}}}}}}<!--
-->}}<!--
-->|<!--
-->|[[Category:Missing Danish plurals]]<!--
-->}}<!--
-->}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 11:14, 21 December 2017

Lua error: Parameter "f1accel" is not used by this template.


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

==Danish==

===Noun===
{{da-noun|en|er}}

# [[car]], [[automobile]]

Usage

  1. (optional) the suffix for the singular definite: en, n, et or t; otherwise it is taken as the complete word.
  2. (optional) the suffix for the plural indefinite: er, r, e, s; otherwise it is taken as the complete word. If a single hyphen ("-"), the word is taken to be uncountable. If missing, plural indefinite is the same as singular indefinite.
  • com: the word when used as the first part of a compound: e, s, - are interpreted as suffixes or no change; otherwise the whole word should be given, including a hyphen at the end.
  • g: the gender, c or n; if first unnamed argument is one of "en|n|et|t" it is not needed, but else it should be given.
  • base: is the singular indefinite, default PAGENAME, usually not needed
  • dc=1: for when consonant doubling is in effect.
  • stem: for when the inflected forms are not simply the lemma with a suffix, e.g. gymnasium (gymnasi- +et, +er; equivalently, gymnasie- +t, +r).
  • sg-def-2: if there are two correct variations of the singular definite, must be the complete word.
  • pl-indef-2: if there are two correct variations of the plural indefinite, must be the complete word.
  • pl-indef-3: if there are three correct variations of the plural indefinite, must be the complete word.

Examples

stol:

{{da-noun|en|e|e}}
Lua error: Parameter "f1accel" is not used by this template.

nul:

{{da-noun|et|er|-|dc=1}}
Lua error: Parameter "f1accel" is not used by this template.

chip:

{{da-noun|en|chips|pl-indef-2=chip|dc=1}}
Lua error: Parameter "f1accel" is not used by this template.

mus:

{{da-noun|en||e}}
Lua error: Parameter "f1accel" is not used by this template.

banke:

{{da-noun|r|ne}}
Lua error: Parameter "f1accel" is not used by this template.

arbejde:

{{da-noun|t|-|arbejds-}}
Lua error: Parameter "f1accel" is not used by this template.

See also