Template:el-adj: difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
Ultimateria (talk | contribs) mNo edit summary |
Is there a reason we're not using the built in headword? |
||
Line 1: | Line 1: | ||
<onlyinclude><!-- |
<onlyinclude><!-- |
||
-->{{ |
-->{{#ifeq:{{{1}}}|inv|<!-- |
||
-->{{head|el|adjective<!-- |
|||
-->|head={{{head|}}}<!-- |
|||
if invariant then print "m f & n (inv)" |
|||
-->{{ |
-->|sort={{{sort|}}}<!-- |
||
-->|g=m<!-- |
|||
-->| {{#invoke:gender and number|show_list|m|f|n}} (''invariable'') <!-- |
|||
--> |
-->|g2=f<!-- |
||
-->|g3=n<!-- |
|||
-->|cat2=invariable adjectives<!-- |
|||
else print other gender forms |
|||
--> |
-->}}<!-- |
||
-->|{{head|el|adjective<!-- |
|||
-->|head={{{head|}}}<!-- |
|||
-->|sort={{{sort|}}}<!-- |
|||
-->|g=m<!-- |
|||
-->{{#if:{{{f2|}}}| ''or'' <b lang="el" class="Grek">[[{{{f2}}}#Greek|{{{f2}}}]]</b><!-- |
|||
-->|{{#if:{{{f|}}}{{{f2|}}}|feminine}}<!-- |
|||
-->|{{{f|}}}<!-- |
|||
-->|{{#if:{{{f2|}}}|or}}<!-- |
|||
-->}}<!-- |
-->|{{{f2|}}}<!-- |
||
-->|{{#if:{{{n|}}}|neuter}}<!-- |
|||
⚫ | |||
-->|{{{n|}}}<!-- |
|||
-->}}<!-- |
|||
{{documentation}} |
|||
⚫ |
Revision as of 04:39, 16 June 2016
el-adj m
- The following documentation is located at Template:el-adj/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
This template is used to display the headword line for the lemma forms of Greek adjectives.
- Other templates:
{{el-adj-form}}
for the inflected forms of adjectives
Usage
This template has 5 optional named arguments or parameters:
|1=ind
One unnamed variable is used for indeclinable adjectives and no other purpose; further arguments are ignored. The old code "inv" deprecated.|f=
for the feminine, nominative singular form.|f2=
for a second feminine form, should one exist.|f3=
for a third feminine form, should one exist.|n=
for the neuter, nominative singular form.|sort=
makes the entry appear in the appropriate place in Category:Greek adjectives (for when the default sort order is inadequate).|head=
probably not necessary. Used to control the displayed headword (for when it is desirable to linkify component words).
Transliteration is now carried out automatically, the tr argument will be ignored.
Examples
In each case the sample text is followed by its output:
{{el-adj|f=καλή|n=καλό}}
{{el-adj|f=κακή|f2=κακιά|n=κακό}}
{{el-adj|ind}}
- μπλε • (ble) m