Template:el-noun: difference between revisions

Definition from Wiktionary, the free dictionary
Jump to: navigation, search
(-plural transliteration)
(remove brackets)
Line 1: Line 1:
<onlyinclude>{{Grek|{{{head|{{PAGENAME}}}}}|face=head|lang=el}} {{ #switch: {{{1}}} | m = {{m}} | f = {{f}} | n = {{n}} | c = {{c}} | mf = {{m|f}} | mn = {{m|n}} | fn = {{f|n}} | mp = {{m|p}} | fp = {{f|p}} | np = {{n|p}} }} {{ #switch: {{{3}}} | inv = {{inv}} {{#if:{{{2|}}}|({{{2}}})}} | unc = {{uncountable|lang=el}} {{#if:{{{2|}}}|({{{2}}})}} | #default = {{#if:{{{2|}}}|({{{2}}})}} {{#if:{{{3|}}}| &nbsp; (''plural''&nbsp;{{Grek|[[{{{3}}}]]|face=bold|lang=el}})}} }} {{#if:{{NAMESPACE}}||{{#if:{{{sort|}}}|[[Category:Greek nouns|{{{sort}}}]]|[[Category:Greek nouns]]}}}}</onlyinclude>
+
<onlyinclude>{{Grek|{{{head|{{PAGENAME}}}}}|face=head|lang=el}} {{ #switch: {{{1}}} | m = {{m}} | f = {{f}} | n = {{n}} | c = {{c}} | mf = {{m|f}} | mn = {{m|n}} | fn = {{f|n}} | mp = {{m|p}} | fp = {{f|p}} | np = {{n|p}} }} {{ #switch: {{{3}}} | inv = {{inv}} {{#if:{{{2|}}}|({{{2}}})}} | unc = {{uncountable|lang=el}} {{#if:{{{2|}}}|({{{2}}})}} | #default = {{#if:{{{2|}}}|({{{2}}})}} {{#if:{{{3|}}}| &nbsp; &nbsp; ''plural''&nbsp;{{Grek|[[{{{3}}}]]|face=bold|lang=el}}}} }} {{#if:{{NAMESPACE}}||{{#if:{{{sort|}}}|[[Category:Greek nouns|{{{sort}}}]]|[[Category:Greek nouns]]}}}}</onlyinclude>
   
 
{{documentation}}
 
{{documentation}}

Revision as of 19:16, 5 September 2010

Template:Grek



This template is used to display the headword line for the lemma forms of Greek nouns.

Other templates:
{{el-noun-form}} for the inflected forms of nouns
{{el-noun-proper}} for Greek proper nouns
{{el-noun-proper-form}} for the inflected forms of proper nouns

Parameters

Unnamed parameters

(1) The first is used to identify the noun's gender, this can be:

  • m, f or n
  • m-f for dual gender nouns (note that other combinations fail - but see g2 etc under named parameters below)
  • m-p, f-p or n-p for plural nouns
  • - (dash/hyphen) for multi-gender nouns when the genders have difference senses; in these cases {{lb}} should be used to identify these senses. The noun form ανηψιών (anipsión) illustrates this.

(2) The second is used as follows:

  • To display the nominative plural form
  • With unc for uncountable nouns
  • And ind for indeclinable nouns - although it still works, please avoid the the old code inv
Named parameters
  • head=
Overrides the displayed headword. See {{head}}.
  • sort=
Overrides the default generated sort key. See {{head}}.
  • g2=, g3=
For additional genders
  • p2=, p3= ...
For additional plural forms
  • m=, f=, n= (m2=, m3=, f2=, f3=, n2=, n3=)
For forms of a different gender (or genders)

Examples

Template syntax Template output
{{el-noun|m|φύλακες}}   x   φύλακας m (plural φύλακες)
{{el-noun|m-f|ιατροί}}   x   ιατρός m f (plural ιατροί)
{{el-noun|m|ιατροί|g2=f}}   x   ιατρός m, f (plural ιατροί)
{{el-noun|m|δάσκαλοι|f=δασκάλα}}   x   δάσκαλος m (plural δάσκαλοι, feminine δασκάλα)
{{el-noun|f|δασκάλες|m=δάσκαλος}}   x   δασκάλα f (plural δασκάλες, masculine δάσκαλος)
{{el-noun|-|σαρκοφάγοι}}   x   σαρκοφάγος (plural σαρκοφάγοι)
{{el-noun|m|ακέραιοι αριθμοί|head=[[ακέραιος]] [[αριθμός]]}}   x   ακέραιος αριθμός m (plural ακέραιοι αριθμοί)
{{el-noun|n|ind}}   x   αζούρ n (indeclinable)
{{el-noun|f|unc}}   x   αβαρεσιά f (uncountable)
{{el-noun|m}}   x   φύλακας m