Template:el-noun: difference between revisions

From Wiktionary, the free dictionary
Jump to navigation Jump to search
Content deleted Content added
simplify
Mglovesfun (talk | contribs)
m fix bug
Line 18: Line 18:
-->{{#if:{{{3|}}}|, ''plural''&nbsp;{{Grek|[[{{{3}}}]]|face=bold|lang=el}}}}<!--
-->{{#if:{{{3|}}}|, ''plural''&nbsp;{{Grek|[[{{{3}}}]]|face=bold|lang=el}}}}<!--
-->}}<!--
-->}}<!--
-->{{#if:{{NAMESPACE}}||[[Category:Greek nouns|{{{sort|}}}]]}}</onlyinclude>
-->{{#if:{{NAMESPACE}}||[[Category:Greek nouns|{{{sort|{{PAGENAME}}}}}]]}}</onlyinclude>


{{documentation}}
{{documentation}}

Revision as of 23:25, 22 February 2011

Template:Grek 



This template displays the headword line for the lemma forms of Greek nouns.

For declined forms use: {{el-noun-form}} and for proper nouns: {{el-proper-noun}} & {{el-proper-noun-form}} &

Parameters

Positional (unnamed) parameters

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

  • m, f or n, and for plural nouns: m-p, f-p or n-p.
  • in the special case of multi-gender nouns like ανηψιών use - and label each gloss with {{lb}}.

(2) The second parameter is used to display the nominative plural form, or alternatively use one of the following:

  • ind for indeclinable nouns, the old code inv is deprecated.
  • unc or - for uncountable nouns.
  • ~ nouns which are both countable and uncountable.
  • + nouns which are usually uncountable.

(3) for a plural for in the last two cases above.

Named parameters
  • head=   —   overrides the displayed headword
  • sort=   —   overrides the default generated sort key
  • 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(s)

Examples

Template syntax Template output
{{el-noun|m|κώδικες}}   🢂   Template:Grek [Term?] (κώδικες)
{{el-noun|m|ιατροί|g2=f}} 🢂 Template:Grek [Term?] (ιατροί)
{{el-noun|f|δασκάλες|m=δάσκαλος}} 🢂 Template:Grek Template:f (δασκάλες)
{{el-noun|-|σαρκοφάγοι}} 🢂 Template:Grek  (σαρκοφάγοι)
{{el-noun|m|ακέραιοι αριθμοί|head=[[ακέραιος]] [[αριθμός]]}} 🢂 Template:Grek [Term?] (ακέραιοι αριθμοί)
{{el-noun|n|ind}} 🢂 Template:Grek Template:n (ind)
{{el-noun|f|unc}} 🢂 Template:Grek Template:f (unc)
{{el-noun|n|~|υδρογόνα}} 🢂 Template:Grek Template:n (~), plural Template:Grek
{{el-noun|n|+|βιολογίες}} 🢂 Template:Grek Template:n (+), plural Template:Grek