Difference between revisions of "Template:newin (Українська)/grammatic form"

m (+predefined gender for 'flag' type)
m (+object)
 
Line 24: Line 24:
 
         | variant = m
 
         | variant = m
 
         | flag = f
 
         | flag = f
 +
        | object = m
 
         | n
 
         | n
 
       }}
 
       }}
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 12:27, 2 March 2020

This template accepts type and gender, and returns the gender as a single letter (m, f, n).

The usage is as follows:

{{newin (Українська)/grammatic form| {{{type|}}} | {{{gender|}}} }}

The rules are as follows:

  • Is gender is passed, the result is always same as passed. (Ukrainian genders ж, ч, с are translated info m, f, n).
  • If gender is not passed, the result is guesses according to the passed type.