Template:frm-noun: difference between revisions

Definition from Wiktionary, the free dictionary
Jump to: navigation, search
(Default plural to -s, per talk page)
m (|sc=Latn)
Line 1: Line 1:
{{Latn|{{{sg|{{{head|{{PAGENAME}}}}}}}}|face=head|lang=frm}}&#32;{{#if:{{{1|}}}|{{#switch:{{{1|}}}|m.|m={{m}}|f.|f={{f}}|mf={{m|f}}|{{{1}}}={{#ifeq:{{NAMESPACE}}||[[Category:Middle French nouns lacking gender]]}}}}|{{#ifeq:{{NAMESPACE}}||[[Category:Middle French nouns lacking gender]]}}}}&#32;({{#ifeq:{{{2}}}|-|{{#if:{{{pl|}}}|''usually [[Appendix:Glossary#uncountable|uncountable]], plural'' <span class="form-of plural-form-of lang-frm gender-{{#switch:{{{1|}}}|m.|m=m|f.|f=f|mf=mf}}pl">'''{{l|frm|{{{pl}}}}}'''</span>|''[[Appendix:Glossary#uncountable|uncountable]]''}}|''plural'' <span class="form-of plural-form-of lang-frm gender-{{#switch:{{{1|}}}|m.|m=m|f.|f=f|mf=mf}}pl">'''{{l|frm|{{{pl|{{PAGENAME}}{{{2|s}}}}}}}}'''</span>{{#if:{{{pl2|}}}|&#32;''or'' <span class="form-of plural-form-of lang-frm gender-{{#switch:{{{1|}}}|m.|m=m|f.|f=f|mf=mf}}pl">'''{{l|frm|{{{pl2}}}}}'''</span>}}}}{{#if:{{{f|}}}|, ''feminine singular'' '''{{l|frm|{{{f}}}}}''', ''feminine plural'' '''{{l|frm|{{{fp|{{{f}}}s}}}}}'''}}){{#ifeq:{{NAMESPACE}}||[[Category:Middle French nouns|{{{sort|{{PAGENAME}}}}}]]{{#ifeq:{{{pl}}}|{{PAGENAME}}|[[Category:Middle French plurals|{{{sort|{{PAGENAME}}}}}]]}}}}<noinclude>{{documentation}}</noinclude>
+
{{Latn|{{{sg|{{{head|{{PAGENAME}}}}}}}}|face=head|lang=frm}}&#32;{{#if:{{{1|}}}|{{#switch:{{{1|}}}|m.|m={{m}}|f.|f={{f}}|mf={{m|f}}|{{{1}}}={{#ifeq:{{NAMESPACE}}||[[Category:Middle French nouns lacking gender]]}}}}|{{#ifeq:{{NAMESPACE}}||[[Category:Middle French nouns lacking gender]]}}}}&#32;({{#ifeq:{{{2}}}|-|{{#if:{{{pl|}}}|''usually [[Appendix:Glossary#uncountable|uncountable]], plural'' <span class="form-of plural-form-of lang-frm gender-{{#switch:{{{1|}}}|m.|m=m|f.|f=f|mf=mf}}pl">'''{{l|frm|{{{pl}}}|sc=Latn}}'''</span>|''[[Appendix:Glossary#uncountable|uncountable]]''}}|''plural'' <span class="form-of plural-form-of lang-frm gender-{{#switch:{{{1|}}}|m.|m=m|f.|f=f|mf=mf}}pl">'''{{l|frm|{{{pl|{{PAGENAME}}{{{2|s}}}}}}|sc=Latn}}'''</span>{{#if:{{{pl2|}}}|&#32;''or'' <span class="form-of plural-form-of lang-frm gender-{{#switch:{{{1|}}}|m.|m=m|f.|f=f|mf=mf}}pl">'''{{l|frm|{{{pl2}}}|sc=Latn}}'''</span>}}}}{{#if:{{{f|}}}|, ''feminine singular'' '''{{l|frm|{{{f}}}|sc=Latn}}''', ''feminine plural'' '''{{l|frm|{{{fp|{{{f}}}s}}}|sc=Latn}}'''}}){{#ifeq:{{NAMESPACE}}||[[Category:Middle French nouns|{{{sort|{{PAGENAME}}}}}]]{{#ifeq:{{{pl}}}|{{PAGENAME}}|[[Category:Middle French plurals|{{{sort|{{PAGENAME}}}}}]]}}}}<noinclude>{{documentation}}</noinclude>

Revision as of 22:19, 18 November 2012

Template:Latn (plural frm-nouns)


The following documentation is located at Template:frm-noun/documentation. [edit]
Useful links: subpage listtransclusionsredirects

Usage

This template is used to format the lemma form of Middle French nouns. For plurals, please use {{head}} and {{plural of}}. This template contains the necessary meta-data to allow users who are using accelerated editing to create any grammatical forms semi-automatically. It takes the following parameters:

  • 1: the gender. The template will accept m, f or mf No default; obligatory
  • 2 or pl: the plural. This will override the automatic plural ({{PAGENAME}}s) even if the 2nd parameter is specified.
  • head: the head word in bold, for example to link to individual words. Default: {{PAGENAME}}
  • sort: the sort key for Category:Middle French nouns, for example for words containing diacritics, capital letters or ligature. Default: {{PAGENAME}}

Example

{{frm-noun|f|sort=abbaie}}

gives

abbaïe f (plural abbaïes)


{{frm-noun|m|chevaux|pl2=chevaulx}}

gives

chevaux m (plural chevaux or chevaulx)


{{frm-noun|m|-}}

gives

latin m (uncountable)


{{frm-noun|m|-|pl=jaunes}}

gives

jaune m (usually uncountable, plural jaunes)