| |
Line 1: | Line 1: |
− | <span class='use-with-mention'>{{#if:{{{nocap|}}}|d|{{#if:{{{cap|}}}|D|d}}}}ative {{#if:{{{p|}}}|{{#ifeq:{{{p|}}}|dual|dual|plural}}|singular}} form of <span class='mention'>{{#if:{{{2|}}}|[[{{#ifeq:{{NAMESPACE}}|Appendix|Appendix:{{BASEPAGENAME}}/}}{{{1}}}#{{#invoke:language utilities|lookup_language|{{{lang|en}}}|names}}|{{{{{sc|Xyzy}}}|lang={{{lang|}}}|{{{2}}}}}]]|{{{{{sc|{{#invoke:language utilities|lookup_language|{{{lang|en}}}|scripts}}|lang={{{lang|}}}|{{#ifeq:[[:Special:Whatlinkshere/{{{1}}}]]|{{raw:Special:Whatlinkshere/{{{1}}}}}|[[{{#ifeq:{{NAMESPACE}}|Appendix|Appendix:{{BASEPAGENAME}}/}}{{{1}}}#{{#invoke:language utilities|lookup_language|{{{lang|en}}}|names}}|{{{1}}}]]|{{{1}}}}}}}}}</span>{{#if:{{{nocap|}}}|{{#if:{{{dot|}}}|.|}}|{{#if:{{{cap|}}}|{{#if:{{{nodot|}}}||.}}|{{#if:{{{dot|}}}|.|}}}}}}</span><!-- | + | <span class='use-with-mention'>{{#if:{{{nocap|}}}|d|{{#if:{{{cap|}}}|D|d}}}}ative {{#if:{{{p|}}}|{{#ifeq:{{{p|}}}|dual|dual|plural}}|singular}} form of <span class='mention'>{{#if:{{{2|}}}|[[{{#ifeq:{{NAMESPACE}}|Appendix|Appendix:{{BASEPAGENAME}}/}}{{{1}}}#{{#invoke:language utilities|lookup_language|{{{lang|en}}}|names}}|{{{{{sc|Xyzy}}}|lang={{{lang|}}}|{{{2}}}}}]]|{{{{{sc|{{#invoke:language utilities|lookup_language|{{{lang|en}}}|scripts}}}}}|lang={{{lang|}}}|{{#ifeq:[[:Special:Whatlinkshere/{{{1}}}]]|{{raw:Special:Whatlinkshere/{{{1}}}}}|[[{{#ifeq:{{NAMESPACE}}|Appendix|Appendix:{{BASEPAGENAME}}/}}{{{1}}}#{{#invoke:language utilities|lookup_language|{{{lang|en}}}|names}}|{{{1}}}]]|{{{1}}}}}}}}}</span>{{#if:{{{nocap|}}}|{{#if:{{{dot|}}}|.|}}|{{#if:{{{cap|}}}|{{#if:{{{nodot|}}}||.}}|{{#if:{{{dot|}}}|.|}}}}}}</span><!-- |
| | | |
| -->{{#if:{{{lang|}}}|{{#ifeq:{{NAMESPACE}}||{{#if:{{{nocat|}}}||[[Category:{{#invoke:language utilities|lookup_language|{{{lang}}}|names}} {{{pos|noun}}} forms]]}}}}|}}<noinclude>{{documentation}}</noinclude> | | -->{{#if:{{{lang|}}}|{{#ifeq:{{NAMESPACE}}||{{#if:{{{nocat|}}}||[[Category:{{#invoke:language utilities|lookup_language|{{{lang}}}|names}} {{{pos|noun}}} forms]]}}}}|}}<noinclude>{{documentation}}</noinclude> |
- The following documentation is located at Template:dative of/documentation. [edit]
Usage
This template is to be used only for dative forms of nouns, not for genitive of adjectives or pronouns.
{{dative of|word}}
produces
- dative singular form of word.
{{dative of|word|wörd}}
produces
- dative singular form of wörd
{{dative of|p=1|word}}
produces
- dative plural form of word
{{dative of|p=dual|word}}
produces
- dative dual form of word
Both nodot=1
and nocap=1
work as in {{plural of}}
.
In line with <code>{{plural of}}</code>, the category [[Catgeory:language_name noun forms]]
is added if a lang
parameter is present. (This condition is necessary to ensure backward compatibility.)