Template:frm-noun: difference between revisions
Mglovesfun (talk | contribs) Default plural to -s, per talk page |
Mglovesfun (talk | contribs) m |sc=Latn |
||
Line 1: | Line 1: | ||
{{Latn|{{{sg|{{{head|{{PAGENAME}}}}}}}}|face=head|lang=frm}} {{#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]]}}}} ({{#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|}}}| ''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}} {{#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]]}}}} ({{#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|}}}| ''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 list • links • redirects • transclusions • errors (parser/module) • sandbox
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
ormf
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
Template:Latn Template:f (plural abbaïes)
{{frm-noun|m|chevaux|pl2=chevaulx}}
gives
Template:Latn Lua error in Module:links/templates at line 56: Parameter 1 is required. (plural frm-nounchevaux or chevaulx)
{{frm-noun|m|-}}
gives
Template:Latn Lua error in Module:links/templates at line 56: Parameter 1 is required. (uncountable)
{{frm-noun|m|-|pl=jaunes}}
gives
Template:Latn Lua error in Module:links/templates at line 56: Parameter 1 is required. (usually uncountable, plural jaunes)